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

Uploaded Python 3

File details

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

File metadata

  • Download URL: modern_di-2.8.4.tar.gz
  • Upload date:
  • Size: 11.4 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.4.tar.gz
Algorithm Hash digest
SHA256 ea42cc36363fe02725a57603ddf518964578b1896a1ae186c8becfb51845b229
MD5 be701dcbfd5a369f4ca7a32b8df071cb
BLAKE2b-256 383d0dbf07d6fdf6228781b58fc9a3d50d1eb15f0dcb7cee3bffa8134eb919d0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: modern_di-2.8.4-py3-none-any.whl
  • Upload date:
  • Size: 13.5 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c5969119be53f52b893f4601933c76e3d2dc2941bd5b14c4ec1ac52e21cce342
MD5 53d9db13ee434c7ccc5bc22ad834f176
BLAKE2b-256 86ddfe0682192454617d2db9f434363c0dbb8747bb9949a93c20156595a39b44

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