passagemath-cmr 10.6.45__cp313-cp313-macosx_13_0_arm64.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.

Potentially problematic release.


This version of passagemath-cmr might be problematic. Click here for more details.

Binary file
Binary file
@@ -0,0 +1,3 @@
1
+ # sage_setup: distribution = sagemath-cmr
2
+
3
+ from sage.all__sagemath_cmr import *
@@ -0,0 +1,178 @@
1
+ Metadata-Version: 2.4
2
+ Name: passagemath-cmr
3
+ Version: 10.6.45
4
+ Summary: passagemath: Combinatorial matrix recognition
5
+ Author-email: The Sage Developers <sage-support@googlegroups.com>
6
+ Maintainer: Matthias Köppe, passagemath contributors
7
+ License-Expression: GPL-2.0-or-later
8
+ Project-URL: release notes, https://github.com/passagemath/passagemath/releases
9
+ Project-URL: repo (upstream), https://github.com/sagemath/sage
10
+ Project-URL: repo, https://github.com/passagemath/passagemath
11
+ Project-URL: documentation, https://passagemath.org/docs/latest
12
+ Project-URL: homepage (upstream), https://www.sagemath.org
13
+ Project-URL: discourse, https://passagemath.discourse.group
14
+ Project-URL: tracker (upstream), https://github.com/sagemath/sage/issues
15
+ Project-URL: tracker, https://github.com/passagemath/passagemath/issues
16
+ Classifier: Development Status :: 6 - Mature
17
+ Classifier: Intended Audience :: Education
18
+ Classifier: Intended Audience :: Science/Research
19
+ Classifier: Operating System :: POSIX
20
+ Classifier: Operating System :: POSIX :: Linux
21
+ Classifier: Operating System :: MacOS :: MacOS X
22
+ Classifier: Operating System :: Microsoft :: Windows
23
+ Classifier: Programming Language :: Python :: 3 :: Only
24
+ Classifier: Programming Language :: Python :: 3.10
25
+ Classifier: Programming Language :: Python :: 3.11
26
+ Classifier: Programming Language :: Python :: 3.12
27
+ Classifier: Programming Language :: Python :: 3.13
28
+ Classifier: Programming Language :: Python :: 3.14
29
+ Classifier: Programming Language :: Python :: Implementation :: CPython
30
+ Classifier: Topic :: Scientific/Engineering :: Mathematics
31
+ Requires-Python: <3.15,>=3.10
32
+ Description-Content-Type: text/x-rst
33
+ Requires-Dist: cysignals!=1.12.4; sys_platform == "win32"
34
+ Requires-Dist: cysignals!=1.12.0,>=1.11.2
35
+ Requires-Dist: passagemath-modules~=10.6.45.0
36
+ Requires-Dist: passagemath-graphs~=10.6.45.0
37
+ Provides-Extra: test
38
+ Requires-Dist: passagemath-repl~=10.6.45.0; extra == "test"
39
+ Requires-Dist: passagemath-pari~=10.6.45.0; extra == "test"
40
+
41
+ ==========================================================================
42
+ passagemath: Combinatorial matrix recognition
43
+ ==========================================================================
44
+
45
+ `passagemath <https://github.com/passagemath/passagemath>`__ is open
46
+ source mathematical software in Python, released under the GNU General
47
+ Public Licence GPLv2+.
48
+
49
+ It is a fork of `SageMath <https://www.sagemath.org/>`__, which has been
50
+ developed 2005-2025 under the motto “Creating a Viable Open Source
51
+ Alternative to Magma, Maple, Mathematica, and MATLAB”.
52
+
53
+ The passagemath fork uses the motto "Creating a Free Passage Between the
54
+ Scientific Python Ecosystem and Mathematical Software Communities."
55
+ It was created in October 2024 with the following goals:
56
+
57
+ - providing modularized installation with pip,
58
+ - establishing first-class membership in the scientific Python
59
+ ecosystem,
60
+ - giving `clear attribution of upstream
61
+ projects <https://groups.google.com/g/sage-devel/c/6HO1HEtL1Fs/m/G002rPGpAAAJ>`__,
62
+ - providing independently usable Python interfaces to upstream
63
+ libraries,
64
+ - offering `platform portability and integration testing
65
+ services <https://github.com/passagemath/passagemath/issues/704>`__
66
+ to upstream projects,
67
+ - inviting collaborations with upstream projects,
68
+ - `building a professional, respectful, inclusive
69
+ community <https://groups.google.com/g/sage-devel/c/xBzaINHWwUQ>`__,
70
+ - `empowering Sage users to participate in the scientific Python ecosystem
71
+ <https://github.com/passagemath/passagemath/issues/248>`__ by publishing packages,
72
+ - developing a port to `Pyodide <https://pyodide.org/en/stable/>`__ for
73
+ serverless deployment with Javascript,
74
+ - developing a native Windows port.
75
+
76
+ `Full documentation <https://passagemath.org/docs/latest/html/en/index.html>`__ is
77
+ available online.
78
+
79
+ passagemath attempts to support and provides binary wheels suitable for
80
+ all major Linux distributions and recent versions of macOS.
81
+
82
+ Binary wheels for native Windows (x86_64) are are available for a subset of
83
+ the passagemath distributions. Use of the full functionality of passagemath
84
+ on Windows currently requires the use of Windows Subsystem for Linux (WSL)
85
+ or virtualization.
86
+
87
+ The supported Python versions in the passagemath 10.6.x series are 3.10.x-3.14.x.
88
+
89
+
90
+ About this pip-installable distribution package
91
+ -----------------------------------------------
92
+
93
+ This pip-installable distribution ``passagemath-cmr`` is a small
94
+ optional distribution for use with `passagemath-modules <https://pypi.org/project/passagemath-modules/>`_ and
95
+ `passagemath-graphs <https://pypi.org/project/passagemath-graphs/>`_.
96
+
97
+ It provides a Cython interface to the
98
+ `CMR library <https://github.com/discopt/cmr>`_,
99
+ which implements recognition and decomposition algorithms for:
100
+
101
+ - Totally Unimodular Matrices
102
+ - Network Matrices
103
+ - Complementary Totally Unimodular Matrices
104
+ - (Strongly) Equimodular and Unimodular Matrices
105
+ - Regular Matroids
106
+ - Graphic / Cographic / Planar Matrices
107
+ - Series-Parallel Matroids
108
+
109
+
110
+ Examples
111
+ --------
112
+
113
+ ::
114
+
115
+ $ pipx run --pip-args="--prefer-binary" --spec "passagemath-cmr[test]" ipython
116
+
117
+ In [1]: from passagemath_cmr import *
118
+
119
+ In [2]: from sage.matrix.matrix_cmr_sparse import Matrix_cmr_chr_sparse
120
+
121
+ In [3]: M = Matrix_cmr_chr_sparse(MatrixSpace(ZZ, 3, 3, sparse=True), [[1, 0, 1], [0, 1, 1], [1, 2, 3]]); M
122
+ Out[3]:
123
+ [1 0 1]
124
+ [0 1 1]
125
+ [1 2 3]
126
+
127
+ In [4]: M.is_unimodular()
128
+ Out[4]: True
129
+
130
+ In [5]: M.is_strongly_unimodular()
131
+ Out[5]: False
132
+
133
+
134
+ Development
135
+ -----------
136
+
137
+ ::
138
+
139
+ $ git clone --origin passagemath https://github.com/passagemath/passagemath.git # or use your fork
140
+ $ cd passagemath
141
+ passagemath $ ./bootstrap
142
+ passagemath $ source ./.homebrew-build-env # on macOS when homebrew is in use
143
+ passagemath $ export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/wsl/lib # on WSL
144
+ passagemath $ export PIP_CONSTRAINT="$(pwd)/constraints_cmr.txt"
145
+ passagemath $ export PIP_BUILD_CONSTRAINT="$(pwd)/constraints_cmr.txt"
146
+ passagemath $ echo "passagemath-categories @ file://$(pwd)/pkgs/sagemath-categories" >> constraints_cmr.txt
147
+ passagemath $ echo "passagemath-modules @ file://$(pwd)/pkgs/sagemath-modules" >> constraints_cmr.txt
148
+ passagemath $ python3 -m venv cmr-venv
149
+ passagemath $ source cmr-venv/bin/activate
150
+ (cmr-venv) passagemath $ pip install -v -e pkgs/sagemath-cmr \
151
+ -e pkgs/sagemath-modules \
152
+ -e pkgs/sagemath-categories
153
+
154
+ Modularized use::
155
+
156
+ (cmr-venv) passagemath $ pip install -v passagemath-repl
157
+ (cmr-venv) passagemath $ sage
158
+ ... sage.all is not available ...
159
+ sage: from passagemath_modules import *
160
+ sage: matroids.Uniform(3, 4)
161
+ U(3, 4): Matroid of rank 3 on 4 elements with circuit-closures
162
+ {3: {{0, 1, 2, 3}}}
163
+
164
+ In plain Python::
165
+
166
+ (cmr-venv) passagemath $ python3
167
+ >>> from passagemath_modules import *
168
+ >>> matroids.Uniform(3, 4)
169
+ U(3, 4): Matroid of rank 3 on 4 elements with circuit-closures
170
+ {3: {{0, 1, 2, 3}}}
171
+
172
+ For full functionality of Sage::
173
+
174
+ (cmr-venv) passagemath $ pip install -v passagemath-standard
175
+ (cmr-venv) passagemath $ sage
176
+ sage: matroids.Uniform(3, 4)
177
+ U(3, 4): Matroid of rank 3 on 4 elements with circuit-closures
178
+ {3: {{0, 1, 2, 3}}}
@@ -0,0 +1,20 @@
1
+ passagemath_cmr/__init__.py,sha256=tDxhxUX03EveX4yavWoPphSnQy6Hfch7TjnNMIY-hLU,80
2
+ passagemath_cmr/.dylibs/libcmr.dylib,sha256=Qm_NNJlODQBVjU-prEtr2gGCW8Q9JTjMOq4veveho5s,902496
3
+ passagemath_cmr/.dylibs/libgmp.10.dylib,sha256=We8MrE3Zc8HdrD9rrZpfQJcJWJy0ve4KRRmHK_8WUQk,446592
4
+ passagemath_cmr-10.6.45.dist-info/RECORD,,
5
+ passagemath_cmr-10.6.45.dist-info/WHEEL,sha256=3nGTNPbC365k_6GdjwhPEXjCjjs8Hcvwv2QiRhIvSGc,153
6
+ passagemath_cmr-10.6.45.dist-info/top_level.txt,sha256=CKOQrDewaLP2icikzyFWWNW_krYi3PwlBbqZm_FYt6g,22
7
+ passagemath_cmr-10.6.45.dist-info/METADATA,sha256=_rJHiKI596o9birN0QUdOwZCjESIRcKpmaoyQXXUC8M,7357
8
+ sage/all__sagemath_cmr.py,sha256=KR76vnXfmqtz5FA-qDWl-bKa_ltk6s_L01y6zi3VleM,144
9
+ sage/libs/all__sagemath_cmr.py,sha256=qPVTT6gyP0yYSmMXuAIGeRCUG42fV2IhXKSX9Ke1pa0,42
10
+ sage/libs/cmr/cmr.pxd,sha256=5LFDFXs20sVJoLprRTkfU0qX3SkHtdkdLiFs5B6CCGU,31667
11
+ sage/libs/cmr/__init__.py,sha256=qPVTT6gyP0yYSmMXuAIGeRCUG42fV2IhXKSX9Ke1pa0,42
12
+ sage/libs/cmr/cmr.pyx,sha256=h-maxhuJKYDr77zggNg9L7qyaTgRu51_MEXitaI_sdY,861
13
+ sage/libs/cmr/cmr.cpython-313-darwin.so,sha256=5z-GT2noUIpaZuDy-Ply8RzGS6fAx7mFEJoXMPR1ryc,55960
14
+ sage/matrix/all__sagemath_cmr.py,sha256=qPVTT6gyP0yYSmMXuAIGeRCUG42fV2IhXKSX9Ke1pa0,42
15
+ sage/matrix/matrix_cmr_sparse.pyx,sha256=vC-v5BXvtdjgsRipqtX4uhRWLt1s2ESyzr3-3hbQfLQ,249381
16
+ sage/matrix/seymour_decomposition.pxd,sha256=QYse5YnIa_Dk8NGLU991eFe5u0PzxT_qM0KfXITdt4E,1186
17
+ sage/matrix/matrix_cmr_sparse.cpython-313-darwin.so,sha256=6PYkQ49331J-XpsrAe_GKOY4B3rr1goRByuj5vjrOp4,711816
18
+ sage/matrix/seymour_decomposition.cpython-313-darwin.so,sha256=iE-rC_oZfNq_zq0NvP9TTjI9VbH02OAnu6TMBnCpenE,768200
19
+ sage/matrix/seymour_decomposition.pyx,sha256=YS1BpLgFLWTwcqe0EJqlgRl0vRUX-ZhBRKAdgvyZe_U,197498
20
+ sage/matrix/matrix_cmr_sparse.pxd,sha256=EROkdgXmem-ZgdXHKl7Nke_mZC_HKCZPRjocWcyivwY,1095
@@ -0,0 +1,6 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp313-cp313-macosx_13_0_arm64
5
+ Generator: delocate 0.13.1.dev42+ga0af70b54
6
+
@@ -0,0 +1,3 @@
1
+
2
+ passagemath_cmr
3
+ sage
@@ -0,0 +1,5 @@
1
+ # sage_setup: distribution = sagemath-cmr
2
+ # delvewheel: patch
3
+
4
+ from sage.all__sagemath_graphs import *
5
+ from sage.all__sagemath_modules import *
@@ -0,0 +1 @@
1
+ # sage_setup: distribution = sagemath-cmr
@@ -0,0 +1 @@
1
+ # sage_setup: distribution = sagemath-cmr
Binary file