https://github.com/eliostvs/python-clean-architecture-example
Example of Clean Architecture using Python
https://github.com/eliostvs/python-clean-architecture-example
clean-architecture python3
Last synced: 4 months ago
JSON representation
Example of Clean Architecture using Python
- Host: GitHub
- URL: https://github.com/eliostvs/python-clean-architecture-example
- Owner: eliostvs
- Created: 2019-05-13T01:18:32.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-05-13T16:21:55.000Z (over 4 years ago)
- Last Synced: 2025-01-24T12:13:59.050Z (12 months ago)
- Topics: clean-architecture, python3
- Language: Python
- Size: 152 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Python Clean Architecture Example
A customer search system example based on the clean architecture.
## Usage
## Developing
You will need [poetry](https://python-poetry.org/) installed.
In project root run:
> make setup
To run the tests run:
> make test
## Architecture
The *clean architecture* approach was used in this project.
It contains two main submodules: **search** and **terminal**.
The **search** submodule contains the business rules that are essential for the application, that is, the domain entities and use cases.
The **terminal** submodule contains the presenter and the adapters, that is, the code in this layer interacts with the user and convert data from the format most convenient for the use cases and entities and then back from the use cases to the presenter.
