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

Uploaded Source

Built Distribution

modern_di-0.4.3-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for modern_di-0.4.3.tar.gz
Algorithm Hash digest
SHA256 03be014d8a1fa1397eb9b96d9997e272851a3fa3f10624cb363c0571191d1a63
MD5 6bce6c6a5766d98e141aa892e874ca2d
BLAKE2b-256 da63e9414f280c77ae4611992339f89e3256895005d1b207cba5ef113006c9a2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for modern_di-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e7db5bb705c74709a4b1bb134b2d0e38a63123255747d6498e4de49da3224072
MD5 35166b4760e7411e7053807ce2d25a26
BLAKE2b-256 b3ba24648545e0094508ad8ee311fda27eae21a77fd79fd06f41402eba7193f0

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