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.11.0.tar.gz (8.1 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.11.0-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: modern_di-2.11.0.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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.11.0.tar.gz
Algorithm Hash digest
SHA256 90104943a2dcb41308f199bd21bed57645ba3314dd7d4a89ae8361baeaef6875
MD5 7dbbb00bb898b456740382591e720dc0
BLAKE2b-256 04c88c12f1e0723070f8aa6f92d3763aaf37b4b5264913a2c24998e5c6a3b6b2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: modern_di-2.11.0-py3-none-any.whl
  • Upload date:
  • Size: 13.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a250841a5791e263e9ce5495b0fdec8c421371e7365be913122bd619c9a4b69b
MD5 7008f2f56effa074eebc794b96241428
BLAKE2b-256 45b618e805155e5064d13c6a3659f3e1f19854a8f2f55aef36942e8dba1fa729

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