spikingLib.py provides a collection of functions to make a spiking neural network that can be trained with a version of local STDP.
example.py provides an example of an implementation of such a network being trained on the MNIST data set for classification.