passagemath-cmr 10.6.33__cp314-cp314t-macosx_13_0_x86_64.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.
- passagemath_cmr-10.6.33.dist-info/METADATA +177 -0
- passagemath_cmr-10.6.33.dist-info/RECORD +19 -0
- passagemath_cmr-10.6.33.dist-info/WHEEL +6 -0
- passagemath_cmr-10.6.33.dist-info/top_level.txt +2 -0
- passagemath_cmr.dylibs/libcmr.dylib +0 -0
- passagemath_cmr.dylibs/libgmp.10.dylib +0 -0
- sage/all__sagemath_cmr.py +5 -0
- sage/libs/all__sagemath_cmr.py +1 -0
- sage/libs/cmr/__init__.py +1 -0
- sage/libs/cmr/cmr.cpython-314t-darwin.so +0 -0
- sage/libs/cmr/cmr.pxd +600 -0
- sage/libs/cmr/cmr.pyx +24 -0
- sage/matrix/all__sagemath_cmr.py +1 -0
- sage/matrix/matrix_cmr_sparse.cpython-314t-darwin.so +0 -0
- sage/matrix/matrix_cmr_sparse.pxd +33 -0
- sage/matrix/matrix_cmr_sparse.pyx +5749 -0
- sage/matrix/seymour_decomposition.cpython-314t-darwin.so +0 -0
- sage/matrix/seymour_decomposition.pxd +46 -0
- sage/matrix/seymour_decomposition.pyx +4526 -0
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: passagemath-cmr
|
|
3
|
+
Version: 10.6.33
|
|
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 :: Implementation :: CPython
|
|
29
|
+
Classifier: Topic :: Scientific/Engineering :: Mathematics
|
|
30
|
+
Requires-Python: <3.15,>=3.10
|
|
31
|
+
Description-Content-Type: text/x-rst
|
|
32
|
+
Requires-Dist: cysignals<1.12.4; sys_platform == "win32"
|
|
33
|
+
Requires-Dist: cysignals!=1.12.0,>=1.11.2
|
|
34
|
+
Requires-Dist: passagemath-modules~=10.6.33.0
|
|
35
|
+
Requires-Dist: passagemath-graphs~=10.6.33.0
|
|
36
|
+
Provides-Extra: test
|
|
37
|
+
Requires-Dist: passagemath-repl~=10.6.33.0; extra == "test"
|
|
38
|
+
Requires-Dist: passagemath-pari~=10.6.33.0; extra == "test"
|
|
39
|
+
|
|
40
|
+
==========================================================================
|
|
41
|
+
passagemath: Combinatorial matrix recognition
|
|
42
|
+
==========================================================================
|
|
43
|
+
|
|
44
|
+
`passagemath <https://github.com/passagemath/passagemath>`__ is open
|
|
45
|
+
source mathematical software in Python, released under the GNU General
|
|
46
|
+
Public Licence GPLv2+.
|
|
47
|
+
|
|
48
|
+
It is a fork of `SageMath <https://www.sagemath.org/>`__, which has been
|
|
49
|
+
developed 2005-2025 under the motto “Creating a Viable Open Source
|
|
50
|
+
Alternative to Magma, Maple, Mathematica, and MATLAB”.
|
|
51
|
+
|
|
52
|
+
The passagemath fork uses the motto "Creating a Free Passage Between the
|
|
53
|
+
Scientific Python Ecosystem and Mathematical Software Communities."
|
|
54
|
+
It was created in October 2024 with the following goals:
|
|
55
|
+
|
|
56
|
+
- providing modularized installation with pip,
|
|
57
|
+
- establishing first-class membership in the scientific Python
|
|
58
|
+
ecosystem,
|
|
59
|
+
- giving `clear attribution of upstream
|
|
60
|
+
projects <https://groups.google.com/g/sage-devel/c/6HO1HEtL1Fs/m/G002rPGpAAAJ>`__,
|
|
61
|
+
- providing independently usable Python interfaces to upstream
|
|
62
|
+
libraries,
|
|
63
|
+
- offering `platform portability and integration testing
|
|
64
|
+
services <https://github.com/passagemath/passagemath/issues/704>`__
|
|
65
|
+
to upstream projects,
|
|
66
|
+
- inviting collaborations with upstream projects,
|
|
67
|
+
- `building a professional, respectful, inclusive
|
|
68
|
+
community <https://groups.google.com/g/sage-devel/c/xBzaINHWwUQ>`__,
|
|
69
|
+
- `empowering Sage users to participate in the scientific Python ecosystem
|
|
70
|
+
<https://github.com/passagemath/passagemath/issues/248>`__ by publishing packages,
|
|
71
|
+
- developing a port to `Pyodide <https://pyodide.org/en/stable/>`__ for
|
|
72
|
+
serverless deployment with Javascript,
|
|
73
|
+
- developing a native Windows port.
|
|
74
|
+
|
|
75
|
+
`Full documentation <https://passagemath.org/docs/latest/html/en/index.html>`__ is
|
|
76
|
+
available online.
|
|
77
|
+
|
|
78
|
+
passagemath attempts to support and provides binary wheels suitable for
|
|
79
|
+
all major Linux distributions and recent versions of macOS.
|
|
80
|
+
|
|
81
|
+
Binary wheels for native Windows (x86_64) are are available for a subset of
|
|
82
|
+
the passagemath distributions. Use of the full functionality of passagemath
|
|
83
|
+
on Windows currently requires the use of Windows Subsystem for Linux (WSL)
|
|
84
|
+
or virtualization.
|
|
85
|
+
|
|
86
|
+
The supported Python versions in the passagemath 10.6.x series are 3.10.x-3.13.x.
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
About this pip-installable distribution package
|
|
90
|
+
-----------------------------------------------
|
|
91
|
+
|
|
92
|
+
This pip-installable distribution ``passagemath-cmr`` is a small
|
|
93
|
+
optional distribution for use with `passagemath-modules <https://pypi.org/project/passagemath-modules/>`_ and
|
|
94
|
+
`passagemath-graphs <https://pypi.org/project/passagemath-graphs/>`_.
|
|
95
|
+
|
|
96
|
+
It provides a Cython interface to the
|
|
97
|
+
`CMR library <https://github.com/discopt/cmr>`_,
|
|
98
|
+
which implements recognition and decomposition algorithms for:
|
|
99
|
+
|
|
100
|
+
- Totally Unimodular Matrices
|
|
101
|
+
- Network Matrices
|
|
102
|
+
- Complementary Totally Unimodular Matrices
|
|
103
|
+
- (Strongly) Equimodular and Unimodular Matrices
|
|
104
|
+
- Regular Matroids
|
|
105
|
+
- Graphic / Cographic / Planar Matrices
|
|
106
|
+
- Series-Parallel Matroids
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
Examples
|
|
110
|
+
--------
|
|
111
|
+
|
|
112
|
+
::
|
|
113
|
+
|
|
114
|
+
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-cmr[test]" ipython
|
|
115
|
+
|
|
116
|
+
In [1]: from sage.all__sagemath_cmr import *
|
|
117
|
+
|
|
118
|
+
In [2]: from sage.matrix.matrix_cmr_sparse import Matrix_cmr_chr_sparse
|
|
119
|
+
|
|
120
|
+
In [3]: M = Matrix_cmr_chr_sparse(MatrixSpace(ZZ, 3, 3, sparse=True), [[1, 0, 1], [0, 1, 1], [1, 2, 3]]); M
|
|
121
|
+
Out[3]:
|
|
122
|
+
[1 0 1]
|
|
123
|
+
[0 1 1]
|
|
124
|
+
[1 2 3]
|
|
125
|
+
|
|
126
|
+
In [4]: M.is_unimodular()
|
|
127
|
+
Out[4]: True
|
|
128
|
+
|
|
129
|
+
In [5]: M.is_strongly_unimodular()
|
|
130
|
+
Out[5]: False
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
Development
|
|
134
|
+
-----------
|
|
135
|
+
|
|
136
|
+
::
|
|
137
|
+
|
|
138
|
+
$ git clone --origin passagemath https://github.com/passagemath/passagemath.git # or use your fork
|
|
139
|
+
$ cd passagemath
|
|
140
|
+
passagemath $ ./bootstrap
|
|
141
|
+
passagemath $ source ./.homebrew-build-env # on macOS when homebrew is in use
|
|
142
|
+
passagemath $ export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/wsl/lib # on WSL
|
|
143
|
+
passagemath $ export PIP_CONSTRAINT="$(pwd)/constraints_cmr.txt"
|
|
144
|
+
passagemath $ export PIP_BUILD_CONSTRAINT="$(pwd)/constraints_cmr.txt"
|
|
145
|
+
passagemath $ echo "passagemath-categories @ file://$(pwd)/pkgs/sagemath-categories" >> constraints_cmr.txt
|
|
146
|
+
passagemath $ echo "passagemath-modules @ file://$(pwd)/pkgs/sagemath-modules" >> constraints_cmr.txt
|
|
147
|
+
passagemath $ python3 -m venv cmr-venv
|
|
148
|
+
passagemath $ source cmr-venv/bin/activate
|
|
149
|
+
(cmr-venv) passagemath $ pip install -v -e pkgs/sagemath-cmr \
|
|
150
|
+
-e pkgs/sagemath-modules \
|
|
151
|
+
-e pkgs/sagemath-categories
|
|
152
|
+
|
|
153
|
+
Modularized use::
|
|
154
|
+
|
|
155
|
+
(cmr-venv) passagemath $ pip install -v passagemath-repl
|
|
156
|
+
(cmr-venv) passagemath $ sage
|
|
157
|
+
... sage.all is not available ...
|
|
158
|
+
sage: from sage.all__sagemath_modules import *
|
|
159
|
+
sage: matroids.Uniform(3, 4)
|
|
160
|
+
U(3, 4): Matroid of rank 3 on 4 elements with circuit-closures
|
|
161
|
+
{3: {{0, 1, 2, 3}}}
|
|
162
|
+
|
|
163
|
+
In plain Python::
|
|
164
|
+
|
|
165
|
+
(cmr-venv) passagemath $ python3
|
|
166
|
+
>>> from sage.all__sagemath_modules import *
|
|
167
|
+
>>> matroids.Uniform(3, 4)
|
|
168
|
+
U(3, 4): Matroid of rank 3 on 4 elements with circuit-closures
|
|
169
|
+
{3: {{0, 1, 2, 3}}}
|
|
170
|
+
|
|
171
|
+
For full functionality of Sage::
|
|
172
|
+
|
|
173
|
+
(cmr-venv) passagemath $ pip install -v passagemath-standard
|
|
174
|
+
(cmr-venv) passagemath $ sage
|
|
175
|
+
sage: matroids.Uniform(3, 4)
|
|
176
|
+
U(3, 4): Matroid of rank 3 on 4 elements with circuit-closures
|
|
177
|
+
{3: {{0, 1, 2, 3}}}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
passagemath_cmr.dylibs/libcmr.dylib,sha256=fCt6oqyuu_zol3r_bbe8RELX9iJtAxYo5rMtU4bXJEc,971496
|
|
2
|
+
passagemath_cmr.dylibs/libgmp.10.dylib,sha256=jml0YGUtHWw5pPvihLTuhU4pCJccwfyKYGxdO4uH624,488712
|
|
3
|
+
passagemath_cmr-10.6.33.dist-info/RECORD,,
|
|
4
|
+
passagemath_cmr-10.6.33.dist-info/WHEEL,sha256=RVsjh5yijuLhpAeoj1rcJ6CnX6JK7wyaBksB-qUN_2E,155
|
|
5
|
+
passagemath_cmr-10.6.33.dist-info/top_level.txt,sha256=Kmzulf9WsphADFQuqgvdy5mvTLDj_V2zkFHU2s3UXos,6
|
|
6
|
+
passagemath_cmr-10.6.33.dist-info/METADATA,sha256=yXfEr93KlvUyJWE4btv4QjG0XGdUah0pXSaLaSSlA-o,7326
|
|
7
|
+
sage/all__sagemath_cmr.py,sha256=KR76vnXfmqtz5FA-qDWl-bKa_ltk6s_L01y6zi3VleM,144
|
|
8
|
+
sage/libs/all__sagemath_cmr.py,sha256=qPVTT6gyP0yYSmMXuAIGeRCUG42fV2IhXKSX9Ke1pa0,42
|
|
9
|
+
sage/libs/cmr/cmr.cpython-314t-darwin.so,sha256=ppZnA-exeDOP10xXjOHfalLEiCONKyEhsgydILH74lw,29200
|
|
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/matrix/all__sagemath_cmr.py,sha256=qPVTT6gyP0yYSmMXuAIGeRCUG42fV2IhXKSX9Ke1pa0,42
|
|
14
|
+
sage/matrix/matrix_cmr_sparse.pyx,sha256=AmgUk0hLox5BB2OAgUZIYHo4ND8jsJ13-8Kz_llxqf8,248825
|
|
15
|
+
sage/matrix/seymour_decomposition.pxd,sha256=QYse5YnIa_Dk8NGLU991eFe5u0PzxT_qM0KfXITdt4E,1186
|
|
16
|
+
sage/matrix/matrix_cmr_sparse.cpython-314t-darwin.so,sha256=ZgJiJ2y2VVdyt14-mj40RsDAdlVVfRZlgLbSP8Rfu5w,1028384
|
|
17
|
+
sage/matrix/seymour_decomposition.cpython-314t-darwin.so,sha256=oa4MmATgyVfw9wPcOOOEvvdkUMtQgSEq_ty-_EVtsuw,1029560
|
|
18
|
+
sage/matrix/seymour_decomposition.pyx,sha256=YS1BpLgFLWTwcqe0EJqlgRl0vRUX-ZhBRKAdgvyZe_U,197498
|
|
19
|
+
sage/matrix/matrix_cmr_sparse.pxd,sha256=EROkdgXmem-ZgdXHKl7Nke_mZC_HKCZPRjocWcyivwY,1095
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# sage_setup: distribution = sagemath-cmr
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# sage_setup: distribution = sagemath-cmr
|
|
Binary file
|