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

Uploaded Source

Built Distribution

modern_di-0.5.1-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for modern_di-0.5.1.tar.gz
Algorithm Hash digest
SHA256 fbb84f0e379a2d05babb8fa0600f7a9eb4d56c21fad91fd6450546cd85ee07c9
MD5 775921ec0d95d8aba05bf8e39ac558ff
BLAKE2b-256 54650be56f4d9a8228cbbd6358a6717e35a248c174fc3e57eb787a1545f5e352

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for modern_di-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 acc1304d9a9a55f405f712504083a6d0bfdb0a7e9e3f826be2d13db420730c39
MD5 323e0cdcfd34d817c7dc6a710832830b
BLAKE2b-256 573c85f3c7b669acbf5de25a34f37c18d1955e9b6d238399e953867d51815c36

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