What problem does it solve?
This Skill helps developers make informed decisions about Python framework selection, asynchronous programming, type hinting, project structure, and best practices, leading to more robust and maintainable code.
Core Features & Use Cases
- Framework Guidance: Provides decision trees and comparison tables for choosing between FastAPI, Django, and Flask based on project needs.
- Async vs. Sync: Explains when and how to effectively use asynchronous programming in Python.
- Type Hinting & Validation: Details strategies for implementing type hints and using Pydantic for data validation.
- Project Structure: Offers templates and principles for organizing Python projects of various sizes.
- 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 relevant questions about project requirements.
Quick Start
Use the python-patterns skill to decide between FastAPI and Flask for a new microservice.