Python implementation of HUSL