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 supports the following:

  • Automatic dependencies graph based on type annotations
  • Scopes and context management
  • Python 3.10+ support
  • Fully typed and tested
  • Integrations with FastAPI, FastStream and LiteStar

Usage examples:

📚 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.6.4.tar.gz (6.3 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.6.4-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: modern_di-2.6.4.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","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.6.4.tar.gz
Algorithm Hash digest
SHA256 869c645de4f020ffca67f108f71afdadf00759a5df364d8d8abbc8d7b500e37d
MD5 42421665fe6d9a365137dfe3ebc42ae1
BLAKE2b-256 c80b483e29eedc0f432d5d2b03f5ad5ec2d7dc9f176bb874e8db899eade9815e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: modern_di-2.6.4-py3-none-any.whl
  • Upload date:
  • Size: 11.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","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.6.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9efaebcfb793bd69f4fa36b5719c4b869a4ab8114872d6b9cad52821f8f45e19
MD5 85f49c6ef64164b5aa1fdb35b22a7ade
BLAKE2b-256 b9e7b1547c67d455eb02d8dd99eb6e20f4ed86494fb419509507fc2dbcb40579

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