Last semester I was assigned ECC as a project for my Computer Networks Lab, me and my friends wrote these codes in python.
https://github.com/iCHAIT/Elliptical-Curve-Cryptography
You maybe interested in having a look at them. It would be great to hear your feedback. ( Pardon us if our implementation of any algorithm was incorrect, we are still in our learning stages as far as cryptographic algorithms are concerned. )