First release. Added compatibility with py2 and py3.