These are several codes that I did in the past that is easy to generalize to other purposes.
Logistic Regression Model.py: The general classification model.
NN 1-10-1.py: A sample Neuron Network with 1 hidden layer of 10 neurons.
Softmax.py: A sample NN with softmax as the output layer.
The files are open to download and use. Please keep the author name.