PyPi compatibility