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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: modern_di-0.4.1.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.1.tar.gz
Algorithm Hash digest
SHA256 2f0be7f7e0ea6a8964ac1dbfbaccdf08b3fcb7be1d80cfb9a8e55a6addb4ec08
MD5 a6374efc0c71933f6cecf9d5a0bd95c5
BLAKE2b-256 e2f72e6c69fc1a96dc8cd331fd1fcfb6a0220492c07304cb4c16c6c4cf54ec2f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for modern_di-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 21e7def126bd3d86233c6ce125df17862942b89f2c9c59e6e7449f83c0cdbb9a
MD5 6900012738be94bed651d602d753c803
BLAKE2b-256 6c843f7b330d3e42e8c0141019b665300779618324fef68f1563d7f4cebbc793

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