Sample of the Python clean architecture app
$ poetry install
$ poetry run python tools/create_db.py
$ poetry run pytest
MemRepo
$ poetry run python cli.py
SqliteRepo
$ poetry run python cli_sqlite.py
MemRepo
$ poetry shell
$ FLASK_CONFIG="development" flask run
$ curl http://127.0.0.1:5000/rooms
Clean Architectures in Python
https://www.thedigitalcatbooks.com/pycabook-introduction/
Source
https://github.com/pycabook/rentomatic
The Clean Architecture