gmpy2 interface to GMP/MPIR, MPFR, and MPC for Python 2.6+ and 3.4+
gmpy2 is an optimized, C-coded Python extension module that supports fast multiple-precision arithmetic. gmpy2 is based on the original gmpy module. gmpy2 adds support for correctly rounded multiple-precision real arithmetic (using the MPFR library) and complex arithmetic (using the MPC library).
The gmpy2 2.0.x series is a stable version that is only receiving bug fixes. The main development branch (2.1.x) was extensively refactored. The most significant changes are support for thread-safe contexts and context methods.
gmpy2 is available at https://pypi.python.org/pypi/gmpy2/
Documentation is available at https://gmpy2.readthedocs.io/en/latest/
Release history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size gmpy2-2.1.0b1-py3.7-linux-x86_64.egg (754.7 kB)||File type Egg||Python version 3.7||Upload date||Hashes View hashes|
|Filename, size gmpy2-2.1.0b1-py3.8-linux-x86_64.egg (867.5 kB)||File type Egg||Python version 3.8||Upload date||Hashes View hashes|
|Filename, size gmpy2-2.1.0b1.tar.gz (256.8 kB)||File type Source||Python version None||Upload date||Hashes View hashes|
Hashes for gmpy2-2.1.0b1-py3.7-linux-x86_64.egg
Hashes for gmpy2-2.1.0b1-py3.8-linux-x86_64.egg