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.0a0.tar.gz
(28.2 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.0a0.tar.gz.
File metadata
- Download URL: that_depends-4.0.0a0.tar.gz
- Upload date:
- Size: 28.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","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 |
f13d51b729c8fc1acdbc95eb2cd209f5693ccfd5b0facc849b3e832ba78208d8
|
|
| MD5 |
9f6006f93aaab4c60a9635aad5c9ee09
|
|
| BLAKE2b-256 |
77d2c01d12970c6d6e78ea3207f73e037072ff9c0047811a60260e4de8497dc4
|
File details
Details for the file that_depends-4.0.0a0-py3-none-any.whl.
File metadata
- Download URL: that_depends-4.0.0a0-py3-none-any.whl
- Upload date:
- Size: 40.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","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 |
ef7fe030c1272be29d99bb02c013112567ae8d90d2f02ebc0376a116c6d5a864
|
|
| MD5 |
38c413d7f21e751a2e23d53e55940c79
|
|
| BLAKE2b-256 |
5ee982c776b28ad87cbe25130ca1751694918b0b2792a6126ca74b7d2d1f8566
|