Dependency Injection framework with IOC-container and scopes
Project description
"Modern-DI"
| Project | Badges |
|---|---|
| common | |
| modern-di | |
| modern-di-fastapi | |
| modern-di-faststream | |
| modern-di-litestar |
modern-di is a python dependency injection framework which supports the following:
- Automatic dependencies graph based on type annotations
- Scopes and context management
- Python 3.10+ support
- Fully typed and tested
- Integrations with
FastAPI,FastStreamandLiteStar
Usage examples:
- with LiteStar - litestar-sqlalchemy-template
- with FastAPI - fastapi-sqlalchemy-template
📚 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
modern_di-2.8.1.tar.gz
(11.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
modern_di-2.8.1-py3-none-any.whl
(13.3 kB
view details)
File details
Details for the file modern_di-2.8.1.tar.gz.
File metadata
- Download URL: modern_di-2.8.1.tar.gz
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.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 |
f3e0e2c9114ebae3f8b67fc011c906e99bd4558e4b042f7933a69cf88201d466
|
|
| MD5 |
7fa2ea8be9d9f1d1bb50c1790f6065c2
|
|
| BLAKE2b-256 |
fba07a3a284ba570dd3876c301343a92fe2e3f983db9d4c0b9d0cb4a0f1cbe73
|
File details
Details for the file modern_di-2.8.1-py3-none-any.whl.
File metadata
- Download URL: modern_di-2.8.1-py3-none-any.whl
- Upload date:
- Size: 13.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.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 |
fb92fe0ca392de0f221568818b7a1e10f14cb0d92d72ebf255f3ab35158e54d7
|
|
| MD5 |
48613f1f3b2f6201b305473809b47ee8
|
|
| BLAKE2b-256 |
5834fc967c9f14d11f7a4081fe6981f91ec7ad00436622e85e8bd9acacdcb706
|