github is the project page
Python3 compatibility

relative imports
str/unicode hacks
StringIO from io package