Skip to content

JuanjoSalvador/python-ddd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

python-ddd

Domain-Driven Design Python Application boilerplate.

Getting started

This template includes Python 3.11 support and Poetry for dependency management. Also the following packages:

  • pytest as testing framework.
  • black for formatting your code.
  • flake8 for style and quality checks.
  • mypy for static typying.
  • pre-commit for glueing all together.

Install

Make sure you have Poetry install, and clone this repository. Then just run:

poetry install

And start adding your code.

File structure

  ── src
      β”œβ”€β”€ application
      β”‚Β Β  └── __init__.py
      β”œβ”€β”€ domain
      β”‚Β Β  β”œβ”€β”€ __init__.py
      β”‚Β Β  β”œβ”€β”€ entities.py
      β”‚Β Β  β”œβ”€β”€ repositories.py
      β”‚ Β  └── value_objects.py
      └── infrastructure
          └── __init__.py

About

Domain-Driven Design Python Application boilerplate.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors