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.8.0.tar.gz (11.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.8.0-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: modern_di-2.8.0.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","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.8.0.tar.gz
Algorithm Hash digest
SHA256 d0d35bdca58b68ad5c5a626fcd0a6b81d4c236fb2acc900de36f56ecac12d612
MD5 da313a51fcb2331dfda619326633ccb1
BLAKE2b-256 de06a83d10da6040d2834df822101ecb2628e85f9f4e6fac10d4b1ecb271ef4b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: modern_di-2.8.0-py3-none-any.whl
  • Upload date:
  • Size: 13.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","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.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 be473a2019e829e2f3fb73f217656d4f62f9a8be36d5792d16ed48c22ce01f4a
MD5 4eb8d7da7aebf56f04f6625ce06ad8f8
BLAKE2b-256 49075f7e6dabedeb8771ee907ca2dcf242b5f85c255f89ef3ab19fd42fff5891

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