Learn SOLID design principles through Python examples β violation vs correct, with UML diagrams.
python docs/01-srp/violation.py
python docs/01-srp/correct.pyRequires Python 3.10+, no external dependencies.
bundle install
bundle exec jekyll serve --livereloadThen open http://localhost:4000/solid-python/
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)
MIT β LICENSE
