Python Number Theory Library