Python Pari Library?

Posted by silinter on Stack Overflow See other posts from Stack Overflow or by silinter
Published on 2010-03-24T07:53:39Z Indexed on 2010/04/25 13:13 UTC
Read the original article Hit count: 312

Filed under:

Pari/GP is an excellent library for functions relating to number theory. The problem is that there doesn't seem to be an up to date wrapper for python anywhere around, (pari-python uses an old version of pari) and I'm wondering if anyone knows of some other library/wrapper that is similar to pari or one that uses pari.

I'm aware of SAGE, but it's far too large for my needs. GMPY is excellent as well, but there are some intrinsic pari functions that I miss, and I'd much rather use python than the provided GP environment. NZMATH, mpmath, scipy and sympy were all taken into consideration as well.

On a related note, does anyone have any suggestions on loading the pari dll itself and using the functions contained in it? I've tried to very little success, other than loading it and learning about function pointers.

© Stack Overflow or respective owner

Related posts about python