FastAPI Background Tasks
CommunityStreamline async processing in FastAPI.
Authormarkus41
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the need for efficient background task processing in FastAPI applications, preventing long-running operations from blocking the main request-response cycle and improving application responsiveness.
Core Features & Use Cases
- Multiple Framework Support: Integrates with ARQ (recommended), Celery, and Dramatiq for robust task queuing.
- Task Scheduling: Supports cron-like scheduling for periodic tasks.
- Async Operations: Enables asynchronous execution of tasks like sending emails, processing uploads, and data cleanup.
- Use Case: Implement a system where user sign-ups trigger an asynchronous welcome email and a background job to process initial user data, all without delaying the user's confirmation response.
Quick Start
Use the fastapi-background skill to enqueue a task to send an email to '[email protected]' with the subject 'Welcome!' and body 'Thanks for signing up.'.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: FastAPI Background Tasks Download link: https://github.com/markus41/claude/archive/main.zip#fastapi-background-tasks 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 471,000+ vetted skills library on demand.