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
modern-di-faststream Supported versions downloads
modern-di-litestar Supported versions downloads

modern-di is a python dependency injection framework which, among other things, supports the following:

  • Async and sync dependency resolution
  • Scopes and granular context management
  • Python 3.10+ support
  • Fully typed and tested
  • Integrations with FastAPI, FastStream and LiteStar

📚 Documentation

📦 PyPi

📝 License

Project details


Release history Release notifications | RSS feed

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-2.0.0a3.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

modern_di-2.0.0a3-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file modern_di-2.0.0a3.tar.gz.

File metadata

  • Download URL: modern_di-2.0.0a3.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for modern_di-2.0.0a3.tar.gz
Algorithm Hash digest
SHA256 c613a5623abef90619d34cf1b89018a5f6a17c18af59d02da4a95c8ba265ad31
MD5 b59d2677c9600f7b01e9a8263bc133fa
BLAKE2b-256 b860348ec73456fb83cebaa64fe965bfa390591874a778391945a370f3c6ab23

See more details on using hashes here.

File details

Details for the file modern_di-2.0.0a3-py3-none-any.whl.

File metadata

  • Download URL: modern_di-2.0.0a3-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for modern_di-2.0.0a3-py3-none-any.whl
Algorithm Hash digest
SHA256 07faf5f3cccbfb59702db762cd33d09fed230481f36fcd4153559d8628c4a96e
MD5 1dd4db4f214338ae1276b04f2103172c
BLAKE2b-256 f6c23bf3e2527f193aa4e1e1e5f7af5ead1b7f3a99b5dddd7ddc9a4593e98815

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page