// the find
csev/py4e
Web site for www.py4e.com and source to the Python 3.0 textbook
The source repo for py4e.com, Dr. Chuck's 'Python for Everybody' course. It's a PHP/LTI web platform (Tsugi) bundled with the full textbook source in Markdown, code samples, and multi-format build scripts. Target audience is instructors who want to self-host the course or students who want the raw book files.
The book source in book3/ is clean Markdown with a working LaTeX/epub/HTML build pipeline — you can actually produce a print-ready PDF. Actively maintained (pushed yesterday), with translations in multiple languages including Filipino and Polish. The LTI integration via Tsugi means it plugs into any LMS that speaks LTI without custom glue code. Code examples in code3/ track the book chapters directly, so the pairing is reliable.
Setup requires MAMP + MySQL + PHP + Tsugi submodule checkout with manual config.php editing — the local dev experience is stuck in 2012. Quiz content is in a private repo gated by emailing the author, which makes it effectively unusable for anyone who isn't already teaching the course. The repo conflates three different things (textbook source, course website, and LTI platform) with no clean separation, so figuring out what to actually clone for any given purpose takes reading. JavaScript is listed as the primary language on GitHub but this is fundamentally a PHP application — the metadata is misleading.