Repository navigation
Add materials folders for 8 tutorials that had none - #895
Merged
Merged
Conversation
Adds companion code for Recursion in Python, Operator and Function Overloading, Data Classes, Documenting Python Code, Python SQL Libraries, Regex Parts 1 and 2, and Modeling Polymorphism in Django. Each folder mirrors its tutorial's current update draft and was verified by running it on Python 3.14. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
martin-martin
approved these changes
Oct 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds companion code folders for eight tutorials that ship runnable code but had no folder in this repo. Each folder mirrors the tutorial's current update draft (the maintenance pass that's waiting to publish), and each tutorial gets a new "Get Your Code" opt-in pointing here.
python-recursion/operator-function-overloading/python-data-classes/documenting-python-code/python-sql-libraries/regex-python/regex-python-part-2/modeling-polymorphism-django-python/What's in each folder
README.md(file list, usage examples, real minimum Python version), and a pinnedrequirements.txtwhere third-party packages are used (python-data-classes,documenting-python-code,python-sql-libraries,modeling-polymorphism-django-python).modeling-polymorphism-django-python/is a runnable Django 6.1 project (bookstore) with one app per modeling technique and generated migrations. Each app'sCart.userhas arelated_nameso the six apps can coexist in one project.How it was verified
python-sql-libraries/: run end to end against SQLite, MariaDB 10.11 (standing in for MySQL), and PostgreSQL 16.modeling-polymorphism-django-python/:manage.py check,makemigrations --check,migrate, and the tutorial's ORM sessions viamanage.py shell -c.uvx ruff@0.14.1 format --checkanduvx ruff@0.14.1 checkwith the repo config, and.github/workflows/dircheck.py: all clean.Code matches the tutorials except where it had to change to run or lint (formatting, a
# noqafor an intentionally unused variable, a portable SQLite path instead ofE:\\). Bugs found in the tutorials' own code are being reported on the maintenance cards so the articles can be fixed too.🤖 Generated with Claude Code