The hopfieldnet library can be used to create and train a Hopfield neural network. Requirements numpy matplotlib - for some of the examples