Skip to main content

Dependency Injection framework with IOC-container and scopes

Project description

"Modern-DI"

Test Coverage MyPy Strict Supported versions downloads GitHub stars

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

It is production-ready 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.1.1.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

modern_di-0.1.1-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for modern_di-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1c7030c9bdfe4ce199dd4e6a3dc8dcc6211cfbff856358cf708f60766fa151b4
MD5 c676c3474b49b6a48309bee5046d8e87
BLAKE2b-256 f0bf75734882acd86dae5f39f83cf51e2bf46ca7a8074923091ff5a7a988aea1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for modern_di-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3a21131dbd229b20bdce3866a7b9027c1a0c8042157de980baf987af1d733b98
MD5 8ddd4a52b0b1ed1cb240778ad59d8b73
BLAKE2b-256 1db5d7f3771ae08ea8a9417f8244ef6f348e7eeddf872622585944dac8d77e83

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