python-clean-architecture-boilerplate
A boilerplate project following Clean Architecture principles in Python. It includes a structured separation of concerns, dependency injection and integrations with FastAPI and Poetry for scalable, maintainable and testable applications. ๐
pythonboilerplatepoetryclean-architecturefastapi
FreeRepo
Overview
This Python boilerplate implements clean architecture principles with organized layers for domain logic, use cases, adapters and frameworks, designed to keep business logic independent from UI, database and external tools. It includes Poetry for dependency management, pre-commit hooks, ruff for linting, mypy for type checking, bandit for security scanning and pytest for testing, with Docker support and environment-based YAML configuration for development, staging and production deployments.
Features
clean-architecturedependency-injectionseparation-of-concernsdomain-layeruse-case-layerinterface-adaptersframeworks-and-drivers
Feature Flags
testing
Recommended Use Cases
scalable-applicationsmaintainable-codebasestestable-systemsframework-independent-design
Frontend
None
Backend
fastapipython
Auth Providers
None
Deployment Targets
docker
Payment Providers
None
Quick Facts
โญ Stars
0
๐ด Forks
0
๐งพ License
mit
๐ Active
Unknown
Stack
Framework
fastapi
Language
python
Testing
pytest
CI
pre-commit
Data Layer
UI Stack
Developer Experience
Docker
Yes
Tests
Yes
Quickstart
Yes
env.example
No
CI
pre-commit
Pricing
Classification
free
Selected
โ
Notes
No clear pricing signals