{"repo":"alefeans/python-clean-architecture","free":true,"listed":false,"github":"https://github.com/alefeans/python-clean-architecture","clone":"git clone https://github.com/alefeans/python-clean-architecture.git","description":"Production-ready modern Python template featuring Clean Architecture, DDD, and FastAPI 🚀","language":"Python","stars":23,"topics":["asyncio","fastapi","python","tdd","clean-architecture","mypy","poetry","sqlmodel","postgresql","pytest"],"license":"MIT","category":"databases-storage","readme_excerpt":"Python Clean Architecture Overview Production-ready modern Python template featuring Clean Architecture , Domain-Driven Design (DDD) , and FastAPI . It demonstrates how to structure applications with proper separation of concerns, comprehensive testing, and type safety. Technology Stack This template provides a solid foundation that can be easily extended for any domain. It features: - Language: Python 3.12 - Container: Docker, and Docker Compose - Package management: Poetry - Web framework: FastAPI - Web server: Uvicorn - Database: Postgres - Database migrations: Alembic - ORM: SQLModel - Password hashing: Passlib - Authentication: OAuth2 + JWT - Testing: Pytest - Linter: Ruff - Type checker: Mypy - Code formatter: Ruff - Pre-commit hooks: Pre-commit - Local development hot reload, watch mode for tests, full Asyncio support, etc... What's Included - User Management : Complete user CRUD operations with proper DTOs and use cases - Authentication System : JWT-based authentication with OAuth2 support - Clean Architecture Structure : Well-organized layers with clear boundaries - Value Objects : Email, Password, and ID (UUID-validated) value objects with validation - Repository Pattern : Abstract interfaces with concrete implementations - Unit of Work Pattern : Transaction management across repositories - Centralized Exception Handling : Domain-specific exceptions for better error management - Comprehensive Tests : Unit tests using mocks and integration tests - Development Tools :","default_branch":null,"files":null,"tree":[],"storefront":"/r/alefeans","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/alefeans/python-clean-architecture/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}