-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Edilson Fernando Gonzalez edited this page Sep 7, 2022
·
2 revisions
Template project based on Clean Architecture for Python on Cookiecutter, includes production-ready containers using Docker and Docker Compose.
- If you have problems with this template, please open issues don't send emails to the maintainers.
Install Cookiecutter
python3 -m pip install --user cookiecutter
Use the template
python3 -m cookiecutter https://github.com/edygg/python_clean_architecture
project_name [clean_architecture_project]:
project_description [Your project description goes here.]:
- Works with Python 3.9 (easy to change interpreter and linux distro in main
Dockerfile
) - Optimized dev and prod envs and settings.
- Docker support using
docker compose
for dev and prod envs. - Tests template and db fixtures using
pytest
. - DB integration using
SQLAlchemy
with migration boilerplate included. - Customizable PostgresSQL version.
- Preconfig Github Actions for formatting and testeable code.
- Precommit config for maintenabled code.