primality-test
Pure-Python implementation of the Rabin-Miller primality test.
An exact Python number-theory library covering Bernoulli numbers, Euler zigzag numbers, ζ(n), and prime-based computation of π.