gmpy2 interface to GMP/MPIR, MPFR, and MPC for Python 2.6+ and 3.4+
Project description
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/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file gmpy2-2.1.0rc2.tar.gz
.
File metadata
- Download URL: gmpy2-2.1.0rc2.tar.gz
- Upload date:
- Size: 258.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4d8a3bc25275265540789c9c703cd1128a1f59b47669e5d80f4e531fa9d62a9 |
|
MD5 | 4182595b26c67e98813e31ef0989b4f0 |
|
BLAKE2b-256 | f1ff50df970e278e97aa33db9f79df7a8667cffdc934ae76f9f387f5f5546bea |
File details
Details for the file gmpy2-2.1.0rc2-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: gmpy2-2.1.0rc2-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 1.0 MB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c598d63ecc7588a1e4914c57305c565b1971b3a081c487865d9f6da67bd7cef0 |
|
MD5 | 1240f18eba1ac17c7a129493fd3eb43a |
|
BLAKE2b-256 | faff5baaa7b334310394f02abadc6c9631c64323875759793b1449a76a17c03a |
File details
Details for the file gmpy2-2.1.0rc2-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.whl
.
File metadata
- Download URL: gmpy2-2.1.0rc2-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.whl
- Upload date:
- Size: 3.5 MB
- Tags: CPython 3.10, manylinux: glibc 2.12+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab4eb71b52254bbcbdd6e1d5df75cf2fcb252cf408a30791a837bc720b629597 |
|
MD5 | 8d92d84d5c189d729ae55adc2eca0055 |
|
BLAKE2b-256 | 8c2b2a7ff6ac01d91d02caf9b509d401714523a13b55a280610e82cdfa709b3b |
File details
Details for the file gmpy2-2.1.0rc2-cp310-cp310-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: gmpy2-2.1.0rc2-cp310-cp310-macosx_10_9_x86_64.whl
- Upload date:
- Size: 802.9 kB
- Tags: CPython 3.10, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25eeec39fd4f0c9f98ed5de7cc3f64fcf285d38ee8239e256fed1c7340681821 |
|
MD5 | 19b1d406ea0012c683a6fed51cbf96ac |
|
BLAKE2b-256 | c5297078a50bb7fb058854b62f24348df91404500163cbe2f14bce5024d0bcd4 |
File details
Details for the file gmpy2-2.1.0rc2-cp39-cp39-win_amd64.whl
.
File metadata
- Download URL: gmpy2-2.1.0rc2-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 1.0 MB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a3c5c0d497523b07a7fcfe624df23e336245179c9996b531ca5d5ee6c76c029 |
|
MD5 | d691fe1e600a601dbc799222d016a234 |
|
BLAKE2b-256 | c463c409f51261de0be5e9f8786ac0b689ec8f6dbb42bc9eaa1d8dfe1fea1d01 |
File details
Details for the file gmpy2-2.1.0rc2-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
.
File metadata
- Download URL: gmpy2-2.1.0rc2-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
- Upload date:
- Size: 3.5 MB
- Tags: CPython 3.9, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6ad761ff38efeffe508233559cb9886593e5a0c2f1209d7f7ff62488e3e5e8f |
|
MD5 | 16b156007fe320bd4229335c5c93aacc |
|
BLAKE2b-256 | a22a6270f715a10608e00d19fdf064cc2a0fe13bdb89a454f4a90b624e3c02e2 |
File details
Details for the file gmpy2-2.1.0rc2-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.whl
.
File metadata
- Download URL: gmpy2-2.1.0rc2-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.whl
- Upload date:
- Size: 3.5 MB
- Tags: CPython 3.9, manylinux: glibc 2.12+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0d8b4b6262c16183b812eb50da63f92310e5902cf407f6cda2c6cf0c6ea5848 |
|
MD5 | 79dcc305115203c04afc23c81297937c |
|
BLAKE2b-256 | 794fbc3b9d564d7b8c069a481a26a8f61f0a33a14006abb7734e380944273dc7 |
File details
Details for the file gmpy2-2.1.0rc2-cp39-cp39-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: gmpy2-2.1.0rc2-cp39-cp39-macosx_10_9_x86_64.whl
- Upload date:
- Size: 802.9 kB
- Tags: CPython 3.9, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e999667232bf05ef985e709f5019e0639c86ae32f823d5c6ff44800c98a5a00f |
|
MD5 | 2c21a1fe2a690afc49e6e688103a2817 |
|
BLAKE2b-256 | 9534adecbfd101d5252b581176661c072442fac843c06f5bde7487394f3b9fe4 |
File details
Details for the file gmpy2-2.1.0rc2-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: gmpy2-2.1.0rc2-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 1.0 MB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fd7c503ac647805aa6a90d9a30c15c7d118e3d952bf39719d03797aeeafd8ae |
|
MD5 | 22e9d25150f16ca4896ac42557b921ab |
|
BLAKE2b-256 | 114ebcf087226e20b342514c3828926c202c6d70d4a4326f9bf44a1696344d22 |
File details
Details for the file gmpy2-2.1.0rc2-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
.
File metadata
- Download URL: gmpy2-2.1.0rc2-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
- Upload date:
- Size: 3.6 MB
- Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b3dce7f0cb1ddb1ec1865b4e79972367b9864bab70d53a3f96a780c1922a6da |
|
MD5 | a8d2aa1ec841ccb5d42b058b46afaa32 |
|
BLAKE2b-256 | 96d3687007574c25adb12f24c1562c535ea0ff813321050b3215e89d1387a56b |
File details
Details for the file gmpy2-2.1.0rc2-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl
.
File metadata
- Download URL: gmpy2-2.1.0rc2-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl
- Upload date:
- Size: 3.5 MB
- Tags: CPython 3.8, manylinux: glibc 2.12+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00d3c6cddc9a17c07b35b8cb0a767aa75d9cb9b202ecc69f25b9db01a13cc0d0 |
|
MD5 | 5b17f219be89dd268aa83fc3bcc992d1 |
|
BLAKE2b-256 | 3c0dc942a8d51e3b69f6351e715c22ec5605a7f5b3f0f270ae415cc68d1fc54e |
File details
Details for the file gmpy2-2.1.0rc2-cp38-cp38-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: gmpy2-2.1.0rc2-cp38-cp38-macosx_10_9_x86_64.whl
- Upload date:
- Size: 804.6 kB
- Tags: CPython 3.8, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab8fc16ad34d2307233efb8528e479f26eccdfdbe8fd0dd4716984d2ecb89bf6 |
|
MD5 | 28cce2612d763e9d4cf08d31c2f2ebcd |
|
BLAKE2b-256 | 40ef760787a0fadd5ee1ef8c5020b0c012600ac87e4381244dc2c5192770337e |
File details
Details for the file gmpy2-2.1.0rc2-cp37-cp37m-win_amd64.whl
.
File metadata
- Download URL: gmpy2-2.1.0rc2-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 1.0 MB
- Tags: CPython 3.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ad51163bfc200698d9044ae1a942048d935467736ace25c20a38195c63edb8b |
|
MD5 | a3793f05abe2439eaa07d53ee028f0e7 |
|
BLAKE2b-256 | f5b2a90d5dfecfc9c4c53b18d1747bcfd26dab96813b1b1ef747691c1992eed1 |
File details
Details for the file gmpy2-2.1.0rc2-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
.
File metadata
- Download URL: gmpy2-2.1.0rc2-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
- Upload date:
- Size: 3.5 MB
- Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc4b63a34996708b7eef8be2d55045c92f7b849ec0dac19ff80fe173aa77844e |
|
MD5 | 96262d59ec40cd7d5d7fa8db911bd6b3 |
|
BLAKE2b-256 | a0d1d59832cdb44730b53db7103efdfff5b33357e0d0133b32ef0d7b8d2e0d42 |
File details
Details for the file gmpy2-2.1.0rc2-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.whl
.
File metadata
- Download URL: gmpy2-2.1.0rc2-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.whl
- Upload date:
- Size: 3.4 MB
- Tags: CPython 3.7m, manylinux: glibc 2.12+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5151dc82bb5575bd0cd6f29808222d65965ec012451d2f7bdb524833049ba512 |
|
MD5 | 1c9f364f7797af3bd1b6bd9f9b87b0c1 |
|
BLAKE2b-256 | ce8b0f86f7b755793cb43d887550860c6ee1a9f40f3bc62d9050c654dc7e24ab |
File details
Details for the file gmpy2-2.1.0rc2-cp37-cp37m-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: gmpy2-2.1.0rc2-cp37-cp37m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 810.8 kB
- Tags: CPython 3.7m, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5232d21f745c110ee296625c330178a01d245dd59c56c96706ec1842ca4196ad |
|
MD5 | 092c592b9aa491e8e3ee7b5b6cb3c60d |
|
BLAKE2b-256 | 9541d83595e492dfe70413b06eb81e387421693d3cd570c0193fcb4ba808b04f |
File details
Details for the file gmpy2-2.1.0rc2-cp36-cp36m-win_amd64.whl
.
File metadata
- Download URL: gmpy2-2.1.0rc2-cp36-cp36m-win_amd64.whl
- Upload date:
- Size: 1.0 MB
- Tags: CPython 3.6m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e44e99fd833b4ff6f1208e1d84f693a80d23a435b353925ead7999dd991afa6 |
|
MD5 | 1797d77abc0f53bd3b96bee4115bc88c |
|
BLAKE2b-256 | 63a2908c1b1678ed9f745a6ec51ab44b29a0506948f6167a1ff566ceb092d19c |
File details
Details for the file gmpy2-2.1.0rc2-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
.
File metadata
- Download URL: gmpy2-2.1.0rc2-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
- Upload date:
- Size: 3.5 MB
- Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72844312e8800d9a4f96fc197d7411a9a5b0fd1130cfc29da69411edc5cdbc57 |
|
MD5 | bfdb247c071a6b2bc80c4131175b466a |
|
BLAKE2b-256 | 64a1b8b86a608c2061b21552341b47bc8a4e7540a2a81ed9299054f6ae428747 |
File details
Details for the file gmpy2-2.1.0rc2-cp36-cp36m-manylinux_2_12_i686.manylinux2010_i686.whl
.
File metadata
- Download URL: gmpy2-2.1.0rc2-cp36-cp36m-manylinux_2_12_i686.manylinux2010_i686.whl
- Upload date:
- Size: 3.4 MB
- Tags: CPython 3.6m, manylinux: glibc 2.12+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95f9e5e9e95bce4635d5692d334b60e5f40ea976c89c2cbfc22a413acd747044 |
|
MD5 | da310607e4f1505a5ad0662dfc6deffd |
|
BLAKE2b-256 | 3ef784bc6a241511ccb1a2b923c49022c26dff085346833b153444ab97ef07ce |
File details
Details for the file gmpy2-2.1.0rc2-cp36-cp36m-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: gmpy2-2.1.0rc2-cp36-cp36m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 810.7 kB
- Tags: CPython 3.6m, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a34eb3e5bf9effa9d6942846c1aa10a46a365fa91491bdacee182ebf300aa55 |
|
MD5 | 43639f2d6c530fe212d7cdfdedb978b1 |
|
BLAKE2b-256 | c1a4e349e74e4511ae40830b69a5699a74dc3011efced11c5284a5ad81ef879c |
File details
Details for the file gmpy2-2.1.0rc2-cp35-cp35m-win_amd64.whl
.
File metadata
- Download URL: gmpy2-2.1.0rc2-cp35-cp35m-win_amd64.whl
- Upload date:
- Size: 1.0 MB
- Tags: CPython 3.5m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 038b45d59aa2bfe361b2bf76bcc6da0d126fafec7cd0de4a9340b5c7c41c6eeb |
|
MD5 | cdc07d40a04d77633d9533eaa0bfa671 |
|
BLAKE2b-256 | f066ef3d82f8a23d8a8e1a7787f533fb1471388e05960f6927ab59b4f301a8d3 |
File details
Details for the file gmpy2-2.1.0rc2-cp27-cp27m-win_amd64.whl
.
File metadata
- Download URL: gmpy2-2.1.0rc2-cp27-cp27m-win_amd64.whl
- Upload date:
- Size: 1.0 MB
- Tags: CPython 2.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7b151779e87f41503551de52ca4e27fa8c366f0d211aee2bdc454339a501d1a |
|
MD5 | f3924323b07860833c2cc367958f6ce7 |
|
BLAKE2b-256 | e79c1a323f27cf401adca492e8ced999a287c5e3b415168530cde588ac75042c |