python-gmp 0.5.0b1__cp314-cp314t-win_amd64.whl → 0.5.0b2__cp314-cp314t-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.cp314t-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\\cp314t-win_amd64\\build\\venv\\Scripts\\delvewheel', 'repair', '-w', 'C:\\Users\\runneradmin\\AppData\\Local\\Temp\\cibw-run-a5l72k52\\cp314t-win_amd64\\repaired_wheel', 'C:\\Users\\runneradmin\\AppData\\Local\\Temp\\cibw-run-a5l72k52\\cp314t-win_amd64\\built_wheel\\python_gmp-0.5.0b2-cp314-cp314t-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.0b1
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,17 +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) via the `ZZ library <https://github.com/diofant/zz>`_.
56
- 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.
57
57
 
58
58
  The gmp can be used as a `gmpy2`_/`python-flint`_ replacement to provide
59
- integer type (`mpz`_), compatible with Python's `int`_. It includes few
60
- functions (`comb`_, `factorial`_, `gcd`_, `isqrt`_, `lcm`_ and `perm`_),
61
- 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>`_.
62
62
 
63
- This module requires Python 3.9 or later versions and has been tested with
64
- 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.
65
65
  Free-threading builds of the CPython are supported.
66
66
 
67
67
  Releases are available in the Python Package Index (PyPI) at
@@ -72,17 +72,16 @@ Motivation
72
72
  ----------
73
73
 
74
74
  The CPython (and most other Python implementations, like PyPy) is optimized to
75
- work with small integers. Algorithms used here for "big enough" integers
76
- usually aren't best known in the field. Fortunately, it's possible to use
77
- bindings (for example, the `gmpy2`_ package) to the GNU Multiple Precision
78
- Arithmetic Library (GMP), which aims to be faster than any other bignum library
79
- for all operand sizes.
80
-
81
- But such extension modules usually rely on default GMP's memory allocation
82
- functions and can't recover from errors such as out of memory. So, it's easy
83
- to crash the Python interpreter during the interactive session. Following
84
- example with the gmpy2 will work if you set address space limit for the Python
85
- 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):
86
85
 
87
86
  .. code:: pycon
88
87
 
@@ -120,19 +119,11 @@ Warning on --disable-alloca configure option
120
119
  --------------------------------------------
121
120
 
122
121
  You should use the GNU GMP library, compiled with the '--disable-alloca'
123
- configure option to prevent using alloca() for temporary workspace allocation
124
- (and use the heap instead), or this module can't prevent a crash in case of a
125
- 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.
126
124
 
127
125
 
128
126
  .. _gmpy2: https://pypi.org/project/gmpy2/
129
127
  .. _python-flint: https://pypi.org/project/python-flint/
130
128
  .. _mpz: https://python-gmp.readthedocs.io/en/latest/#gmp.mpz
131
129
  .. _int: https://docs.python.org/3/library/functions.html#int
132
- .. _factorial: https://python-gmp.readthedocs.io/en/latest/#gmp.factorial
133
- .. _gcd: https://python-gmp.readthedocs.io/en/latest/#gmp.gcd
134
- .. _isqrt: https://python-gmp.readthedocs.io/en/latest/#gmp.isqrt
135
- .. _lcm: https://python-gmp.readthedocs.io/en/latest/#gmp.lcm
136
- .. _comb: https://python-gmp.readthedocs.io/en/latest/#gmp.comb
137
- .. _perm: https://python-gmp.readthedocs.io/en/latest/#gmp.perm
138
- .. _math: https://docs.python.org/3/library/math.html#number-theoretic-functions
@@ -0,0 +1,11 @@
1
+ gmp.cp314t-win_amd64.lib,sha256=fCVerYO7yz9C18TRR0VTwZdDTrb9cOwaENIxnZjOKuw,1954
2
+ gmp.cp314t-win_amd64.pyd,sha256=5X3nH7GX9ePlsCwgKGlhhAJvSSGqOjyoy74rj3fmuX8,72704
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=8N6L3sGib_FV_lTKdYmfZ95Avaz8L-YcWhuxcikeA18,437
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=bptiEuhFO_SRCWh6pKadvOBI9eKlFVzU5R6pIzoecmk,86
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
Binary file
@@ -1,2 +0,0 @@
1
- Version: 1.11.2
2
- Arguments: ['C:\\Users\\runneradmin\\AppData\\Local\\Temp\\cibw-run-slzfz2lc\\cp314t-win_amd64\\build\\venv\\Scripts\\delvewheel', 'repair', '-w', 'C:\\Users\\runneradmin\\AppData\\Local\\Temp\\cibw-run-slzfz2lc\\cp314t-win_amd64\\repaired_wheel', 'C:\\Users\\runneradmin\\AppData\\Local\\Temp\\cibw-run-slzfz2lc\\cp314t-win_amd64\\built_wheel\\python_gmp-0.5.0b1-cp314-cp314t-win_amd64.whl', '--add-path', '.local/bin']
@@ -1,11 +0,0 @@
1
- gmp.cp314t-win_amd64.dll.a,sha256=Uv9wjo5YCmaZp7bzoK2OboE4gbt8qIrl1uZBWo4XkGk,1676
2
- gmp.cp314t-win_amd64.pyd,sha256=vL4bkLsaGOQVYR7aM35WYo1-DOK8HYc59jy_i7CPYJ0,150089
3
- python_gmp-0.5.0b1.data/platlib/libgcc_s_seh-1-ca70890bbc5723b6d0ea31e9c9cded2b.dll,sha256=RmF5Wh3rsUSPLM_swFT8NpVh9Exhb_PfolZQMnVVA38,143872
4
- python_gmp-0.5.0b1.data/platlib/libgmp-10-7cb7675773429facd7bda6a44f4c0acb.dll,sha256=fLdnV3NCn6zXvaakT0wKy_-IHMhcCI8pBG1ag9nO1W8,1232479
5
- python_gmp-0.5.0b1.data/platlib/libwinpthread-1-f5042e8e3d21edce20c1bc99445f551b.dll,sha256=9QQujj0h7c4gwbyZRF9VG4khJAMWTpOI0sb0jW1ry3g,55808
6
- python_gmp-0.5.0b1.data/platlib/libzz-0-bed16265a77a1f7b53e69758b4de3a3a.dll,sha256=AFVgVD4HUJvFm9sseQ60oNlpqLoDEdNcP9VBIfXNADA,142192
7
- python_gmp-0.5.0b1.dist-info/DELVEWHEEL,sha256=dr8K9cO56XO7u-yesKVJiGIlPyv2G1MxRJeJJZ2jtzI,437
8
- python_gmp-0.5.0b1.dist-info/METADATA,sha256=dCT2C-aS1sPbWGMbBu2LWG0d05UkZyzB_KK70NbR9yo,5624
9
- python_gmp-0.5.0b1.dist-info/RECORD,,
10
- python_gmp-0.5.0b1.dist-info/WHEEL,sha256=bptiEuhFO_SRCWh6pKadvOBI9eKlFVzU5R6pIzoecmk,86
11
- python_gmp-0.5.0b1.dist-info/licenses/LICENSE,sha256=VYvuIwcGxeL_yRf79N3QDxWLyLoE6KakR9rIbh25zUs,1101