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.6.1.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.6.1-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: modern_di-2.6.1.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","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.6.1.tar.gz
Algorithm Hash digest
SHA256 f682f019a722ad3773d9ba4ccb8c6b79fd8e634c1dd07b2b3c5b94a78cc04d5b
MD5 58b9be4e844e8218173560533c9c48bd
BLAKE2b-256 81c7af86b8a8e46856de1bacf2fd73967902f43175c7688c617187d7df35849c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: modern_di-2.6.1-py3-none-any.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","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.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4cfec032b23e09117e9fe24b325c622f1a2b34fe162712f46a9e69de663fc555
MD5 8394a4e2aa7036bc9ae3a19969735d76
BLAKE2b-256 aab200b9a83a1bd296e8ec7d4c311f2b4caa8f8c3750420e0a978c7d9d64b414

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