Python version of uHub