pythonic wrapper for libhts