I created some of these programs for teaching purposes and others for my own research. Some of them are explained in these slides I created for a number of classes on Python. You can find them here, https://graduate.artsci.wustl.edu/constanza/programming