What problem does it solve?
This Skill helps developers make informed decisions about Python framework selection, asynchronous programming, type hinting, and project structure, promoting best practices and efficient development.
Core Features & Use Cases
- Framework Guidance: Provides decision trees and comparison principles for choosing between FastAPI, Django, and Flask based on project needs.
- Async vs. Sync: Explains when and why to use asynchronous programming, including library recommendations.
- Type Hinting & Validation: Details best practices for type hints and the use of Pydantic for data validation.
- Project Structure: Offers principles for organizing small, medium, and large Python projects.
- Use Case: A developer is starting a new web API project and is unsure whether to use FastAPI or Django. This Skill guides them through the decision process by asking key questions about project requirements and team familiarity.
Quick Start
Use the python-patterns skill to decide between FastAPI and Django for a new API project.