Skip to main content

Dependency Injection framework with IOC-container and scopes

Project description

"Modern-DI"

MyPy Strict Supported versions downloads GitHub stars

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

Uploaded Source

Built Distribution

modern_di-0.3.0-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for modern_di-0.3.0.tar.gz
Algorithm Hash digest
SHA256 ce7829f59eb10d1bd9d48893855b0840bd9895544a72eec8c347950ae02c97f0
MD5 6b7d552dc6f8d375f6f5daa620de689e
BLAKE2b-256 3837fd961b9fdcfbbf0a9fd34dda84b3f6d154fa4ce4317ada7d8ea74148797b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for modern_di-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c50e68f7047eca5ade07ea104c84d5054e5e1ce69649abb9f6f1726be4c9f72f
MD5 c1a81c92e2f67f3367bb9fa73941a1c7
BLAKE2b-256 cbc4e8019218ca633077131f701abc5c0992cb66f9fbe76b1b4acf967c06bce4

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