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-4.0.0a1.tar.gz
(30.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file that_depends-4.0.0a1.tar.gz.
File metadata
- Download URL: that_depends-4.0.0a1.tar.gz
- Upload date:
- Size: 30.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.10 {"installer":{"name":"uv","version":"0.11.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4fb251d86438e17a6e23c6dfa62d5e17fc87e3b9595a21c566c9b8d1725c90d
|
|
| MD5 |
b5ceb096395951dfe6d3907e5607175f
|
|
| BLAKE2b-256 |
ff11ed9d798d30a1b812b04830f09fadec749e50ff85c5298d59e1a8636550af
|
File details
Details for the file that_depends-4.0.0a1-py3-none-any.whl.
File metadata
- Download URL: that_depends-4.0.0a1-py3-none-any.whl
- Upload date:
- Size: 43.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.10 {"installer":{"name":"uv","version":"0.11.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf8848d1005f518c1c3af891475989c9173528555cf0c817234006f450e8d333
|
|
| MD5 |
c97991b52038c0176846e530ac278f32
|
|
| BLAKE2b-256 |
c9b1fd6764cbf2beea16a2ecc6df4684feaec9cec3d39dd8b1e11252a7724da4
|