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:

  • Automatic dependencies graph based on type annotations
  • Scopes and granular 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.5.0.tar.gz (6.2 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.5.0-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: modern_di-2.5.0.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","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.5.0.tar.gz
Algorithm Hash digest
SHA256 f640817dd966c1d9442453714060bd93a84bf55e70e448f98e2b2a615b3ea5f8
MD5 c89f250613568ae964b7853bf289019b
BLAKE2b-256 e824fddd65cd66a9807e17bf7da75081327373f0d8dbfb11458465da273ce8df

See more details on using hashes here.

File details

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

File metadata

  • Download URL: modern_di-2.5.0-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","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.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 06d71790c7ae35c28adb450e56435761647d9707bd4683ba578eb691c4926baf
MD5 2ab5d160de46102fa9998b1016849f78
BLAKE2b-256 f744511a3d9a1baab78aeb971620591510b01f86db3067e18b0c4fc4629ec1a2

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