What problem does it solve?
This Skill Unit helps developers understand and apply Python development patterns and principles, making informed decisions about frameworks, async patterns, type hints, and project structure.
Core Features & Use Cases
- Framework Selection: Decision tree for choosing the right framework based on project type.
- Async vs Sync: Guidance on when to use asynchronous programming.
- Type Hints Strategy: Best practices for using type hints effectively.
- Project Structure: Principles for structuring small to large Python projects.
- Django Principles: Overview of Django 5.0+ async features and best practices.
- FastAPI Principles: Integration of async features and dependency injection.
- Background Tasks: Selection guide for background task solutions.
- Error Handling: Strategies for error handling in FastAPI.
- Testing Principles: Unit, integration, and end-to-end testing strategies.
- Decision Checklist: Quick reference for making key decisions during development.
Quick Start
To get started with the python-patterns skill, read through the SKILL.md file for an overview of Python development principles and decision-making.