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