What problem does it solve?
This Skill helps developers make informed decisions about Python project architecture, framework selection, asynchronous programming, type hinting, and project structure, promoting best practices and maintainable code.
Core Features & Use Cases
- Framework Selection: Guides users through choosing the right Python web framework (FastAPI, Django, Flask) based on project needs.
- Async vs. Sync: Provides clear criteria for deciding when to use asynchronous programming.
- Type Hinting Strategy: Recommends best practices for using type hints and Pydantic for validation.
- Project Structure: Offers templates for organizing Python projects of varying sizes.
- Use Case: A developer is starting a new API project and is unsure whether to use FastAPI or Django. This Skill provides a decision tree and comparison principles to help them choose the most suitable framework.
Quick Start
Use the python-patterns skill to decide whether to use async or sync for an I/O-bound task.