From pyhosted docs