Skip to main content

that-depends

PyPI version Supported Python versions Downloads Test Coverage CI License GitHub stars MyPy Strict pyrefly libs.tech recommends Context7 llms.txt

Simple, typed dependency injection framework for Python.

Features:

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

Installation

pip install that-depends

Ecosystem

that-depends is part of the modern-python family. If you're starting a new project, consider modern-di, the newer DI framework from the same author, with separate framework adapters:

that-depends remains actively maintained. See the migration guide if you want to move existing projects across.

Part of modern-python

The modern-python org profile has the full categorized list of templates and libraries.

Metadata

Release files for that-depends 4.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for that-depends 4.2.1
File Size Uploaded Provenance Actions
that_depends-4.2.1.tar.gz 36.1 kB Without provenance Details for that_depends-4.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for that-depends 4.2.1
File Interpreter ABI Platform Actions
that_depends-4.2.1-py3-none-any.whl Python 3 none any Details for that_depends-4.2.1-py3-none-any.whl

Total release size: 83.0 kB

Release files / that_depends-4.2.1.tar.gz

Download URL that_depends-4.2.1.tar.gz
Size 36.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8295189f2530cf947ae3c1e649cfa14943f4158713dda8e8200aad54dfac1d8e
BLAKE2b-256 checksum
How to use checksums
fdf783043276aa284480baf7b307ab73fe535ed5827a6db9620afb0346c1a762
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.4 {"installer":{"name":"uv","version":"0.13.4","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}

Release files / that_depends-4.2.1-py3-none-any.whl

Download URL that_depends-4.2.1-py3-none-any.whl
Size 46.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bbb4a2abd142d410aa00658850bdc2048d81a4f24c824dce20c89be87f4cc0d4
BLAKE2b-256 checksum
How to use checksums
6d2b9b4e4796ee4a051f2b34bba007c6585883ac963edfb6df75e2e63fe4008f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.4 {"installer":{"name":"uv","version":"0.13.4","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}

Security for that-depends 4.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

4.2.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page