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-typer |
modern-di is a python dependency injection framework which supports the following:
- Automatic dependencies graph based on type annotations
- Also, explicit dependencies are allowed where needed
- Scopes and context management
- Python 3.10+ support
- Fully typed and tested
- Integrations with
FastAPI,FastStream,LiteStarandTyper
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.12.0.tar.gz
(8.7 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 modern_di-2.12.0.tar.gz.
File metadata
- Download URL: modern_di-2.12.0.tar.gz
- Upload date:
- Size: 8.7 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 |
47dfb644174c53e7d9cb31132eebf96f8dc57203546e2bfc85a247c5870e1010
|
|
| MD5 |
f020cd076b29f91155b38028554a3f2c
|
|
| BLAKE2b-256 |
c048ebd6ced332e001db3f69319b3fadaad4cd3adf234dccad8ee84270265006
|
File details
Details for the file modern_di-2.12.0-py3-none-any.whl.
File metadata
- Download URL: modern_di-2.12.0-py3-none-any.whl
- Upload date:
- Size: 14.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 |
d6b47cfb61a7b23393e3258e29b0258b244d2f4bdc0234669a106c18c3fd78d3
|
|
| MD5 |
6a5bd48b0e7400724fe457a584a6b2b2
|
|
| BLAKE2b-256 |
8a9687ffedf8efd410167de2fc27c6e0d65e5cd3d441706625f3321fb91909fa
|