PyCleanArch - Python Clean Architecture
A simple Python toolkit to work with Clean Architecture for Web. This code base is inspired by liasis from Johnny Well.
Use this toolkit to build better applications implementing Clean Architecture from Robert C. Martin
Requirements
- python3 (3.7+)
- pip3
Install
Using pip (pip3)
pip install pycleanarch
Using pipenv:
pipenv install pycleanarch
Using poetry:
poetry add pycleanarch
Usage
# to use in your project eg.:
from pycleanarch.core.domain import Entity
Concepts:
This project use some concepts like DDD, Clean Architecture, TDD, Hexagonal Architecture, Onion Architecture, and much more. See some links below.
Articles
- The Clean Architecture by Robert C. Martin (Uncle Bob)
- The Onion Architecture by Jeffrey Palermo
- Hexagonal Architecture by Alistair Cockburn
Books
- Clean Architecture: A Craftsman's Guide to Software Structure and Design by Robert C. Martin (Uncle Bob)
- Domain-Driven Design Distilled by Vaughn Vernon
- Domain Driven Development by Eric Evans (2003)
- Domain Driven Development by Eric Evans (2003) - Portuguese
Contributing
I encourage you to contribute to this project! Join us!
Trying to report a possible security vulnerability? Open a issue now.
Everyone interacting in this project and its sub-projects' codebases, issue trackers, chat rooms, and mailing lists is expected to follow the code of conduct (building, but respect everyone).
License
MIT License