gmpy (multi-precision arithmetic for python) gmpy is a C-coded Python extension module that provides access to the GMP multiple-precision arithmetic library.