litestar-dependency-injection
CommunityStreamline Litestar DI for scalable apps.
Authoralti3
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Streamline dependency wiring in Litestar apps, reducing boilerplate and simplifying lifecycle management for services, repositories, and per-request resources.
Core Features & Use Cases
- Provider-based wiring: Define clear ownership for dependencies and inject them at app, router, or handler scope.
- Lifecycle-aware wiring: Manage startup/shutdown lifecycles and clean up per-request resources automatically.
- Test-friendly overrides: Allow easy overrides in tests without mutating global state or internals.
Quick Start
Create a provider for a shared setting and inject it into a route using Provide.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: litestar-dependency-injection Download link: https://github.com/alti3/litestar-skills/archive/main.zip#litestar-dependency-injection Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.