API reference¶
Generated from the source docstrings — signatures and types are read from the code, never retyped by hand.
- Container & Registry — building and composing the dependency graph.
- FrozenContainer — resolving, scoping, injecting, overriding.
- Scope — provider lifetimes and the scope frame.
- Markers —
Token,Named,Tag,injected,provides. - Errors — the exception hierarchy, all rooted at
DepinError. - Graph diagnostics — the data behind
graph()andexplain(). - Warmup and health — the data behind
warmup(),checks(), andhealth(). - Integration contract —
Hostand the ambient container. - ASGI request scope — the framework-free ASGI middleware, no extra required.
- WSGI request scope — the framework-free WSGI middleware, no extra required.
- Command scope — the framework-free command seam, no extra required.
- Starlette — the ASGI middleware seeded with a
starlette.requests.Request. - FastAPI —
Inject[T], plus the Starlette middleware under its own name. - Litestar — the ASGI middleware seeded with a
litestar.Request. - Flask — the WSGI middleware seeded with a
flask.Request. - Click — the command seam seeded with a
click.Context. - Typer — the command seam, seeding nothing.
- Taskiq — the middleware that opens one scope per message.
- pytest — the callables the plugin's override fixtures return.
Looking for prose instead? Start with the guide.