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-2.0.0a4.tar.gz (6.0 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-2.0.0a4-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file modern_di-2.0.0a4.tar.gz.

File metadata

  • Download URL: modern_di-2.0.0a4.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.25 {"installer":{"name":"uv","version":"0.9.25","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-2.0.0a4.tar.gz
Algorithm Hash digest
SHA256 926ca63ca7d4316dfe4372cae22109325b36851863a039410f8908b35fba563d
MD5 f47bff5955e33dca9e231e1fd9b8185e
BLAKE2b-256 9570138d207d8f89555f937e48fbb8da516e483cd02fffc4be86f6ee18386224

See more details on using hashes here.

File details

Details for the file modern_di-2.0.0a4-py3-none-any.whl.

File metadata

  • Download URL: modern_di-2.0.0a4-py3-none-any.whl
  • Upload date:
  • Size: 10.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.25 {"installer":{"name":"uv","version":"0.9.25","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-2.0.0a4-py3-none-any.whl
Algorithm Hash digest
SHA256 8a48ae58957287296a09efcccb84ad4ffff6dad96ce104c0f7a268d9ea1527f3
MD5 b304a0e6b3a9bf58dafadf9607926968
BLAKE2b-256 22de66c4f0725a1fd8a7ff45f8a0c26cc42e81ed31e2d4c85efb483cb9765401

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