Skip to main content

Dependency Injection framework with IOC-container and scopes

Project description

"Modern-DI"

Project Badges
common 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
  • Also, explicit dependencies are allowed where needed
  • 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.9.0.tar.gz (11.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-2.9.0-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: modern_di-2.9.0.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","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.9.0.tar.gz
Algorithm Hash digest
SHA256 d26d05a137f687ef5412a1fb3d5f16fd1a06a8be12457bd1781741e1818da981
MD5 85dcc4ec295b96693e7fa8abb5ed5aba
BLAKE2b-256 dffc33f5bb76e411b5fb704fa4ab6a78cdb7ad147fe7387307736a79f02cd1b7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: modern_di-2.9.0-py3-none-any.whl
  • Upload date:
  • Size: 13.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","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.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f1fcdaaeef0879de50b712fc52e4c9afc1553adaed951c83496bcbf8c94a240c
MD5 5ea72798aff98f08f5ee2e51d4d08ff5
BLAKE2b-256 2bf8b1a0b2d22377124bda034df360585bf259bd8e891e5705e7fec07d6035b2

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