Skip to main content

MPIR/GMP interface to Python 2.4+ and 3.x

Project description

General MultiPrecision arithmetic for Python

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

gmpy 1.17 is the final release of the 1.x series. No further updates are planned. All further development is occurring in the 2.x series, also known as gmpy2. Please see https://pypi.python.org/pypi/gmpy2/ for the latest 2.x releases.

GMPY allows creation of multiprecision integer (mpz), float (mpf),and rational (mpq) numbers, conversion between them and to/from Python numbers/strings, arithmetic, bitwise, and some other higher-level mathematical operations.

Version 1.17 only fixes compatibility with Python 3.x and other C extensions that use gmpy.

Version 1.16 fixes a minor issue with the new Decimal type in Python 3.3.

Version 1.15 was the last significant release.

Project details


Release history Release notifications

History Node

1.17

History Node

1.16

This version
History Node

1.15

History Node

1.14

History Node

1.11rc1

History Node

1.02

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
gmpy-1.15.zip (143.6 kB) Copy SHA256 hash SHA256 Source None Apr 15, 2012

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page