dishka

Community

Effortless Python Dependency Injection

Authorcofin
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill simplifies managing complex dependencies in Python applications, especially within web frameworks like Litestar and FastAPI, by providing a robust and intuitive dependency injection system.

Core Features & Use Cases

  • Automated Dependency Resolution: Automatically injects required objects into your functions and classes.
  • Scoped Lifetimes: Manages the lifecycle of dependencies with application, request, action, and step scopes.
  • Framework Integrations: Seamlessly integrates with Litestar, FastAPI, and Click for streamlined development.
  • Use Case: When building a web API with Litestar, use this Skill to manage database connections, user services, and configuration objects, ensuring they are correctly instantiated and available where needed.

Quick Start

Use the dishka skill to set up a Litestar application with dependency injection.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 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: dishka
Download link: https://github.com/cofin/flow/archive/main.zip#dishka

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.