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 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, FastStream and LiteStar

Usage examples:

📚 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.7.1.tar.gz (10.7 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.7.1-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: modern_di-2.7.1.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","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.7.1.tar.gz
Algorithm Hash digest
SHA256 804578d95975cfcc40f550e354133aedfd2214937420b38bbf8f146d8467f277
MD5 2067548c8b1723d306954bdcdc95dcee
BLAKE2b-256 26017c0e09cdee277892218362e69d90ec98c252ce1323690e6e5c776468d752

See more details on using hashes here.

File details

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

File metadata

  • Download URL: modern_di-2.7.1-py3-none-any.whl
  • Upload date:
  • Size: 12.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","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.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a1313896fc56f3baa1e9d2adc5ce5ed7ec9573ee050683cb245110c84ca846f3
MD5 f9fa1aa5c4bd710b29124615769b005b
BLAKE2b-256 8f76cf2113a76e519b8518dba187d03353d202bed2ef2e5a8826244cd5960a6e

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