Domain-Driven Design Python Application boilerplate.
This template includes Python 3.11 support and Poetry for dependency management. Also the following packages:
pytestas testing framework.blackfor formatting your code.flake8for style and quality checks.mypyfor static typying.pre-commitfor glueing all together.
Make sure you have Poetry install, and clone this repository. Then just run:
poetry installAnd start adding your code.
── src
├── application
│ └── __init__.py
├── domain
│ ├── __init__.py
│ ├── entities.py
│ ├── repositories.py
│ └── value_objects.py
└── infrastructure
└── __init__.py