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.3.0.tar.gz (6.4 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.3.0-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: modern_di-2.3.0.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.29 {"installer":{"name":"uv","version":"0.9.29","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.3.0.tar.gz
Algorithm Hash digest
SHA256 7ceac3c9ccedd2a088a425661df5fbe4c655d5b80c6450b1b046447cd52ee6ea
MD5 9a6df855e8bb19412bbf24a1c7c05722
BLAKE2b-256 fdfbd98a7ff6296aa2bf59c4d3d93a42e28fa5a41e39f9624dc554de370e45a7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: modern_di-2.3.0-py3-none-any.whl
  • Upload date:
  • Size: 11.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.29 {"installer":{"name":"uv","version":"0.9.29","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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2f763f9cb482bb5d137178911efde61f5a197a49c31557b5aaf47227cf07681e
MD5 7c79f232fc131892059b364cb5044987
BLAKE2b-256 2d03141671642189c094307485ef809137d10b7208f5e4149cc12bb0be9d1285

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