Anyone interested in packaging this, please also check out the pytyle3 project. https://github.com/BurntSushi/pytyle3