python-patterns

Installation
SKILL.md

Python Development Principles

Python's flexibility is its greatest weakness. Without conventions, every project ends up with its own unpredictable shape.


Framework Selection

Use Case Recommended When to Use
REST API, general-purpose FastAPI Type-safe, async, auto-docs via OpenAPI
REST API, batteries-included Django + DRF Rapid development, ORM included, admin panel
Microservice / minimal API Flask Simple, no overhead, full control
Data pipeline / ETL No framework Standard library + pandas/polars as needed
CLI tool Click or Typer Better than argparse for complex CLIs
Async task queue Celery + Redis Background jobs, scheduled tasks

Decision question: Does this need an ORM, admin panel, and auth out of the box? → Django. Does it need type-safe inputs with automatic validation? → FastAPI. Is it small and needs nothing? → Flask.

Installs
1
Repository
harmitx7/odoo
GitHub Stars
2
First Seen
Sep 5, 2026