Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
awesome-dependency-injection-in-python
A curated list of awesome things related to dependency inversion / dependency injection in Python. (Contributions welcomed).
https://github.com/sfermigier/awesome-dependency-injection-in-python
Last synced: 5 days ago
JSON representation
-
Articles / blog posts
- Tests and comparison of Python dependency injection libraries - Tests and comparison of Python dependency injection libraries. [π, Unknown license].
- DI patterns
- DI anti-patterns
- Enforcing Single Responsibility Principle in Python
- Pythonic Dependency Injection: A Practical Guide
- Elegant Flask API Development Part 1 - Injector).
- Typed Functional Dependency Injection in Python
- DI patterns
- DI anti-patterns
-
Books
- Pythonic Application Architecture Patterns for Managing Complexity - A Book about Pythonic Application Architecture Patterns for Managing Complexity. Cosmos is the Opposite of Chaos you see. O'R. wouldn't actually let us call it "Cosmic Python" tho. [π, Other license].
-
Software
-
DI Frameworks / Containers
- python-dependency-injector - Dependency injection framework for Python. [π, BSD 3-Clause "New" or "Revised" License].
- returns - Make your functions return something meaningful, typed, and safe!. [π, BSD 2-Clause "Simplified" License].
- Injector - Python dependency injection framework, inspired by Guice. [π, BSD 3-Clause "New" or "Revised" License].
- Inject - Python dependency injection. [π, Apache License 2.0].
- Kink - Dependency injection container made for Python. [π, MIT License].
- Dependencies - Constructor injection designed with OOP in mind. [π, BSD 2-Clause "Simplified" License].
- Dishka - Cute DI framework with agreeable API and everything you need. [π, Apache License 2.0].
- Punq - An IoC container for Python 3.6+. [π, MIT License].
- svcs - A Flexible Service Locator for Python. [π, MIT License].
- That Depends - simple DI-framework, inspired by python-dependency-injector, but without wiring [π, MIT License].
- injectable - Python Dependency Injection for Humansβ’. [π, MIT License].
- Wireup - Concise, Powerful, and Type-Safe Python Dependency Injection Library. [π, MIT License].
- Opyoid - Dependency injection library for Python. [π, MIT License].
- Fresh Bakery - Bake dependency injections asynchronously and stupidly simple. [π, MIT License].
- andi - Library for annotation-based dependency injection. [π, BSD 3-Clause "New" or "Revised" License].
- Picodi - A DI library inspired by FastAPI. It integrates well with FastAPI but can also be used independently. [π, MIT License].
- Clean IoC - A simple unintrusive dependency injection library for python with strong support for generics [π, MIT License].
- injection - replacement for [python-dependency-injector](https://github.com/ets-labs/python-dependency-injector) that works with Python 3.8-3.12 and works with FastAPI, DRF, Flask and Litestar [π, MIT License].
- FastDepends - FastAPI Dependency Injection system extracted from FastAPI and cleared of all HTTP logic. [π, MIT License].
- Lagom - wiring dependency injection with support for async and threading. [π, MIT License].
-
DI components of Web frameworks
-
Archived or unmaintained DI frameworks
- Antidote - Dependency injection for Python. [π, MIT License].
- Serum - Dependency injection framework for Python 3.6. [π, MIT License].
- Aiodine - π§ͺ Async-first Python dependency injection library. [π, MIT License].
- Wiring - Architectural foundation for Python applications. [π, Apache License 2.0].
-
Integration with web frameworks
- Flask-Injector - Adds Injector support to Flask. [π, BSD 3-Clause "New" or "Revised" License].
-
-
Talks / slides
-
Videos
Programming Languages
Sub Categories
Keywords
dependency-injection
17
python
17
di
5
ioc
4
ioc-container
4
dependency-injector
4
fastapi
3
dependency-injection-container
3
dependency-injection-framework
3
flask
3
python3
3
injection
3
inversion-of-control
2
di-container
2
injector
2
singleton
2
design-patterns
2
asyncio
2
aiohttp
2
async
2
library
2
dependency
2
fp
1
dry-python
1
threadlocal
1
zero-dependencies
1
python-3
1
python-2
1
types
1
configuration
1
flask-restful
1
flask-application
1
convenience
1
factory
1
pycharm
1
solid
1
faststream
1
propan
1
autowired
1
mocks
1
starlette
1
service-locator
1
pyramid
1
autowiring
1
circular-dependencies
1
di-framework
1
for-humans
1
lazy-evaluation
1
micro-framework
1
django
1