python-gmp 0.5.0a6__cp314-cp314-win_amd64.whl → 0.5.0b2__cp314-cp314-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
gmp.cp314-win_amd64.pyd CHANGED
Binary file
@@ -0,0 +1,2 @@
1
+ Version: 1.12.0
2
+ Arguments: ['C:\\Users\\runneradmin\\AppData\\Local\\Temp\\cibw-run-a5l72k52\\cp314-win_amd64\\build\\venv\\Scripts\\delvewheel', 'repair', '-w', 'C:\\Users\\runneradmin\\AppData\\Local\\Temp\\cibw-run-a5l72k52\\cp314-win_amd64\\repaired_wheel', 'C:\\Users\\runneradmin\\AppData\\Local\\Temp\\cibw-run-a5l72k52\\cp314-win_amd64\\built_wheel\\python_gmp-0.5.0b2-cp314-cp314-win_amd64.whl', '--add-path', '.local/bin']
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-gmp
3
- Version: 0.5.0a6
3
+ Version: 0.5.0b2
4
4
  Summary: Safe bindings to the GNU GMP library
5
5
  Keywords: gmp,multiple-precision,arbitrary-precision,bignum
6
6
  Author-Email: Sergey B Kirpichev <skirpichev@gmail.com>
@@ -15,8 +15,6 @@ Classifier: Operating System :: POSIX
15
15
  Classifier: Programming Language :: C
16
16
  Classifier: Programming Language :: Python :: 3
17
17
  Classifier: Programming Language :: Python :: 3 :: Only
18
- Classifier: Programming Language :: Python :: 3.9
19
- Classifier: Programming Language :: Python :: 3.10
20
18
  Classifier: Programming Language :: Python :: 3.11
21
19
  Classifier: Programming Language :: Python :: 3.12
22
20
  Classifier: Programming Language :: Python :: 3.13
@@ -35,11 +33,14 @@ Project-URL: Homepage, https://github.com/diofant/python-gmp
35
33
  Project-URL: Source Code, https://github.com/diofant/python-gmp
36
34
  Project-URL: Bug Tracker, https://github.com/diofant/python-gmp/issues
37
35
  Project-URL: Documentation, https://python-gmp.readthedocs.io/en/latest/
38
- Requires-Python: >=3.9
36
+ Requires-Python: >=3.11
39
37
  Provides-Extra: tests
40
38
  Requires-Dist: pytest; extra == "tests"
41
39
  Requires-Dist: hypothesis; extra == "tests"
42
- Requires-Dist: mpmath>=1.4.0a7; extra == "tests"
40
+ Requires-Dist: mpmath; extra == "tests"
41
+ Provides-Extra: ci
42
+ Requires-Dist: python-gmp[tests]; extra == "ci"
43
+ Requires-Dist: pytest-xdist; extra == "ci"
43
44
  Provides-Extra: docs
44
45
  Requires-Dist: sphinx>=8.2; extra == "docs"
45
46
  Provides-Extra: develop
@@ -51,16 +52,16 @@ Description-Content-Type: text/x-rst
51
52
  Python-GMP
52
53
  ==========
53
54
 
54
- Python extension module, gmp, providing safe bindings to the GNU GMP (version
55
- 6.3.0 or later required). This module shouldn't crash the interpreter.
55
+ Python extension module, providing bindings to the GNU GMP via the `ZZ library
56
+ <https://github.com/diofant/zz>`_. This module shouldn't crash the interpreter.
56
57
 
57
58
  The gmp can be used as a `gmpy2`_/`python-flint`_ replacement to provide
58
- integer type (`mpz`_), compatible with Python's `int`_. It includes few
59
- functions (`comb`_, `factorial`_, `gcd`_, `isqrt`_, `lcm`_ and `perm`_),
60
- compatible with the Python stdlib's module `math`_.
59
+ integer type (`mpz`_), compatible with Python's `int`_. It also includes
60
+ functions, compatible with the Python stdlib's submodule `math.integer
61
+ <https://docs.python.org/3.15/library/math.integer.html>`_.
61
62
 
62
- This module requires Python 3.9 or later versions and has been tested with
63
- CPython 3.9 through 3.14, with PyPy3.11 7.3.20 and with GraalPy 25.0.
63
+ This module requires Python 3.11 or later versions and has been tested with
64
+ CPython 3.11 through 3.14, with PyPy3.11 7.3.20 and with GraalPy 25.0.
64
65
  Free-threading builds of the CPython are supported.
65
66
 
66
67
  Releases are available in the Python Package Index (PyPI) at
@@ -71,17 +72,16 @@ Motivation
71
72
  ----------
72
73
 
73
74
  The CPython (and most other Python implementations, like PyPy) is optimized to
74
- work with small integers. Algorithms used here for "big enough" integers
75
- usually aren't best known in the field. Fortunately, it's possible to use
76
- bindings (for example, the `gmpy2`_ package) to the GNU Multiple Precision
77
- Arithmetic Library (GMP), which aims to be faster than any other bignum library
78
- for all operand sizes.
79
-
80
- But such extension modules usually rely on default GMP's memory allocation
81
- functions and can't recover from errors such as out of memory. So, it's easy
82
- to crash the Python interpreter during the interactive session. Following
83
- example with the gmpy2 will work if you set address space limit for the Python
84
- interpreter (e.g. by ``prlimit`` command on Linux):
75
+ work with small (machine-sized) integers. Algorithms used here for big
76
+ integers usually aren't best known in the field. Fortunately, it's possible to
77
+ use bindings (for example, the `gmpy2`_ package) to the GNU GMP, which aims to
78
+ be faster than any other bignum library for all operand sizes.
79
+
80
+ But such extension modules usually rely on default GMP's memory management and
81
+ can't recover from allocation failure. So, it's easy to crash the Python
82
+ interpreter during the interactive session. Following example with the gmpy2
83
+ will work if you set address space limit for the Python interpreter (e.g. by
84
+ ``prlimit`` command on Linux):
85
85
 
86
86
  .. code:: pycon
87
87
 
@@ -119,19 +119,11 @@ Warning on --disable-alloca configure option
119
119
  --------------------------------------------
120
120
 
121
121
  You should use the GNU GMP library, compiled with the '--disable-alloca'
122
- configure option to prevent using alloca() for temporary workspace allocation
123
- (and use the heap instead), or this module can't prevent a crash in case of a
124
- stack overflow.
122
+ configure option to prevent using alloca() for temporary workspace allocation,
123
+ or this module may crash the interpreter in case of a stack overflow.
125
124
 
126
125
 
127
126
  .. _gmpy2: https://pypi.org/project/gmpy2/
128
127
  .. _python-flint: https://pypi.org/project/python-flint/
129
128
  .. _mpz: https://python-gmp.readthedocs.io/en/latest/#gmp.mpz
130
129
  .. _int: https://docs.python.org/3/library/functions.html#int
131
- .. _factorial: https://python-gmp.readthedocs.io/en/latest/#gmp.factorial
132
- .. _gcd: https://python-gmp.readthedocs.io/en/latest/#gmp.gcd
133
- .. _isqrt: https://python-gmp.readthedocs.io/en/latest/#gmp.isqrt
134
- .. _lcm: https://python-gmp.readthedocs.io/en/latest/#gmp.lcm
135
- .. _comb: https://python-gmp.readthedocs.io/en/latest/#gmp.comb
136
- .. _perm: https://python-gmp.readthedocs.io/en/latest/#gmp.perm
137
- .. _math: https://docs.python.org/3/library/math.html#number-theoretic-functions
@@ -0,0 +1,11 @@
1
+ gmp.cp314-win_amd64.lib,sha256=K-Wi1XuTx9uca8BIwY5MK7lypN3ODVQxTH-81w8Zhno,1940
2
+ gmp.cp314-win_amd64.pyd,sha256=T_4EAbrecze1u1bYLFgkU5RuuKU9W7rknGOZzSGIO-M,64000
3
+ python_gmp-0.5.0b2.data/platlib/libgcc_s_seh-1-8ac28fe21ad5783af7630f2f0c8f554d.dll,sha256=5s9WNgfltVdZb16GiFZ6ABmgAZnre2j86SADcsJjWIE,150196
4
+ python_gmp-0.5.0b2.data/platlib/libgmp-10-0a23fcab64f9ac2c977ef672e3cdc1de.dll,sha256=CiP8q2T5rCyXfvZy483B3nxw_81OsA8__W1uBXJqLCk,1233503
5
+ python_gmp-0.5.0b2.data/platlib/libwinpthread-1-e271f374468d584905afcdf7da96a6ad.dll,sha256=4nHzdEaNWEkFr8332pamrete4VcCs5hp4gA7DxAvIMQ,64915
6
+ python_gmp-0.5.0b2.data/platlib/libzz-0-8b922d010ade3289a5e66fc1775afa53.dll,sha256=b4I-dVjpw8zPUaSafdwyU53RmW4qUezRdBlH3vY2foM,142091
7
+ python_gmp-0.5.0b2.dist-info/DELVEWHEEL,sha256=pX6t9rxFjY8exS1oMssgFuFAhIlvvH15kvxHwxzUQoA,433
8
+ python_gmp-0.5.0b2.dist-info/METADATA,sha256=IV3wRMBKScopMUbyb3ISJ-3GWPZm9rgNnZd1gNCMZ_4,5042
9
+ python_gmp-0.5.0b2.dist-info/RECORD,,
10
+ python_gmp-0.5.0b2.dist-info/WHEEL,sha256=zFRw8EdpTGuqV4Z3iy5wfyaCeoMRqh3qJhpskUrtGT4,85
11
+ python_gmp-0.5.0b2.dist-info/licenses/LICENSE,sha256=jdP2BAZAlUI2_f_ilPWMjC5Zh1rRwqhPTRylEFRvtv4,1101
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2024-2025 Sergey B Kirpichev
3
+ Copyright (c) 2024-2026 Sergey B Kirpichev
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
gmp.cp314-win_amd64.dll.a DELETED
Binary file
@@ -1,2 +0,0 @@
1
- Version: 1.11.2
2
- Arguments: ['C:\\Users\\runneradmin\\AppData\\Local\\Temp\\cibw-run-q6btovqo\\cp314-win_amd64\\build\\venv\\Scripts\\delvewheel', 'repair', '-w', 'C:\\Users\\runneradmin\\AppData\\Local\\Temp\\cibw-run-q6btovqo\\cp314-win_amd64\\repaired_wheel', 'C:\\Users\\runneradmin\\AppData\\Local\\Temp\\cibw-run-q6btovqo\\cp314-win_amd64\\built_wheel\\python_gmp-0.5.0a6-cp314-cp314-win_amd64.whl', '--add-path', '.local/bin']
@@ -1,10 +0,0 @@
1
- gmp.cp314-win_amd64.dll.a,sha256=9gIJPI8c3eOghd5u99OfcTwuy2lGgIWBZvrlWtLOYtc,1662
2
- gmp.cp314-win_amd64.pyd,sha256=-gsFNbTYohzyqZItdSmskwiMTpDgPb6H715PHDJYz7k,171586
3
- python_gmp-0.5.0a6.data/platlib/libgcc_s_seh-1-ca70890bbc5723b6d0ea31e9c9cded2b.dll,sha256=RmF5Wh3rsUSPLM_swFT8NpVh9Exhb_PfolZQMnVVA38,143872
4
- python_gmp-0.5.0a6.data/platlib/libgmp-10-30199c7e54e058f22aab26f82a05d651.dll,sha256=MBmcflTgWPIqqyb4KgXWUYcZ22Vt35oL5p7H_W82oYw,1232479
5
- python_gmp-0.5.0a6.data/platlib/libwinpthread-1-f5042e8e3d21edce20c1bc99445f551b.dll,sha256=9QQujj0h7c4gwbyZRF9VG4khJAMWTpOI0sb0jW1ry3g,55808
6
- python_gmp-0.5.0a6.dist-info/DELVEWHEEL,sha256=5aXFfPHYKe2mzsom4LU8Gr3Yi-uviJr6IjT2YpVzQDI,433
7
- python_gmp-0.5.0a6.dist-info/METADATA,sha256=ongE_ee3wGKkmjuPc-JAaXleNXQW327DVlTsBzZGnFI,5571
8
- python_gmp-0.5.0a6.dist-info/RECORD,,
9
- python_gmp-0.5.0a6.dist-info/WHEEL,sha256=zFRw8EdpTGuqV4Z3iy5wfyaCeoMRqh3qJhpskUrtGT4,85
10
- python_gmp-0.5.0a6.dist-info/licenses/LICENSE,sha256=VYvuIwcGxeL_yRf79N3QDxWLyLoE6KakR9rIbh25zUs,1101