access primes from pylib