Skip to content

codeuzhub/solid-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SOLID Principles in Python

SOLID Principles in Python

Learn SOLID design principles through Python examples — violation vs correct, with UML diagrams.

Documentation · O'zbekcha

Quick start

python docs/01-srp/violation.py
python docs/01-srp/correct.py

Requires Python 3.10+, no external dependencies.

Docs site locally

bundle install
bundle exec jekyll serve --livereload

Then open http://localhost:4000/solid-python/

Structure

docs/
├── 01-srp/              # Single Responsibility
├── 02-ocp/              # Open/Closed
├── 03-lsp/              # Liskov Substitution
├── 04-isp/              # Interface Segregation
├── 05-dip/              # Dependency Inversion
│   ├── violation.py     # What goes wrong
│   ├── correct.py       # How to fix it
│   ├── README.md        # English docs
│   └── README.uz.md     # Uzbek docs
├── index.md             # Home (EN)
└── index.uz.md          # Home (UZ)

License

MIT — LICENSE

About

SOLID principles in Python | Pythonda SOLID tamoyillari

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published