A collection of ready-to-use for local development opensource templates for quickly starting Python projects.
Perfect for beginners and teams who want to kickstart development with clean structure and best practices.
- FastAPI templates
- FastStream templates
- Litestar templates
- Django templates
- PyPi package templates
- CLI tools templates
- Contributing
🍪 - cookiecutter based template
FastAPI is a modern, fast (high-performance), web framework for building APIs with Python based on standard Python type hints
- 🍪 Official Full Stack FastAPI template - FastAPI, PostgreSQL, React, Docker Compose, Pytest, Traefik, CI/CD.
- FastAPI LangGraph Agent template - FastAPI, LangGraph, Langfuse, Docker and Docker Compose, PostgreSQL, Prometheus and Grafana, etc.
- 🍪 Clean Architecture FastAPI template - FastAPI, DBMS(PostgreSQL/SQLite/MySQL), Alembic, Docker, Caching System(Redis/KeyDB/Tarantool/Dragonfly), Message Broker(Kafka/RabbitMQ/NATS), Pre-commit
FastStream simplifies the process of writing producers and consumers for message queues, handling all the parsing, networking and documentation generation automatically.
- 🍪 Official FastStream template - FastStream, Pytest, linters, GitHub Actions, AsyncAPI Documentation, Docker
- FastStream Monitoring - FastStream, Grafana Tempo, Grafana, Prometheus, docker-compose
- dishka-faststream - FastStream integration for Dishka
Litestar is a powerful, flexible yet opinionated ASGI framework, focused on building APIs. It offers high-performance data validation, dependency injection, first-class ORM integration, authorization primitives, a rich plugin API, middleware, and much more that's needed to get applications up and running.
- Official Litestar Fullstack template - Litestar, Vite, PostgreSQL, SQLAlchemy, Docker Compose, jinja, JWT, Redis, Structlog, linters, tests
- Litestar-Dishka-FastStream - "Clean architecture" example in combining: Litestar, Dishka, FastStream
Haystack is an end-to-end LLM framework that allows you to build applications powered by LLMs, Transformer models, vector search and more
- Haystack Apps with Streamlit template - Haystack, Streamlit, lmnt, RAG
Django is a high-level Python web framework that encourages rapid development and clean, pragmatic design
- 🍪 Django project template - Django 5.1, Twitter Bootstrap v5, django-allauth, 100% starting test coverage, etc.
- 🍪 Django-plugin template - for creating new DJP Django Plugins
PyPi or Python Package Index is the official third-party software repository for Python
- PyPi template tool template - pypi-template tool
- PyScaffold template generator template - super configurable project generator tool
- 🍪 Python library template - PyPI project template tool with GitHub Flow features
Command-line interface tool templates
- 🍪 CLI template - Click based CLI tool template
Your contributions are always welcome! Please take a look at the contribution guidelines first.