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
  • 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.3.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.3-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: modern_di-2.8.3.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","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.3.tar.gz
Algorithm Hash digest
SHA256 3610ef9e275e0e53a624dd1db5defdef9663366b7e658bf52d93b5f9f408ac86
MD5 79e7c66fb65ea56f77483188f28ef939
BLAKE2b-256 384f56c2b8acbe45bf15578dbc13f95731e02d00b30bb2260c5b518bce953b7f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: modern_di-2.8.3-py3-none-any.whl
  • Upload date:
  • Size: 13.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0b0df5b97ec13ed0b456d75756a2227fbdce7cfce5364ad373e0439549034483
MD5 2447a95d44aeed578dad8940b9583f75
BLAKE2b-256 7031d55af94f29fcf0d72decc3f5aa233eafafd08436f90294587102daaad60c

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