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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for modern_di-0.4.2.tar.gz
Algorithm Hash digest
SHA256 ebaff937f4edc3feb0f9323c643eac1265e30c881d034e3cfeee8a2952eef76f
MD5 8b1290e5409f38af8f1fb64909bd4cf3
BLAKE2b-256 b37bbd24a08b2151e156cff0e8e757eb18971236b30e228110453c51641c7f14

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for modern_di-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4ea7764662fb33e31e17a3c65dc2ac2946680b7f4aaf5050cab608b200c6e386
MD5 f65d2c9d5d366cc39550ef71b27aede5
BLAKE2b-256 5fb4e770e549ba26e8cffad6b81ddbe07c1060dfd5ebed56adbe87ed42fac5b8

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