Skip to main content

Simple Dependency Injection framework

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:

  • Simple DI framework with IOC-container.
  • 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.1.0.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

modern_di-0.1.0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for modern_di-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d0e194b38db80abcd8161043a0b07ace1cf27089824ba498781304e77cb1db56
MD5 1a22d0120cc43a4e79fcb0d003e6ab22
BLAKE2b-256 d05f9f4d2bc8db30c57426e3347b56ee23ed80da8c6fc0e887591e7971405b09

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for modern_di-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6fd84cb935ae9b0e28e876cfa8d99f89e27153daa9bf175c58d523ec9f72f1b9
MD5 615e4818cccde5fe66ebc1c2a65e33d3
BLAKE2b-256 1537474536ddeda2a2601e90d6c3997a187985de54f65704d856d10d27938348

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