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.6.2.tar.gz
(6.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.6.2-py3-none-any.whl
(11.2 kB
view details)
File details
Details for the file modern_di-2.6.2.tar.gz.
File metadata
- Download URL: modern_di-2.6.2.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","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 |
5880ecc4d506c127086a900a65036c6c7fb6f63e61a7202bbeeac6857018fa1f
|
|
| MD5 |
c716ccc8e2c9ffce1ab86ac425e7dcca
|
|
| BLAKE2b-256 |
fff9c54b4ee4b081712450ea6799dd4863e1ea71853a08f38c0be9e7ad5daf55
|
File details
Details for the file modern_di-2.6.2-py3-none-any.whl.
File metadata
- Download URL: modern_di-2.6.2-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","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 |
591dc7cd3571d6df834421f17e530adaf2be22160b56be977fdb0efb95e416ae
|
|
| MD5 |
0c08955e20326396f3eaabcf4df95240
|
|
| BLAKE2b-256 |
13daf559144c26844e81f1b206d98501e70d9873708e6707cb8cdd5e6317c3e5
|