Skip to main content

Simple Dependency Injection framework

Project description

"That Depends"

Test Coverage MyPy Strict Supported versions PyPI Downloads GitHub stars libs.tech recommends llms.txt

Dependency injection framework for Python.

It is production-ready and gives you the following:

  • Simple async-first DI framework with IOC-container.
  • Python 3.10+ support.
  • Full coverage by types annotations (mypy in strict mode).
  • Inbuilt FastAPI, FastStream and LiteStar compatibility.
  • Dependency context management with scopes.
  • Overriding dependencies for tests.
  • Injecting dependencies in functions and coroutines without wiring.
  • Package with zero dependencies.

Installation

pip install that-depends

📚 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

that_depends-3.9.1.tar.gz (25.3 kB view details)

Uploaded Source

Built Distribution

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

that_depends-3.9.1-py3-none-any.whl (37.1 kB view details)

Uploaded Python 3

File details

Details for the file that_depends-3.9.1.tar.gz.

File metadata

  • Download URL: that_depends-3.9.1.tar.gz
  • Upload date:
  • Size: 25.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"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 that_depends-3.9.1.tar.gz
Algorithm Hash digest
SHA256 265138cb810e8dfd80465af67d66607983ed12a01ee67289ca1414b226739134
MD5 8a3c751d233d598d6488a2cb44062ff7
BLAKE2b-256 a7fc10d57941504b18a00e1881f2abccc13c7fd70291772bb0c4474b096d49f3

See more details on using hashes here.

File details

Details for the file that_depends-3.9.1-py3-none-any.whl.

File metadata

  • Download URL: that_depends-3.9.1-py3-none-any.whl
  • Upload date:
  • Size: 37.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"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 that_depends-3.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 42960048cd4ebd85126b5777e996cbfa63901cfb0f25a1bad3c639fc840ed339
MD5 125ebb22e75b54d15175d9b4b5ea3f23
BLAKE2b-256 aa9d1d5bc7880088921aaa0414afdef6c539035ff84574fe4cc1d6c4ce280de9

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