Skip to content

heumsi/python-clean-architecture-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

python-clean-architecture-example

A example python code of robert martin' clean architecture

Project Structure

.
β”œβ”€β”€ README.md
β”œβ”€β”€ adapter
β”‚Β Β  └── post_adapter.py
β”œβ”€β”€ data
β”‚Β Β  └── in_memory_post_repository.py
β”œβ”€β”€ domain
β”‚Β Β  β”œβ”€β”€ dto
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ read_post.py
β”‚Β Β  β”‚Β Β  └── write_post.py
β”‚Β Β  β”œβ”€β”€ entity
β”‚Β Β  β”‚Β Β  └── post.py
β”‚Β Β  β”œβ”€β”€ exception
β”‚Β Β  β”‚Β Β  └── repository.py
β”‚Β Β  β”œβ”€β”€ interface
β”‚Β Β  β”‚Β Β  └── post_repository.py
β”‚Β Β  └── use_case
β”‚Β Β      β”œβ”€β”€ read_post.py
β”‚Β Β      β”œβ”€β”€ read_posts.py
β”‚Β Β      └── write_post.py
└── main.py

Project Architecture

About

A example python code of robert martin' clean architecture

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages