Skip to main content

Dependency Injection framework with IOC-container and scopes

Project description

"Modern-DI"

Project Badges
common MyPy Strict GitHub stars
modern-di Supported versions downloads
modern-di-fastapi Supported versions downloads
modern-di-faststream Supported versions downloads
modern-di-litestar Supported versions downloads

modern-di is a python dependency injection framework which, among other things, supports the following:

  • Async and sync dependency resolution
  • Scopes and granular context management
  • Python 3.10+ support
  • Fully typed and tested
  • Integrations with FastAPI, FastStream and LiteStar

📚 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-1.1.0.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

modern_di-1.1.0-py3-none-any.whl (17.8 kB view details)

Uploaded Python 3

File details

Details for the file modern_di-1.1.0.tar.gz.

File metadata

  • Download URL: modern_di-1.1.0.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","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

Hashes for modern_di-1.1.0.tar.gz
Algorithm Hash digest
SHA256 46055ba00c5dda3e4566ef0f25e020c0338276a8c9d80988862a8aba145e467e
MD5 1ac33326f1d4b989571407f5559ceeaa
BLAKE2b-256 fe62399849189cb7ae242e74c2ca4016c405f42017805e26806ed3ccf9473238

See more details on using hashes here.

File details

Details for the file modern_di-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: modern_di-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 17.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","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

Hashes for modern_di-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5a4b1cc8fa8e9962906d0bed094324625d3f5d060fdb516de886f5c0316cb739
MD5 2dfc9a31131dec917c0ca80cf41c1516
BLAKE2b-256 a0688d781f1126c968fc4adbcab9696d0c0c14955023b449d4637cae7fbcf765

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page