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

Uploaded Source

Built Distribution

modern_di-0.2.0-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for modern_di-0.2.0.tar.gz
Algorithm Hash digest
SHA256 37f469473374f5ff7d5e973966480772889e151a0add4bbf113b6c67e1e3eef0
MD5 0e1d0c2294963d75575934ec0ee5e8e7
BLAKE2b-256 8ca6d96f75b0825a379b7d0207736e8d626e99eb925f8cfaca050a55d22ccce3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for modern_di-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 15353eb5d89c917164e197e788b5fbf1b97a600275be57cdf18ade597662bb67
MD5 9a993f3baf0eb26e0f1b2c514b4a1f5a
BLAKE2b-256 66aa79a98c7b75f7e932b6d64555f9607bda33f3b497de9d472f78c4416a9f2e

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