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
- Also, explicit dependencies are allowed where needed
- 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.11.0.tar.gz
(8.1 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.11.0.tar.gz.
File metadata
- Download URL: modern_di-2.11.0.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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 |
90104943a2dcb41308f199bd21bed57645ba3314dd7d4a89ae8361baeaef6875
|
|
| MD5 |
7dbbb00bb898b456740382591e720dc0
|
|
| BLAKE2b-256 |
04c88c12f1e0723070f8aa6f92d3763aaf37b4b5264913a2c24998e5c6a3b6b2
|
File details
Details for the file modern_di-2.11.0-py3-none-any.whl.
File metadata
- Download URL: modern_di-2.11.0-py3-none-any.whl
- Upload date:
- Size: 13.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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 |
a250841a5791e263e9ce5495b0fdec8c421371e7365be913122bd619c9a4b69b
|
|
| MD5 |
7008f2f56effa074eebc794b96241428
|
|
| BLAKE2b-256 |
45b618e805155e5064d13c6a3659f3e1f19854a8f2f55aef36942e8dba1fa729
|