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-typer 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,LiteStar and Typer

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.13.0.tar.gz (10.6 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.13.0-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: modern_di-2.13.0.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","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.13.0.tar.gz
Algorithm Hash digest
SHA256 7fc4fa6ac061b9432cd8642d2758286ab5962d497f1bf72c63bd9489d8d01f8b
MD5 0448496b114a797380fa9ea9f020eecd
BLAKE2b-256 af400fcc0415a57887e1778dc95785022755d8963e0d1022ad6405c0d87ec386

See more details on using hashes here.

File details

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

File metadata

  • Download URL: modern_di-2.13.0-py3-none-any.whl
  • Upload date:
  • Size: 17.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","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.13.0-py3-none-any.whl
Algorithm Hash digest
SHA256 775312def4ec64555742cddefdad854c9341bab2593c8175ed5971e07686d5c3
MD5 d264a2059c9f881a4eca496ab70c6f98
BLAKE2b-256 20f558ae15ceb21822923df5ba14288cefdbf4f5bd37781fe6dc5fd50a4bb3d9

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