Python port of HUSL