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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for modern_di-0.5.0.tar.gz
Algorithm Hash digest
SHA256 4eef6eee9acdb1736662ee573a9d9da74c6c3dda7218caaf8039769f549dc0b4
MD5 4009fbeca0a8c272ea708e8151a976fc
BLAKE2b-256 b10006dfed69e0d9d73b22a3511467b7c1af252969383dacab60a554436bd658

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for modern_di-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e7ddc6fdeb8418e6cdd7721865ab58e8ebd14ac33387d9232e3d843e91d4590f
MD5 73a7a6c8ce091f3452f3a299270a2e02
BLAKE2b-256 365423c7ba197f84a97f3e165d59fb3597dd61d8e8aa0c5bd8dc55652beeebc3

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