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.10.0.tar.gz (11.8 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.10.0-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: modern_di-2.10.0.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","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.10.0.tar.gz
Algorithm Hash digest
SHA256 df9766da0214b86e6f463f84898ab0c252ab18bcbec5493c886e2032fbda4603
MD5 7a160ff2ffd9bf58c04353e2a87be13a
BLAKE2b-256 1ac5b3913679c157a08d3c77377bff2fd687440aeb9bae0a69a92a9bdcaab1c8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: modern_di-2.10.0-py3-none-any.whl
  • Upload date:
  • Size: 14.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","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.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 16c6baedf4546d5d4f2caaf5f66358dbb209c700c87c72b8ac87fc8141799fdc
MD5 fc4ec1dd56871abd294bfb6090878ef4
BLAKE2b-256 b02760a314017530cc9ebf5bb712a5feb9eeddbe6fe19575266d5b35887282c9

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