passagemath-cmr 10.6.1rc1__tar.gz → 10.6.42__tar.gz
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.1rc1 → passagemath_cmr-10.6.42}/MANIFEST.in +2 -0
- {passagemath_cmr-10.6.1rc1/passagemath_cmr.egg-info → passagemath_cmr-10.6.42}/PKG-INFO +31 -23
- {passagemath_cmr-10.6.1rc1 → passagemath_cmr-10.6.42}/README.rst +20 -16
- passagemath_cmr-10.6.42/VERSION.txt +1 -0
- passagemath_cmr-10.6.42/passagemath_cmr/__init__.py +3 -0
- {passagemath_cmr-10.6.1rc1 → passagemath_cmr-10.6.42/passagemath_cmr.egg-info}/PKG-INFO +31 -23
- {passagemath_cmr-10.6.1rc1 → passagemath_cmr-10.6.42}/passagemath_cmr.egg-info/SOURCES.txt +1 -0
- passagemath_cmr-10.6.42/passagemath_cmr.egg-info/requires.txt +10 -0
- {passagemath_cmr-10.6.1rc1 → passagemath_cmr-10.6.42}/pyproject.toml +17 -15
- {passagemath_cmr-10.6.1rc1 → passagemath_cmr-10.6.42}/sage/all__sagemath_cmr.py +1 -0
- {passagemath_cmr-10.6.1rc1 → passagemath_cmr-10.6.42}/sage/libs/cmr/cmr.pxd +11 -11
- {passagemath_cmr-10.6.1rc1 → passagemath_cmr-10.6.42}/sage/matrix/matrix_cmr_sparse.pxd +1 -1
- {passagemath_cmr-10.6.1rc1 → passagemath_cmr-10.6.42}/sage/matrix/matrix_cmr_sparse.pyx +617 -508
- {passagemath_cmr-10.6.1rc1 → passagemath_cmr-10.6.42}/sage/matrix/seymour_decomposition.pxd +0 -5
- {passagemath_cmr-10.6.1rc1 → passagemath_cmr-10.6.42}/sage/matrix/seymour_decomposition.pyx +54 -106
- {passagemath_cmr-10.6.1rc1 → passagemath_cmr-10.6.42}/setup.py +1 -0
- passagemath_cmr-10.6.1rc1/VERSION.txt +0 -1
- passagemath_cmr-10.6.1rc1/passagemath_cmr.egg-info/requires.txt +0 -7
- {passagemath_cmr-10.6.1rc1 → passagemath_cmr-10.6.42}/passagemath_cmr.egg-info/dependency_links.txt +0 -0
- {passagemath_cmr-10.6.1rc1 → passagemath_cmr-10.6.42}/passagemath_cmr.egg-info/top_level.txt +0 -0
- {passagemath_cmr-10.6.1rc1 → passagemath_cmr-10.6.42}/sage/libs/all__sagemath_cmr.py +0 -0
- {passagemath_cmr-10.6.1rc1 → passagemath_cmr-10.6.42}/sage/libs/cmr/__init__.py +0 -0
- {passagemath_cmr-10.6.1rc1 → passagemath_cmr-10.6.42}/sage/libs/cmr/cmr.pyx +0 -0
- {passagemath_cmr-10.6.1rc1 → passagemath_cmr-10.6.42}/sage/matrix/all__sagemath_cmr.py +0 -0
- {passagemath_cmr-10.6.1rc1 → passagemath_cmr-10.6.42}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: passagemath-cmr
|
|
3
|
-
Version: 10.6.
|
|
3
|
+
Version: 10.6.42
|
|
4
4
|
Summary: passagemath: Combinatorial matrix recognition
|
|
5
5
|
Author-email: The Sage Developers <sage-support@googlegroups.com>
|
|
6
6
|
Maintainer: Matthias Köppe, passagemath contributors
|
|
@@ -8,7 +8,7 @@ License-Expression: GPL-2.0-or-later
|
|
|
8
8
|
Project-URL: release notes, https://github.com/passagemath/passagemath/releases
|
|
9
9
|
Project-URL: repo (upstream), https://github.com/sagemath/sage
|
|
10
10
|
Project-URL: repo, https://github.com/passagemath/passagemath
|
|
11
|
-
Project-URL: documentation, https://
|
|
11
|
+
Project-URL: documentation, https://passagemath.org/docs/latest
|
|
12
12
|
Project-URL: homepage (upstream), https://www.sagemath.org
|
|
13
13
|
Project-URL: discourse, https://passagemath.discourse.group
|
|
14
14
|
Project-URL: tracker (upstream), https://github.com/sagemath/sage/issues
|
|
@@ -17,22 +17,26 @@ Classifier: Development Status :: 6 - Mature
|
|
|
17
17
|
Classifier: Intended Audience :: Education
|
|
18
18
|
Classifier: Intended Audience :: Science/Research
|
|
19
19
|
Classifier: Operating System :: POSIX
|
|
20
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
20
21
|
Classifier: Operating System :: MacOS :: MacOS X
|
|
22
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
21
23
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
22
24
|
Classifier: Programming Language :: Python :: 3.10
|
|
23
25
|
Classifier: Programming Language :: Python :: 3.11
|
|
24
26
|
Classifier: Programming Language :: Python :: 3.12
|
|
25
27
|
Classifier: Programming Language :: Python :: 3.13
|
|
28
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
26
29
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
27
30
|
Classifier: Topic :: Scientific/Engineering :: Mathematics
|
|
28
|
-
Requires-Python: <3.
|
|
31
|
+
Requires-Python: <3.15,>=3.10
|
|
29
32
|
Description-Content-Type: text/x-rst
|
|
33
|
+
Requires-Dist: cysignals!=1.12.4; sys_platform == "win32"
|
|
30
34
|
Requires-Dist: cysignals!=1.12.0,>=1.11.2
|
|
31
|
-
Requires-Dist: passagemath-modules
|
|
32
|
-
Requires-Dist: passagemath-graphs
|
|
35
|
+
Requires-Dist: passagemath-modules~=10.6.42.0
|
|
36
|
+
Requires-Dist: passagemath-graphs~=10.6.42.0
|
|
33
37
|
Provides-Extra: test
|
|
34
|
-
Requires-Dist: passagemath-repl
|
|
35
|
-
Requires-Dist: passagemath-pari
|
|
38
|
+
Requires-Dist: passagemath-repl~=10.6.42.0; extra == "test"
|
|
39
|
+
Requires-Dist: passagemath-pari~=10.6.42.0; extra == "test"
|
|
36
40
|
|
|
37
41
|
==========================================================================
|
|
38
42
|
passagemath: Combinatorial matrix recognition
|
|
@@ -46,38 +50,41 @@ It is a fork of `SageMath <https://www.sagemath.org/>`__, which has been
|
|
|
46
50
|
developed 2005-2025 under the motto “Creating a Viable Open Source
|
|
47
51
|
Alternative to Magma, Maple, Mathematica, and MATLAB”.
|
|
48
52
|
|
|
49
|
-
The passagemath fork
|
|
50
|
-
|
|
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:
|
|
51
56
|
|
|
52
|
-
- providing modularized installation with pip,
|
|
53
|
-
project started in 2020 in the Sage
|
|
54
|
-
codebase <https://github.com/sagemath/sage/issues/29705>`__,
|
|
57
|
+
- providing modularized installation with pip,
|
|
55
58
|
- establishing first-class membership in the scientific Python
|
|
56
59
|
ecosystem,
|
|
57
60
|
- giving `clear attribution of upstream
|
|
58
61
|
projects <https://groups.google.com/g/sage-devel/c/6HO1HEtL1Fs/m/G002rPGpAAAJ>`__,
|
|
59
62
|
- providing independently usable Python interfaces to upstream
|
|
60
63
|
libraries,
|
|
61
|
-
-
|
|
64
|
+
- offering `platform portability and integration testing
|
|
62
65
|
services <https://github.com/passagemath/passagemath/issues/704>`__
|
|
63
66
|
to upstream projects,
|
|
64
67
|
- inviting collaborations with upstream projects,
|
|
65
68
|
- `building a professional, respectful, inclusive
|
|
66
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,
|
|
67
72
|
- developing a port to `Pyodide <https://pyodide.org/en/stable/>`__ for
|
|
68
73
|
serverless deployment with Javascript,
|
|
69
74
|
- developing a native Windows port.
|
|
70
75
|
|
|
71
|
-
`Full documentation <https://
|
|
76
|
+
`Full documentation <https://passagemath.org/docs/latest/html/en/index.html>`__ is
|
|
72
77
|
available online.
|
|
73
78
|
|
|
74
|
-
passagemath attempts to support
|
|
75
|
-
|
|
76
|
-
virtualization.
|
|
79
|
+
passagemath attempts to support and provides binary wheels suitable for
|
|
80
|
+
all major Linux distributions and recent versions of macOS.
|
|
77
81
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
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.
|
|
81
88
|
|
|
82
89
|
|
|
83
90
|
About this pip-installable distribution package
|
|
@@ -107,7 +114,7 @@ Examples
|
|
|
107
114
|
|
|
108
115
|
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-cmr[test]" ipython
|
|
109
116
|
|
|
110
|
-
In [1]: from
|
|
117
|
+
In [1]: from passagemath_cmr import *
|
|
111
118
|
|
|
112
119
|
In [2]: from sage.matrix.matrix_cmr_sparse import Matrix_cmr_chr_sparse
|
|
113
120
|
|
|
@@ -135,6 +142,7 @@ Development
|
|
|
135
142
|
passagemath $ source ./.homebrew-build-env # on macOS when homebrew is in use
|
|
136
143
|
passagemath $ export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/wsl/lib # on WSL
|
|
137
144
|
passagemath $ export PIP_CONSTRAINT="$(pwd)/constraints_cmr.txt"
|
|
145
|
+
passagemath $ export PIP_BUILD_CONSTRAINT="$(pwd)/constraints_cmr.txt"
|
|
138
146
|
passagemath $ echo "passagemath-categories @ file://$(pwd)/pkgs/sagemath-categories" >> constraints_cmr.txt
|
|
139
147
|
passagemath $ echo "passagemath-modules @ file://$(pwd)/pkgs/sagemath-modules" >> constraints_cmr.txt
|
|
140
148
|
passagemath $ python3 -m venv cmr-venv
|
|
@@ -148,7 +156,7 @@ Modularized use::
|
|
|
148
156
|
(cmr-venv) passagemath $ pip install -v passagemath-repl
|
|
149
157
|
(cmr-venv) passagemath $ sage
|
|
150
158
|
... sage.all is not available ...
|
|
151
|
-
sage: from
|
|
159
|
+
sage: from passagemath_modules import *
|
|
152
160
|
sage: matroids.Uniform(3, 4)
|
|
153
161
|
U(3, 4): Matroid of rank 3 on 4 elements with circuit-closures
|
|
154
162
|
{3: {{0, 1, 2, 3}}}
|
|
@@ -156,7 +164,7 @@ Modularized use::
|
|
|
156
164
|
In plain Python::
|
|
157
165
|
|
|
158
166
|
(cmr-venv) passagemath $ python3
|
|
159
|
-
>>> from
|
|
167
|
+
>>> from passagemath_modules import *
|
|
160
168
|
>>> matroids.Uniform(3, 4)
|
|
161
169
|
U(3, 4): Matroid of rank 3 on 4 elements with circuit-closures
|
|
162
170
|
{3: {{0, 1, 2, 3}}}
|
|
@@ -10,38 +10,41 @@ It is a fork of `SageMath <https://www.sagemath.org/>`__, which has been
|
|
|
10
10
|
developed 2005-2025 under the motto “Creating a Viable Open Source
|
|
11
11
|
Alternative to Magma, Maple, Mathematica, and MATLAB”.
|
|
12
12
|
|
|
13
|
-
The passagemath fork
|
|
14
|
-
|
|
13
|
+
The passagemath fork uses the motto "Creating a Free Passage Between the
|
|
14
|
+
Scientific Python Ecosystem and Mathematical Software Communities."
|
|
15
|
+
It was created in October 2024 with the following goals:
|
|
15
16
|
|
|
16
|
-
- providing modularized installation with pip,
|
|
17
|
-
project started in 2020 in the Sage
|
|
18
|
-
codebase <https://github.com/sagemath/sage/issues/29705>`__,
|
|
17
|
+
- providing modularized installation with pip,
|
|
19
18
|
- establishing first-class membership in the scientific Python
|
|
20
19
|
ecosystem,
|
|
21
20
|
- giving `clear attribution of upstream
|
|
22
21
|
projects <https://groups.google.com/g/sage-devel/c/6HO1HEtL1Fs/m/G002rPGpAAAJ>`__,
|
|
23
22
|
- providing independently usable Python interfaces to upstream
|
|
24
23
|
libraries,
|
|
25
|
-
-
|
|
24
|
+
- offering `platform portability and integration testing
|
|
26
25
|
services <https://github.com/passagemath/passagemath/issues/704>`__
|
|
27
26
|
to upstream projects,
|
|
28
27
|
- inviting collaborations with upstream projects,
|
|
29
28
|
- `building a professional, respectful, inclusive
|
|
30
29
|
community <https://groups.google.com/g/sage-devel/c/xBzaINHWwUQ>`__,
|
|
30
|
+
- `empowering Sage users to participate in the scientific Python ecosystem
|
|
31
|
+
<https://github.com/passagemath/passagemath/issues/248>`__ by publishing packages,
|
|
31
32
|
- developing a port to `Pyodide <https://pyodide.org/en/stable/>`__ for
|
|
32
33
|
serverless deployment with Javascript,
|
|
33
34
|
- developing a native Windows port.
|
|
34
35
|
|
|
35
|
-
`Full documentation <https://
|
|
36
|
+
`Full documentation <https://passagemath.org/docs/latest/html/en/index.html>`__ is
|
|
36
37
|
available online.
|
|
37
38
|
|
|
38
|
-
passagemath attempts to support
|
|
39
|
-
|
|
40
|
-
virtualization.
|
|
39
|
+
passagemath attempts to support and provides binary wheels suitable for
|
|
40
|
+
all major Linux distributions and recent versions of macOS.
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
Binary wheels for native Windows (x86_64) are are available for a subset of
|
|
43
|
+
the passagemath distributions. Use of the full functionality of passagemath
|
|
44
|
+
on Windows currently requires the use of Windows Subsystem for Linux (WSL)
|
|
45
|
+
or virtualization.
|
|
46
|
+
|
|
47
|
+
The supported Python versions in the passagemath 10.6.x series are 3.10.x-3.14.x.
|
|
45
48
|
|
|
46
49
|
|
|
47
50
|
About this pip-installable distribution package
|
|
@@ -71,7 +74,7 @@ Examples
|
|
|
71
74
|
|
|
72
75
|
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-cmr[test]" ipython
|
|
73
76
|
|
|
74
|
-
In [1]: from
|
|
77
|
+
In [1]: from passagemath_cmr import *
|
|
75
78
|
|
|
76
79
|
In [2]: from sage.matrix.matrix_cmr_sparse import Matrix_cmr_chr_sparse
|
|
77
80
|
|
|
@@ -99,6 +102,7 @@ Development
|
|
|
99
102
|
passagemath $ source ./.homebrew-build-env # on macOS when homebrew is in use
|
|
100
103
|
passagemath $ export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/wsl/lib # on WSL
|
|
101
104
|
passagemath $ export PIP_CONSTRAINT="$(pwd)/constraints_cmr.txt"
|
|
105
|
+
passagemath $ export PIP_BUILD_CONSTRAINT="$(pwd)/constraints_cmr.txt"
|
|
102
106
|
passagemath $ echo "passagemath-categories @ file://$(pwd)/pkgs/sagemath-categories" >> constraints_cmr.txt
|
|
103
107
|
passagemath $ echo "passagemath-modules @ file://$(pwd)/pkgs/sagemath-modules" >> constraints_cmr.txt
|
|
104
108
|
passagemath $ python3 -m venv cmr-venv
|
|
@@ -112,7 +116,7 @@ Modularized use::
|
|
|
112
116
|
(cmr-venv) passagemath $ pip install -v passagemath-repl
|
|
113
117
|
(cmr-venv) passagemath $ sage
|
|
114
118
|
... sage.all is not available ...
|
|
115
|
-
sage: from
|
|
119
|
+
sage: from passagemath_modules import *
|
|
116
120
|
sage: matroids.Uniform(3, 4)
|
|
117
121
|
U(3, 4): Matroid of rank 3 on 4 elements with circuit-closures
|
|
118
122
|
{3: {{0, 1, 2, 3}}}
|
|
@@ -120,7 +124,7 @@ Modularized use::
|
|
|
120
124
|
In plain Python::
|
|
121
125
|
|
|
122
126
|
(cmr-venv) passagemath $ python3
|
|
123
|
-
>>> from
|
|
127
|
+
>>> from passagemath_modules import *
|
|
124
128
|
>>> matroids.Uniform(3, 4)
|
|
125
129
|
U(3, 4): Matroid of rank 3 on 4 elements with circuit-closures
|
|
126
130
|
{3: {{0, 1, 2, 3}}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
10.6.42
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: passagemath-cmr
|
|
3
|
-
Version: 10.6.
|
|
3
|
+
Version: 10.6.42
|
|
4
4
|
Summary: passagemath: Combinatorial matrix recognition
|
|
5
5
|
Author-email: The Sage Developers <sage-support@googlegroups.com>
|
|
6
6
|
Maintainer: Matthias Köppe, passagemath contributors
|
|
@@ -8,7 +8,7 @@ License-Expression: GPL-2.0-or-later
|
|
|
8
8
|
Project-URL: release notes, https://github.com/passagemath/passagemath/releases
|
|
9
9
|
Project-URL: repo (upstream), https://github.com/sagemath/sage
|
|
10
10
|
Project-URL: repo, https://github.com/passagemath/passagemath
|
|
11
|
-
Project-URL: documentation, https://
|
|
11
|
+
Project-URL: documentation, https://passagemath.org/docs/latest
|
|
12
12
|
Project-URL: homepage (upstream), https://www.sagemath.org
|
|
13
13
|
Project-URL: discourse, https://passagemath.discourse.group
|
|
14
14
|
Project-URL: tracker (upstream), https://github.com/sagemath/sage/issues
|
|
@@ -17,22 +17,26 @@ Classifier: Development Status :: 6 - Mature
|
|
|
17
17
|
Classifier: Intended Audience :: Education
|
|
18
18
|
Classifier: Intended Audience :: Science/Research
|
|
19
19
|
Classifier: Operating System :: POSIX
|
|
20
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
20
21
|
Classifier: Operating System :: MacOS :: MacOS X
|
|
22
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
21
23
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
22
24
|
Classifier: Programming Language :: Python :: 3.10
|
|
23
25
|
Classifier: Programming Language :: Python :: 3.11
|
|
24
26
|
Classifier: Programming Language :: Python :: 3.12
|
|
25
27
|
Classifier: Programming Language :: Python :: 3.13
|
|
28
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
26
29
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
27
30
|
Classifier: Topic :: Scientific/Engineering :: Mathematics
|
|
28
|
-
Requires-Python: <3.
|
|
31
|
+
Requires-Python: <3.15,>=3.10
|
|
29
32
|
Description-Content-Type: text/x-rst
|
|
33
|
+
Requires-Dist: cysignals!=1.12.4; sys_platform == "win32"
|
|
30
34
|
Requires-Dist: cysignals!=1.12.0,>=1.11.2
|
|
31
|
-
Requires-Dist: passagemath-modules
|
|
32
|
-
Requires-Dist: passagemath-graphs
|
|
35
|
+
Requires-Dist: passagemath-modules~=10.6.42.0
|
|
36
|
+
Requires-Dist: passagemath-graphs~=10.6.42.0
|
|
33
37
|
Provides-Extra: test
|
|
34
|
-
Requires-Dist: passagemath-repl
|
|
35
|
-
Requires-Dist: passagemath-pari
|
|
38
|
+
Requires-Dist: passagemath-repl~=10.6.42.0; extra == "test"
|
|
39
|
+
Requires-Dist: passagemath-pari~=10.6.42.0; extra == "test"
|
|
36
40
|
|
|
37
41
|
==========================================================================
|
|
38
42
|
passagemath: Combinatorial matrix recognition
|
|
@@ -46,38 +50,41 @@ It is a fork of `SageMath <https://www.sagemath.org/>`__, which has been
|
|
|
46
50
|
developed 2005-2025 under the motto “Creating a Viable Open Source
|
|
47
51
|
Alternative to Magma, Maple, Mathematica, and MATLAB”.
|
|
48
52
|
|
|
49
|
-
The passagemath fork
|
|
50
|
-
|
|
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:
|
|
51
56
|
|
|
52
|
-
- providing modularized installation with pip,
|
|
53
|
-
project started in 2020 in the Sage
|
|
54
|
-
codebase <https://github.com/sagemath/sage/issues/29705>`__,
|
|
57
|
+
- providing modularized installation with pip,
|
|
55
58
|
- establishing first-class membership in the scientific Python
|
|
56
59
|
ecosystem,
|
|
57
60
|
- giving `clear attribution of upstream
|
|
58
61
|
projects <https://groups.google.com/g/sage-devel/c/6HO1HEtL1Fs/m/G002rPGpAAAJ>`__,
|
|
59
62
|
- providing independently usable Python interfaces to upstream
|
|
60
63
|
libraries,
|
|
61
|
-
-
|
|
64
|
+
- offering `platform portability and integration testing
|
|
62
65
|
services <https://github.com/passagemath/passagemath/issues/704>`__
|
|
63
66
|
to upstream projects,
|
|
64
67
|
- inviting collaborations with upstream projects,
|
|
65
68
|
- `building a professional, respectful, inclusive
|
|
66
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,
|
|
67
72
|
- developing a port to `Pyodide <https://pyodide.org/en/stable/>`__ for
|
|
68
73
|
serverless deployment with Javascript,
|
|
69
74
|
- developing a native Windows port.
|
|
70
75
|
|
|
71
|
-
`Full documentation <https://
|
|
76
|
+
`Full documentation <https://passagemath.org/docs/latest/html/en/index.html>`__ is
|
|
72
77
|
available online.
|
|
73
78
|
|
|
74
|
-
passagemath attempts to support
|
|
75
|
-
|
|
76
|
-
virtualization.
|
|
79
|
+
passagemath attempts to support and provides binary wheels suitable for
|
|
80
|
+
all major Linux distributions and recent versions of macOS.
|
|
77
81
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
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.
|
|
81
88
|
|
|
82
89
|
|
|
83
90
|
About this pip-installable distribution package
|
|
@@ -107,7 +114,7 @@ Examples
|
|
|
107
114
|
|
|
108
115
|
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-cmr[test]" ipython
|
|
109
116
|
|
|
110
|
-
In [1]: from
|
|
117
|
+
In [1]: from passagemath_cmr import *
|
|
111
118
|
|
|
112
119
|
In [2]: from sage.matrix.matrix_cmr_sparse import Matrix_cmr_chr_sparse
|
|
113
120
|
|
|
@@ -135,6 +142,7 @@ Development
|
|
|
135
142
|
passagemath $ source ./.homebrew-build-env # on macOS when homebrew is in use
|
|
136
143
|
passagemath $ export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/wsl/lib # on WSL
|
|
137
144
|
passagemath $ export PIP_CONSTRAINT="$(pwd)/constraints_cmr.txt"
|
|
145
|
+
passagemath $ export PIP_BUILD_CONSTRAINT="$(pwd)/constraints_cmr.txt"
|
|
138
146
|
passagemath $ echo "passagemath-categories @ file://$(pwd)/pkgs/sagemath-categories" >> constraints_cmr.txt
|
|
139
147
|
passagemath $ echo "passagemath-modules @ file://$(pwd)/pkgs/sagemath-modules" >> constraints_cmr.txt
|
|
140
148
|
passagemath $ python3 -m venv cmr-venv
|
|
@@ -148,7 +156,7 @@ Modularized use::
|
|
|
148
156
|
(cmr-venv) passagemath $ pip install -v passagemath-repl
|
|
149
157
|
(cmr-venv) passagemath $ sage
|
|
150
158
|
... sage.all is not available ...
|
|
151
|
-
sage: from
|
|
159
|
+
sage: from passagemath_modules import *
|
|
152
160
|
sage: matroids.Uniform(3, 4)
|
|
153
161
|
U(3, 4): Matroid of rank 3 on 4 elements with circuit-closures
|
|
154
162
|
{3: {{0, 1, 2, 3}}}
|
|
@@ -156,7 +164,7 @@ Modularized use::
|
|
|
156
164
|
In plain Python::
|
|
157
165
|
|
|
158
166
|
(cmr-venv) passagemath $ python3
|
|
159
|
-
>>> from
|
|
167
|
+
>>> from passagemath_modules import *
|
|
160
168
|
>>> matroids.Uniform(3, 4)
|
|
161
169
|
U(3, 4): Matroid of rank 3 on 4 elements with circuit-closures
|
|
162
170
|
{3: {{0, 1, 2, 3}}}
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
# Generated by SAGE_ROOT/bootstrap; do not edit
|
|
2
1
|
[build-system]
|
|
3
2
|
# Minimum requirements for the build system to execute.
|
|
4
3
|
requires = [
|
|
5
4
|
'setuptools >= 77.0.0',
|
|
6
|
-
'passagemath-conf
|
|
7
|
-
'passagemath-setup
|
|
5
|
+
'passagemath-conf ~= 10.6.42.0 ; sys_platform != "win32"',
|
|
6
|
+
'passagemath-setup ~= 10.6.42.0',
|
|
8
7
|
'pkgconfig',
|
|
9
|
-
'passagemath-environment
|
|
10
|
-
'passagemath-modules
|
|
11
|
-
'passagemath-graphs
|
|
12
|
-
'cython >=3.0,
|
|
13
|
-
'cysignals >=1.11.2, != 1.12.0',
|
|
8
|
+
'passagemath-environment ~= 10.6.42.0',
|
|
9
|
+
'passagemath-modules ~= 10.6.42.0',
|
|
10
|
+
'passagemath-graphs ~= 10.6.42.0',
|
|
11
|
+
'cython >=3.0.8, <3.3.0', 'cython >=3.0.8,<3.3.0',
|
|
12
|
+
'cysignals !=1.12.4; sys_platform == "win32"', 'cysignals >=1.11.2, != 1.12.0',
|
|
14
13
|
]
|
|
15
14
|
build-backend = "setuptools.build_meta"
|
|
16
15
|
|
|
@@ -18,9 +17,9 @@ build-backend = "setuptools.build_meta"
|
|
|
18
17
|
name = "passagemath-cmr"
|
|
19
18
|
description = "passagemath: Combinatorial matrix recognition"
|
|
20
19
|
dependencies = [
|
|
21
|
-
'cysignals >=1.11.2, != 1.12.0',
|
|
22
|
-
'passagemath-modules
|
|
23
|
-
'passagemath-graphs
|
|
20
|
+
'cysignals !=1.12.4; sys_platform == "win32"', 'cysignals >=1.11.2, != 1.12.0',
|
|
21
|
+
'passagemath-modules ~= 10.6.42.0',
|
|
22
|
+
'passagemath-graphs ~= 10.6.42.0',
|
|
24
23
|
]
|
|
25
24
|
dynamic = ["version"]
|
|
26
25
|
license = "GPL-2.0-or-later"
|
|
@@ -34,22 +33,25 @@ classifiers = [
|
|
|
34
33
|
"Intended Audience :: Education",
|
|
35
34
|
"Intended Audience :: Science/Research",
|
|
36
35
|
"Operating System :: POSIX",
|
|
36
|
+
"Operating System :: POSIX :: Linux",
|
|
37
37
|
"Operating System :: MacOS :: MacOS X",
|
|
38
|
+
"Operating System :: Microsoft :: Windows",
|
|
38
39
|
"Programming Language :: Python :: 3 :: Only",
|
|
39
40
|
"Programming Language :: Python :: 3.10",
|
|
40
41
|
"Programming Language :: Python :: 3.11",
|
|
41
42
|
"Programming Language :: Python :: 3.12",
|
|
42
43
|
"Programming Language :: Python :: 3.13",
|
|
44
|
+
"Programming Language :: Python :: 3.14",
|
|
43
45
|
"Programming Language :: Python :: Implementation :: CPython",
|
|
44
46
|
"Topic :: Scientific/Engineering :: Mathematics",
|
|
45
47
|
]
|
|
46
|
-
requires-python = ">=3.10, <3.
|
|
48
|
+
requires-python = ">=3.10, <3.15"
|
|
47
49
|
|
|
48
50
|
[project.urls]
|
|
49
51
|
"release notes" = "https://github.com/passagemath/passagemath/releases"
|
|
50
52
|
"repo (upstream)" = "https://github.com/sagemath/sage"
|
|
51
53
|
"repo" = "https://github.com/passagemath/passagemath"
|
|
52
|
-
documentation = "https://
|
|
54
|
+
documentation = "https://passagemath.org/docs/latest"
|
|
53
55
|
"homepage (upstream)" = "https://www.sagemath.org"
|
|
54
56
|
"discourse" = "https://passagemath.discourse.group"
|
|
55
57
|
"tracker (upstream)" = "https://github.com/sagemath/sage/issues"
|
|
@@ -57,8 +59,8 @@ documentation = "https://doc.sagemath.org"
|
|
|
57
59
|
|
|
58
60
|
[project.optional-dependencies]
|
|
59
61
|
test = [
|
|
60
|
-
'passagemath-repl
|
|
61
|
-
'passagemath-pari
|
|
62
|
+
'passagemath-repl ~= 10.6.42.0',
|
|
63
|
+
'passagemath-pari ~= 10.6.42.0',
|
|
62
64
|
]
|
|
63
65
|
|
|
64
66
|
[project.readme]
|
|
@@ -74,7 +74,7 @@ cdef extern from "cmr/matrix.h":
|
|
|
74
74
|
size_t numNonzeros
|
|
75
75
|
size_t* rowSlice
|
|
76
76
|
size_t* entryColumns
|
|
77
|
-
char* entryValues
|
|
77
|
+
signed char* entryValues
|
|
78
78
|
|
|
79
79
|
CMR_ERROR CMRchrmatCreate(CMR* cmr, CMR_CHRMAT** presult, int numRows, int numColumns, int numNonzeros)
|
|
80
80
|
CMR_ERROR CMRchrmatSortNonzeros(CMR* cmr, CMR_CHRMAT* matrix)
|
|
@@ -251,20 +251,20 @@ cdef extern from "cmr/separation.h":
|
|
|
251
251
|
CMR_ERROR CMRtwosumDecomposeFirst(CMR* cmr, CMR_CHRMAT* matrix, CMR_SEPA* sepa, CMR_CHRMAT** pfirst, size_t* firstRowsOrigin, size_t* firstColumnsOrigin, size_t* rowsToFirst, size_t* columnsToFirst, size_t* firstSpecialRows, size_t* firstSpecialColumns)
|
|
252
252
|
CMR_ERROR CMRtwosumDecomposeSecond(CMR* cmr, CMR_CHRMAT* matrix, CMR_SEPA* sepa, CMR_CHRMAT** psecond, size_t* secondRowsOrigin, size_t* secondColumnsOrigin, size_t* rowsToSecond, size_t* columnsToSecond, size_t* secondSpecialRows, size_t* secondSpecialColumns)
|
|
253
253
|
CMR_ERROR CMRdeltasumCompose(CMR* cmr, CMR_CHRMAT* first, CMR_CHRMAT* second, size_t* firstSpecialRows, size_t* firstSpecialColumns, size_t* secondSpecialRows, size_t* secondSpecialColumns, int8_t characteristic, CMR_CHRMAT** presult)
|
|
254
|
-
CMR_ERROR CMRdeltasumDecomposeEpsilon(CMR* cmr, CMR_CHRMAT* matrix, CMR_CHRMAT* transpose, CMR_SEPA* sepa, char* pepsilon)
|
|
255
|
-
CMR_ERROR CMRdeltasumDecomposeFirst(CMR* cmr, CMR_CHRMAT* matrix, CMR_SEPA* sepa, char epsilon, CMR_CHRMAT** pfirst, size_t* firstRowsOrigin, size_t* firstColumnsOrigin, size_t* rowsToFirst, size_t* columnsToFirst, size_t* firstSpecialRows, size_t* firstSpecialColumns)
|
|
256
|
-
CMR_ERROR CMRdeltasumDecomposeSecond(CMR* cmr, CMR_CHRMAT* matrix, CMR_SEPA* sepa, char epsilon, CMR_CHRMAT** psecond, size_t* secondRowsOrigin, size_t* secondColumnsOrigin, size_t* rowsToSecond, size_t* columnsToSecond, size_t* secondSpecialRows, size_t* secondSpecialColumns)
|
|
254
|
+
CMR_ERROR CMRdeltasumDecomposeEpsilon(CMR* cmr, CMR_CHRMAT* matrix, CMR_CHRMAT* transpose, CMR_SEPA* sepa, signed char* pepsilon)
|
|
255
|
+
CMR_ERROR CMRdeltasumDecomposeFirst(CMR* cmr, CMR_CHRMAT* matrix, CMR_SEPA* sepa, signed char epsilon, CMR_CHRMAT** pfirst, size_t* firstRowsOrigin, size_t* firstColumnsOrigin, size_t* rowsToFirst, size_t* columnsToFirst, size_t* firstSpecialRows, size_t* firstSpecialColumns)
|
|
256
|
+
CMR_ERROR CMRdeltasumDecomposeSecond(CMR* cmr, CMR_CHRMAT* matrix, CMR_SEPA* sepa, signed char epsilon, CMR_CHRMAT** psecond, size_t* secondRowsOrigin, size_t* secondColumnsOrigin, size_t* rowsToSecond, size_t* columnsToSecond, size_t* secondSpecialRows, size_t* secondSpecialColumns)
|
|
257
257
|
|
|
258
258
|
CMR_ERROR CMRysumCompose(CMR* cmr, CMR_CHRMAT* first, CMR_CHRMAT* second, size_t* firstSpecialRows, size_t* firstSpecialColumns, size_t* secondSpecialRows, size_t* secondSpecialColumns, int8_t characteristic, CMR_CHRMAT** presult)
|
|
259
|
-
CMR_ERROR CMRysumDecomposeEpsilon(CMR* cmr, CMR_CHRMAT* matrix, CMR_CHRMAT* transpose, CMR_SEPA* sepa, char* pepsilon)
|
|
260
|
-
CMR_ERROR CMRysumDecomposeFirst(CMR* cmr, CMR_CHRMAT* matrix, CMR_SEPA* sepa, char epsilon, CMR_CHRMAT** pfirst, size_t* firstRowsOrigin, size_t* firstColumnsOrigin, size_t* rowsToFirst, size_t* columnsToFirst, size_t* firstSpecialRows, size_t* firstSpecialColumns)
|
|
261
|
-
CMR_ERROR CMRysumDecomposeSecond(CMR* cmr, CMR_CHRMAT* matrix, CMR_SEPA* sepa, char epsilon, CMR_CHRMAT** psecond, size_t* secondRowsOrigin, size_t* secondColumnsOrigin, size_t* rowsToSecond, size_t* columnsToSecond, size_t* secondSpecialRows, size_t* secondSpecialColumns)
|
|
259
|
+
CMR_ERROR CMRysumDecomposeEpsilon(CMR* cmr, CMR_CHRMAT* matrix, CMR_CHRMAT* transpose, CMR_SEPA* sepa, signed char* pepsilon)
|
|
260
|
+
CMR_ERROR CMRysumDecomposeFirst(CMR* cmr, CMR_CHRMAT* matrix, CMR_SEPA* sepa, signed char epsilon, CMR_CHRMAT** pfirst, size_t* firstRowsOrigin, size_t* firstColumnsOrigin, size_t* rowsToFirst, size_t* columnsToFirst, size_t* firstSpecialRows, size_t* firstSpecialColumns)
|
|
261
|
+
CMR_ERROR CMRysumDecomposeSecond(CMR* cmr, CMR_CHRMAT* matrix, CMR_SEPA* sepa, signed char epsilon, CMR_CHRMAT** psecond, size_t* secondRowsOrigin, size_t* secondColumnsOrigin, size_t* rowsToSecond, size_t* columnsToSecond, size_t* secondSpecialRows, size_t* secondSpecialColumns)
|
|
262
262
|
|
|
263
263
|
CMR_ERROR CMRthreesumCompose(CMR* cmr, CMR_CHRMAT* first, CMR_CHRMAT* second, size_t* firstSpecialRows, size_t* firstSpecialColumns, size_t* secondSpecialRows, size_t* secondSpecialColumns, int8_t characteristic, CMR_CHRMAT** presult)
|
|
264
|
-
CMR_ERROR CMRthreesumDecomposeSearchConnecting(CMR* cmr, CMR_CHRMAT* matrix, CMR_CHRMAT* transpose, CMR_SEPA* sepa, size_t* specialRows, size_t* specialColumns, char* pgamma, char* pbeta)
|
|
265
|
-
CMR_ERROR CMRthreesumDecomposeSignConnecting(CMR* cmr, CMR_CHRMAT* matrix, CMR_CHRMAT* transpose, CMR_SEPA* sepa, size_t* specialRows, size_t* specialColumns, char* pgamma, char* pbeta)
|
|
266
|
-
CMR_ERROR CMRthreesumDecomposeFirst(CMR* cmr, CMR_CHRMAT* matrix, CMR_SEPA* sepa, size_t* specialRows, size_t* specialColumns, char beta, CMR_CHRMAT** pfirst, size_t* firstRowsOrigin, size_t* firstColumnsOrigin, size_t* rowsToFirst, size_t* columnsToFirst, size_t* firstSpecialRows, size_t* firstSpecialColumns)
|
|
267
|
-
CMR_ERROR CMRthreesumDecomposeSecond(CMR* cmr, CMR_CHRMAT* matrix, CMR_SEPA* sepa, size_t* specialRows, size_t* specialColumns, char gamma, CMR_CHRMAT** psecond, size_t* secondRowsOrigin, size_t* secondColumnsOrigin, size_t* rowsToSecond, size_t* columnsToSecond, size_t* secondSpecialRows, size_t* secondSpecialColumns)
|
|
264
|
+
CMR_ERROR CMRthreesumDecomposeSearchConnecting(CMR* cmr, CMR_CHRMAT* matrix, CMR_CHRMAT* transpose, CMR_SEPA* sepa, size_t* specialRows, size_t* specialColumns, signed char* pgamma, signed char* pbeta)
|
|
265
|
+
CMR_ERROR CMRthreesumDecomposeSignConnecting(CMR* cmr, CMR_CHRMAT* matrix, CMR_CHRMAT* transpose, CMR_SEPA* sepa, size_t* specialRows, size_t* specialColumns, signed char* pgamma, signed char* pbeta)
|
|
266
|
+
CMR_ERROR CMRthreesumDecomposeFirst(CMR* cmr, CMR_CHRMAT* matrix, CMR_SEPA* sepa, size_t* specialRows, size_t* specialColumns, signed char beta, CMR_CHRMAT** pfirst, size_t* firstRowsOrigin, size_t* firstColumnsOrigin, size_t* rowsToFirst, size_t* columnsToFirst, size_t* firstSpecialRows, size_t* firstSpecialColumns)
|
|
267
|
+
CMR_ERROR CMRthreesumDecomposeSecond(CMR* cmr, CMR_CHRMAT* matrix, CMR_SEPA* sepa, size_t* specialRows, size_t* specialColumns, signed char gamma, CMR_CHRMAT** psecond, size_t* secondRowsOrigin, size_t* secondColumnsOrigin, size_t* rowsToSecond, size_t* columnsToSecond, size_t* secondSpecialRows, size_t* secondSpecialColumns)
|
|
268
268
|
|
|
269
269
|
cdef extern from "cmr/graphic.h":
|
|
270
270
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# sage_setup: distribution = sagemath-cmr
|
|
2
2
|
from sage.libs.cmr.cmr cimport CMR_CHRMAT, CMR_SEYMOUR_PARAMS, CMR_GRAPH, CMR_GRAPH_EDGE, bool
|
|
3
3
|
|
|
4
|
-
from .matrix_sparse cimport Matrix_sparse
|
|
4
|
+
from sage.matrix.matrix_sparse cimport Matrix_sparse
|
|
5
5
|
|
|
6
6
|
cdef class Matrix_cmr_sparse(Matrix_sparse):
|
|
7
7
|
pass
|