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

Dependency injection framework for Python inspired by dependency-injector and dishka.

It is in early development state and gives you the following:

  • DI framework with IOC-container and scopes.
  • Async and sync resolving.
  • Python 3.10-3.13 support.
  • Full coverage by types annotations (mypy in strict mode).
  • Overriding dependencies for tests.
  • Package with zero dependencies.

📚 Documentation

Project details


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-0.4.0.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

modern_di-0.4.0-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: modern_di-0.4.0.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.4.29

File hashes

Hashes for modern_di-0.4.0.tar.gz
Algorithm Hash digest
SHA256 fdfe24d5d35144a0ef108d637cb19bf08b7a8ca8792fa68bf44078516f29f11b
MD5 a3711d8c17931eab065fe8c786f6b4ce
BLAKE2b-256 44f4730302090c4af6d42a9ef51ee747fe7eeba3e74729df82fc96337a3a674d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for modern_di-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d12f81a64fcc386fbfcc9ccf080cdcec21be75457d570c8bfb23c2e9bb5e34f3
MD5 80ccedaec97f8d2fa7e6aa0b72f5658b
BLAKE2b-256 f8b31b66307bb1c3f80eeb61a5b4806bdbdd74c836f201c8fad395108563742e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page