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.9.2.tar.gz
(25.3 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-3.9.2.tar.gz.
File metadata
- Download URL: that_depends-3.9.2.tar.gz
- Upload date:
- Size: 25.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.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 |
44c55d27c0597b78a077de99ae36a020582585d9122635a44805a3e66416dc47
|
|
| MD5 |
739993c44721aec585bc1688dc66ef83
|
|
| BLAKE2b-256 |
3efd3c51e080513f66ef3ac65e02f6373404e61b331bc5ddfe0f718c6bace41d
|
File details
Details for the file that_depends-3.9.2-py3-none-any.whl.
File metadata
- Download URL: that_depends-3.9.2-py3-none-any.whl
- Upload date:
- Size: 37.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.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 |
0426d5a6f848cf93350050ba29c14a948c29342f0e811a6e633f43360458389e
|
|
| MD5 |
4b765f8fc1c465ffcf45b276af0c1482
|
|
| BLAKE2b-256 |
17f04fcb14f6c93ee1a327f2e27909ee1551f6cc3c8263513f1962471671d523
|