The essence of coolness: Bruce Eckel’s Python 3 Patterns & Idioms is available as a fork-able repo on Bitbucket.
I am already pretty well committed to using Scrivener for the current book, but maybe the next book will use some infrastructure like this. (Assuming publishers will allow such things.)