Welcome!
It’s time for me to start writing up, in one place, my ideas about Python programming patterns that are currently scattered across all of my Python conference talks and writing.
One reason is that, after all of these years, my Python Design Patterns talk from 2012 is still one of my most popular — despite conference video problems that forced me to cut 20 minutes of material! Another is that written material is easier for other programmers to search, browse, and reference, and can be corrected and improved as time goes on.
Inspired by the schedule that Doug Hellmann maintains on his famous Python Module of the Week site, I am going to try writing up one design pattern each week. You can watch for links to new material on my Twitter account:
And with those preliminaries complete, here we go!
.. toctree:: :maxdepth: 2 python/module-globals/index python/prebound-methods/index python/sentinel-object/index
.. toctree:: :maxdepth: 2 gang-of-four/abstract-factory/index gang-of-four/builder/index gang-of-four/factory-method/index gang-of-four/prototype/index gang-of-four/singleton/index
.. toctree:: :maxdepth: 2 gang-of-four/composite/index gang-of-four/decorator-pattern/index gang-of-four/flyweight/index
.. toctree:: :maxdepth: 2 gang-of-four/iterator/index
.. toctree:: :maxdepth: 2 gang-of-four/index fowler-refactoring/index