Simple Dependency Injection framework
Project description
"That Depends"
Dependency injection framework for Python.
It is production-ready and gives you the following:
- Simple async-first DI framework with IOC-container.
- Python 3.10+ support.
- Full coverage by types annotations (mypy in strict mode).
- Inbuilt FastAPI, FastStream and LiteStar compatibility.
- Dependency context management with scopes.
- Overriding dependencies for tests.
- Injecting dependencies in functions and coroutines without wiring.
- Package with zero dependencies.
Installation
pip install that-depends
📚 Documentation
📦 PyPi
📝 License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
that_depends-3.4.1.tar.gz
(71.3 kB
view details)
Built Distribution
File details
Details for the file that_depends-3.4.1.tar.gz
.
File metadata
- Download URL: that_depends-3.4.1.tar.gz
- Upload date:
- Size: 71.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
e763bbc95cad5d0d7bc204181e46caa903244abd08d8cdd1179dd71742eeedcb
|
|
MD5 |
1439e96bcd7b0a1815c5002a0927e2ce
|
|
BLAKE2b-256 |
2d96d1faaa9dd65a5bcc46af2947322eabd1e653984dca0bba78dacfb60150bd
|
File details
Details for the file that_depends-3.4.1-py3-none-any.whl
.
File metadata
- Download URL: that_depends-3.4.1-py3-none-any.whl
- Upload date:
- Size: 32.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
834544897316fd1132759db606ec5b79318114045a79ee6c3922cdc183780d06
|
|
MD5 |
63e436df38ca0905f32fe8a0bcf6529d
|
|
BLAKE2b-256 |
7658103c59aa3ecfe28c8d3bb6c9c4f345ec885f11695aca333d363b8adf2404
|