Skip to main content

Simple Dependency Injection framework

Project description

"That Depends"

Test Coverage MyPy Strict pyrefly 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-4.0.0a1.tar.gz (30.6 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-4.0.0a1-py3-none-any.whl (43.5 kB view details)

Uploaded Python 3

File details

Details for the file that_depends-4.0.0a1.tar.gz.

File metadata

  • Download URL: that_depends-4.0.0a1.tar.gz
  • Upload date:
  • Size: 30.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.10 {"installer":{"name":"uv","version":"0.11.10","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 that_depends-4.0.0a1.tar.gz
Algorithm Hash digest
SHA256 c4fb251d86438e17a6e23c6dfa62d5e17fc87e3b9595a21c566c9b8d1725c90d
MD5 b5ceb096395951dfe6d3907e5607175f
BLAKE2b-256 ff11ed9d798d30a1b812b04830f09fadec749e50ff85c5298d59e1a8636550af

See more details on using hashes here.

File details

Details for the file that_depends-4.0.0a1-py3-none-any.whl.

File metadata

  • Download URL: that_depends-4.0.0a1-py3-none-any.whl
  • Upload date:
  • Size: 43.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.10 {"installer":{"name":"uv","version":"0.11.10","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 that_depends-4.0.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 bf8848d1005f518c1c3af891475989c9173528555cf0c817234006f450e8d333
MD5 c97991b52038c0176846e530ac278f32
BLAKE2b-256 c9b1fd6764cbf2beea16a2ecc6df4684feaec9cec3d39dd8b1e11252a7724da4

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