passagemath-nauty 10.4.67__tar.gz → 10.6.45__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_nauty-10.4.67 → passagemath_nauty-10.6.45}/MANIFEST.in +4 -0
- passagemath_nauty-10.6.45/PKG-INFO +146 -0
- passagemath_nauty-10.6.45/README.rst +108 -0
- passagemath_nauty-10.6.45/VERSION.txt +1 -0
- passagemath_nauty-10.6.45/passagemath_nauty/__init__.py +3 -0
- passagemath_nauty-10.6.45/passagemath_nauty.egg-info/PKG-INFO +146 -0
- {passagemath_nauty-10.4.67 → passagemath_nauty-10.6.45}/passagemath_nauty.egg-info/SOURCES.txt +2 -0
- passagemath_nauty-10.6.45/passagemath_nauty.egg-info/requires.txt +9 -0
- {passagemath_nauty-10.4.67 → passagemath_nauty-10.6.45}/pyproject.toml +19 -21
- passagemath_nauty-10.6.45/repair_wheel.py +25 -0
- {passagemath_nauty-10.4.67 → passagemath_nauty-10.6.45}/sage/all__sagemath_nauty.py +1 -0
- {passagemath_nauty-10.4.67 → passagemath_nauty-10.6.45}/setup.py +4 -1
- passagemath_nauty-10.4.67/PKG-INFO +0 -117
- passagemath_nauty-10.4.67/README.rst +0 -80
- passagemath_nauty-10.4.67/VERSION.txt +0 -1
- passagemath_nauty-10.4.67/passagemath_nauty.egg-info/PKG-INFO +0 -117
- passagemath_nauty-10.4.67/passagemath_nauty.egg-info/requires.txt +0 -7
- {passagemath_nauty-10.4.67 → passagemath_nauty-10.6.45}/passagemath_nauty.egg-info/dependency_links.txt +0 -0
- {passagemath_nauty-10.4.67 → passagemath_nauty-10.6.45}/passagemath_nauty.egg-info/top_level.txt +0 -0
- {passagemath_nauty-10.4.67 → passagemath_nauty-10.6.45}/sage/libs/all__sagemath_nauty.py +0 -0
- {passagemath_nauty-10.4.67 → passagemath_nauty-10.6.45}/sage/libs/nauty.pyx +0 -0
- {passagemath_nauty-10.4.67 → passagemath_nauty-10.6.45}/setup.cfg +0 -0
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
graft passagemath_nauty
|
|
2
|
+
|
|
1
3
|
prune sage
|
|
2
4
|
|
|
3
5
|
include VERSION.txt
|
|
@@ -10,6 +12,8 @@ global-exclude *.cpp
|
|
|
10
12
|
global-exclude all__sagemath_*.py
|
|
11
13
|
global-include all__sagemath_nauty.py
|
|
12
14
|
|
|
15
|
+
include repair_wheel.py
|
|
16
|
+
|
|
13
17
|
global-exclude __pycache__
|
|
14
18
|
global-exclude *.py[co]
|
|
15
19
|
global-exclude *.bak
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: passagemath-nauty
|
|
3
|
+
Version: 10.6.45
|
|
4
|
+
Summary: passagemath: Find automorphism groups of graphs, generate non-isomorphic graphs with nauty
|
|
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: Programming Language :: Python :: 3 :: Only
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
27
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
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-environment~=10.6.45.0
|
|
35
|
+
Requires-Dist: passagemath-graphs~=10.6.45.0
|
|
36
|
+
Provides-Extra: test
|
|
37
|
+
Requires-Dist: passagemath-repl; extra == "test"
|
|
38
|
+
|
|
39
|
+
==========================================================================================
|
|
40
|
+
passagemath: Find automorphism groups of graphs, generate non-isomorphic graphs with nauty
|
|
41
|
+
==========================================================================================
|
|
42
|
+
|
|
43
|
+
`passagemath <https://github.com/passagemath/passagemath>`__ is open
|
|
44
|
+
source mathematical software in Python, released under the GNU General
|
|
45
|
+
Public Licence GPLv2+.
|
|
46
|
+
|
|
47
|
+
It is a fork of `SageMath <https://www.sagemath.org/>`__, which has been
|
|
48
|
+
developed 2005-2025 under the motto “Creating a Viable Open Source
|
|
49
|
+
Alternative to Magma, Maple, Mathematica, and MATLAB”.
|
|
50
|
+
|
|
51
|
+
The passagemath fork uses the motto "Creating a Free Passage Between the
|
|
52
|
+
Scientific Python Ecosystem and Mathematical Software Communities."
|
|
53
|
+
It was created in October 2024 with the following goals:
|
|
54
|
+
|
|
55
|
+
- providing modularized installation with pip,
|
|
56
|
+
- establishing first-class membership in the scientific Python
|
|
57
|
+
ecosystem,
|
|
58
|
+
- giving `clear attribution of upstream
|
|
59
|
+
projects <https://groups.google.com/g/sage-devel/c/6HO1HEtL1Fs/m/G002rPGpAAAJ>`__,
|
|
60
|
+
- providing independently usable Python interfaces to upstream
|
|
61
|
+
libraries,
|
|
62
|
+
- offering `platform portability and integration testing
|
|
63
|
+
services <https://github.com/passagemath/passagemath/issues/704>`__
|
|
64
|
+
to upstream projects,
|
|
65
|
+
- inviting collaborations with upstream projects,
|
|
66
|
+
- `building a professional, respectful, inclusive
|
|
67
|
+
community <https://groups.google.com/g/sage-devel/c/xBzaINHWwUQ>`__,
|
|
68
|
+
- `empowering Sage users to participate in the scientific Python ecosystem
|
|
69
|
+
<https://github.com/passagemath/passagemath/issues/248>`__ by publishing packages,
|
|
70
|
+
- developing a port to `Pyodide <https://pyodide.org/en/stable/>`__ for
|
|
71
|
+
serverless deployment with Javascript,
|
|
72
|
+
- developing a native Windows port.
|
|
73
|
+
|
|
74
|
+
`Full documentation <https://passagemath.org/docs/latest/html/en/index.html>`__ is
|
|
75
|
+
available online.
|
|
76
|
+
|
|
77
|
+
passagemath attempts to support and provides binary wheels suitable for
|
|
78
|
+
all major Linux distributions and recent versions of macOS.
|
|
79
|
+
|
|
80
|
+
Binary wheels for native Windows (x86_64) are are available for a subset of
|
|
81
|
+
the passagemath distributions. Use of the full functionality of passagemath
|
|
82
|
+
on Windows currently requires the use of Windows Subsystem for Linux (WSL)
|
|
83
|
+
or virtualization.
|
|
84
|
+
|
|
85
|
+
The supported Python versions in the passagemath 10.6.x series are 3.10.x-3.14.x.
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
About this pip-installable distribution package
|
|
89
|
+
-----------------------------------------------
|
|
90
|
+
|
|
91
|
+
This pip-installable distribution ``passagemath-nauty`` provides an interface to
|
|
92
|
+
`nauty and traces <https://pallini.di.uniroma1.it/>`_, the programs for computing
|
|
93
|
+
automorphism groups of graphs and digraphs by Brendan McKay and Adolfo Piperno.
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
What is included
|
|
97
|
+
----------------
|
|
98
|
+
|
|
99
|
+
- Graph generators `graphs.nauty_genbg <https://passagemath.org/docs/latest/html/en/reference/graphs/sage/graphs/graph_generators.html#sage.graphs.graph_generators.GraphGenerators.nauty_genbg>`_, `graphs.nauty_geng <https://passagemath.org/docs/latest/html/en/reference/graphs/sage/graphs/graph_generators.html#sage.graphs.graph_generators.GraphGenerators.nauty_geng>`_, `graphs.nauty_genktreeg <https://passagemath.org/docs/latest/html/en/reference/graphs/sage/graphs/graph_generators.html#sage.graphs.graph_generators.GraphGenerators.nauty_genktreeg>`_
|
|
100
|
+
|
|
101
|
+
- Hypergraph generator `hypergraphs.nauty <https://passagemath.org/docs/latest/html/en/reference/graphs/sage/graphs/hypergraph_generators.html#sage.graphs.hypergraph_generators.HypergraphGenerators.nauty>`_
|
|
102
|
+
|
|
103
|
+
- Raw access to all gtools from Python
|
|
104
|
+
|
|
105
|
+
- The binary wheels published on PyPI include a prebuilt copy of nauty and traces.
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
Examples
|
|
109
|
+
--------
|
|
110
|
+
|
|
111
|
+
Using the gtools on the command line::
|
|
112
|
+
|
|
113
|
+
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-nauty" sage -sh -c 'geng 4'
|
|
114
|
+
>A geng -d0D3 n=4 e=0-6
|
|
115
|
+
C?
|
|
116
|
+
CC
|
|
117
|
+
CE
|
|
118
|
+
CF
|
|
119
|
+
CQ
|
|
120
|
+
CU
|
|
121
|
+
CT
|
|
122
|
+
CV
|
|
123
|
+
C]
|
|
124
|
+
C^
|
|
125
|
+
C~
|
|
126
|
+
>Z 11 graphs generated in 0.00 sec
|
|
127
|
+
|
|
128
|
+
Finding the installation location of a gtools program::
|
|
129
|
+
|
|
130
|
+
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-nauty[test]" ipython
|
|
131
|
+
|
|
132
|
+
In [1]: from sage.features.nauty import NautyExecutable
|
|
133
|
+
|
|
134
|
+
In [2]: NautyExecutable('geng').absolute_filename()
|
|
135
|
+
Out[2]: '/Users/mkoeppe/.local/pipx/.cache/535c90a22321f64/lib/python3.11/site-packages/sage_wheels/bin/geng'
|
|
136
|
+
|
|
137
|
+
Use with sage.graphs::
|
|
138
|
+
|
|
139
|
+
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-nauty[test]" ipython
|
|
140
|
+
|
|
141
|
+
In [1]: from passagemath_graphs import *
|
|
142
|
+
|
|
143
|
+
In [2]: gen = graphs.nauty_geng("7 -c") # connected graphs on 7 vertices
|
|
144
|
+
|
|
145
|
+
In [3]: len(list(gen))
|
|
146
|
+
Out[3]: 853
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
==========================================================================================
|
|
2
|
+
passagemath: Find automorphism groups of graphs, generate non-isomorphic graphs with nauty
|
|
3
|
+
==========================================================================================
|
|
4
|
+
|
|
5
|
+
`passagemath <https://github.com/passagemath/passagemath>`__ is open
|
|
6
|
+
source mathematical software in Python, released under the GNU General
|
|
7
|
+
Public Licence GPLv2+.
|
|
8
|
+
|
|
9
|
+
It is a fork of `SageMath <https://www.sagemath.org/>`__, which has been
|
|
10
|
+
developed 2005-2025 under the motto “Creating a Viable Open Source
|
|
11
|
+
Alternative to Magma, Maple, Mathematica, and MATLAB”.
|
|
12
|
+
|
|
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:
|
|
16
|
+
|
|
17
|
+
- providing modularized installation with pip,
|
|
18
|
+
- establishing first-class membership in the scientific Python
|
|
19
|
+
ecosystem,
|
|
20
|
+
- giving `clear attribution of upstream
|
|
21
|
+
projects <https://groups.google.com/g/sage-devel/c/6HO1HEtL1Fs/m/G002rPGpAAAJ>`__,
|
|
22
|
+
- providing independently usable Python interfaces to upstream
|
|
23
|
+
libraries,
|
|
24
|
+
- offering `platform portability and integration testing
|
|
25
|
+
services <https://github.com/passagemath/passagemath/issues/704>`__
|
|
26
|
+
to upstream projects,
|
|
27
|
+
- inviting collaborations with upstream projects,
|
|
28
|
+
- `building a professional, respectful, inclusive
|
|
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,
|
|
32
|
+
- developing a port to `Pyodide <https://pyodide.org/en/stable/>`__ for
|
|
33
|
+
serverless deployment with Javascript,
|
|
34
|
+
- developing a native Windows port.
|
|
35
|
+
|
|
36
|
+
`Full documentation <https://passagemath.org/docs/latest/html/en/index.html>`__ is
|
|
37
|
+
available online.
|
|
38
|
+
|
|
39
|
+
passagemath attempts to support and provides binary wheels suitable for
|
|
40
|
+
all major Linux distributions and recent versions of macOS.
|
|
41
|
+
|
|
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.
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
About this pip-installable distribution package
|
|
51
|
+
-----------------------------------------------
|
|
52
|
+
|
|
53
|
+
This pip-installable distribution ``passagemath-nauty`` provides an interface to
|
|
54
|
+
`nauty and traces <https://pallini.di.uniroma1.it/>`_, the programs for computing
|
|
55
|
+
automorphism groups of graphs and digraphs by Brendan McKay and Adolfo Piperno.
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
What is included
|
|
59
|
+
----------------
|
|
60
|
+
|
|
61
|
+
- Graph generators `graphs.nauty_genbg <https://passagemath.org/docs/latest/html/en/reference/graphs/sage/graphs/graph_generators.html#sage.graphs.graph_generators.GraphGenerators.nauty_genbg>`_, `graphs.nauty_geng <https://passagemath.org/docs/latest/html/en/reference/graphs/sage/graphs/graph_generators.html#sage.graphs.graph_generators.GraphGenerators.nauty_geng>`_, `graphs.nauty_genktreeg <https://passagemath.org/docs/latest/html/en/reference/graphs/sage/graphs/graph_generators.html#sage.graphs.graph_generators.GraphGenerators.nauty_genktreeg>`_
|
|
62
|
+
|
|
63
|
+
- Hypergraph generator `hypergraphs.nauty <https://passagemath.org/docs/latest/html/en/reference/graphs/sage/graphs/hypergraph_generators.html#sage.graphs.hypergraph_generators.HypergraphGenerators.nauty>`_
|
|
64
|
+
|
|
65
|
+
- Raw access to all gtools from Python
|
|
66
|
+
|
|
67
|
+
- The binary wheels published on PyPI include a prebuilt copy of nauty and traces.
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
Examples
|
|
71
|
+
--------
|
|
72
|
+
|
|
73
|
+
Using the gtools on the command line::
|
|
74
|
+
|
|
75
|
+
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-nauty" sage -sh -c 'geng 4'
|
|
76
|
+
>A geng -d0D3 n=4 e=0-6
|
|
77
|
+
C?
|
|
78
|
+
CC
|
|
79
|
+
CE
|
|
80
|
+
CF
|
|
81
|
+
CQ
|
|
82
|
+
CU
|
|
83
|
+
CT
|
|
84
|
+
CV
|
|
85
|
+
C]
|
|
86
|
+
C^
|
|
87
|
+
C~
|
|
88
|
+
>Z 11 graphs generated in 0.00 sec
|
|
89
|
+
|
|
90
|
+
Finding the installation location of a gtools program::
|
|
91
|
+
|
|
92
|
+
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-nauty[test]" ipython
|
|
93
|
+
|
|
94
|
+
In [1]: from sage.features.nauty import NautyExecutable
|
|
95
|
+
|
|
96
|
+
In [2]: NautyExecutable('geng').absolute_filename()
|
|
97
|
+
Out[2]: '/Users/mkoeppe/.local/pipx/.cache/535c90a22321f64/lib/python3.11/site-packages/sage_wheels/bin/geng'
|
|
98
|
+
|
|
99
|
+
Use with sage.graphs::
|
|
100
|
+
|
|
101
|
+
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-nauty[test]" ipython
|
|
102
|
+
|
|
103
|
+
In [1]: from passagemath_graphs import *
|
|
104
|
+
|
|
105
|
+
In [2]: gen = graphs.nauty_geng("7 -c") # connected graphs on 7 vertices
|
|
106
|
+
|
|
107
|
+
In [3]: len(list(gen))
|
|
108
|
+
Out[3]: 853
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
10.6.45
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: passagemath-nauty
|
|
3
|
+
Version: 10.6.45
|
|
4
|
+
Summary: passagemath: Find automorphism groups of graphs, generate non-isomorphic graphs with nauty
|
|
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: Programming Language :: Python :: 3 :: Only
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
27
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
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-environment~=10.6.45.0
|
|
35
|
+
Requires-Dist: passagemath-graphs~=10.6.45.0
|
|
36
|
+
Provides-Extra: test
|
|
37
|
+
Requires-Dist: passagemath-repl; extra == "test"
|
|
38
|
+
|
|
39
|
+
==========================================================================================
|
|
40
|
+
passagemath: Find automorphism groups of graphs, generate non-isomorphic graphs with nauty
|
|
41
|
+
==========================================================================================
|
|
42
|
+
|
|
43
|
+
`passagemath <https://github.com/passagemath/passagemath>`__ is open
|
|
44
|
+
source mathematical software in Python, released under the GNU General
|
|
45
|
+
Public Licence GPLv2+.
|
|
46
|
+
|
|
47
|
+
It is a fork of `SageMath <https://www.sagemath.org/>`__, which has been
|
|
48
|
+
developed 2005-2025 under the motto “Creating a Viable Open Source
|
|
49
|
+
Alternative to Magma, Maple, Mathematica, and MATLAB”.
|
|
50
|
+
|
|
51
|
+
The passagemath fork uses the motto "Creating a Free Passage Between the
|
|
52
|
+
Scientific Python Ecosystem and Mathematical Software Communities."
|
|
53
|
+
It was created in October 2024 with the following goals:
|
|
54
|
+
|
|
55
|
+
- providing modularized installation with pip,
|
|
56
|
+
- establishing first-class membership in the scientific Python
|
|
57
|
+
ecosystem,
|
|
58
|
+
- giving `clear attribution of upstream
|
|
59
|
+
projects <https://groups.google.com/g/sage-devel/c/6HO1HEtL1Fs/m/G002rPGpAAAJ>`__,
|
|
60
|
+
- providing independently usable Python interfaces to upstream
|
|
61
|
+
libraries,
|
|
62
|
+
- offering `platform portability and integration testing
|
|
63
|
+
services <https://github.com/passagemath/passagemath/issues/704>`__
|
|
64
|
+
to upstream projects,
|
|
65
|
+
- inviting collaborations with upstream projects,
|
|
66
|
+
- `building a professional, respectful, inclusive
|
|
67
|
+
community <https://groups.google.com/g/sage-devel/c/xBzaINHWwUQ>`__,
|
|
68
|
+
- `empowering Sage users to participate in the scientific Python ecosystem
|
|
69
|
+
<https://github.com/passagemath/passagemath/issues/248>`__ by publishing packages,
|
|
70
|
+
- developing a port to `Pyodide <https://pyodide.org/en/stable/>`__ for
|
|
71
|
+
serverless deployment with Javascript,
|
|
72
|
+
- developing a native Windows port.
|
|
73
|
+
|
|
74
|
+
`Full documentation <https://passagemath.org/docs/latest/html/en/index.html>`__ is
|
|
75
|
+
available online.
|
|
76
|
+
|
|
77
|
+
passagemath attempts to support and provides binary wheels suitable for
|
|
78
|
+
all major Linux distributions and recent versions of macOS.
|
|
79
|
+
|
|
80
|
+
Binary wheels for native Windows (x86_64) are are available for a subset of
|
|
81
|
+
the passagemath distributions. Use of the full functionality of passagemath
|
|
82
|
+
on Windows currently requires the use of Windows Subsystem for Linux (WSL)
|
|
83
|
+
or virtualization.
|
|
84
|
+
|
|
85
|
+
The supported Python versions in the passagemath 10.6.x series are 3.10.x-3.14.x.
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
About this pip-installable distribution package
|
|
89
|
+
-----------------------------------------------
|
|
90
|
+
|
|
91
|
+
This pip-installable distribution ``passagemath-nauty`` provides an interface to
|
|
92
|
+
`nauty and traces <https://pallini.di.uniroma1.it/>`_, the programs for computing
|
|
93
|
+
automorphism groups of graphs and digraphs by Brendan McKay and Adolfo Piperno.
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
What is included
|
|
97
|
+
----------------
|
|
98
|
+
|
|
99
|
+
- Graph generators `graphs.nauty_genbg <https://passagemath.org/docs/latest/html/en/reference/graphs/sage/graphs/graph_generators.html#sage.graphs.graph_generators.GraphGenerators.nauty_genbg>`_, `graphs.nauty_geng <https://passagemath.org/docs/latest/html/en/reference/graphs/sage/graphs/graph_generators.html#sage.graphs.graph_generators.GraphGenerators.nauty_geng>`_, `graphs.nauty_genktreeg <https://passagemath.org/docs/latest/html/en/reference/graphs/sage/graphs/graph_generators.html#sage.graphs.graph_generators.GraphGenerators.nauty_genktreeg>`_
|
|
100
|
+
|
|
101
|
+
- Hypergraph generator `hypergraphs.nauty <https://passagemath.org/docs/latest/html/en/reference/graphs/sage/graphs/hypergraph_generators.html#sage.graphs.hypergraph_generators.HypergraphGenerators.nauty>`_
|
|
102
|
+
|
|
103
|
+
- Raw access to all gtools from Python
|
|
104
|
+
|
|
105
|
+
- The binary wheels published on PyPI include a prebuilt copy of nauty and traces.
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
Examples
|
|
109
|
+
--------
|
|
110
|
+
|
|
111
|
+
Using the gtools on the command line::
|
|
112
|
+
|
|
113
|
+
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-nauty" sage -sh -c 'geng 4'
|
|
114
|
+
>A geng -d0D3 n=4 e=0-6
|
|
115
|
+
C?
|
|
116
|
+
CC
|
|
117
|
+
CE
|
|
118
|
+
CF
|
|
119
|
+
CQ
|
|
120
|
+
CU
|
|
121
|
+
CT
|
|
122
|
+
CV
|
|
123
|
+
C]
|
|
124
|
+
C^
|
|
125
|
+
C~
|
|
126
|
+
>Z 11 graphs generated in 0.00 sec
|
|
127
|
+
|
|
128
|
+
Finding the installation location of a gtools program::
|
|
129
|
+
|
|
130
|
+
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-nauty[test]" ipython
|
|
131
|
+
|
|
132
|
+
In [1]: from sage.features.nauty import NautyExecutable
|
|
133
|
+
|
|
134
|
+
In [2]: NautyExecutable('geng').absolute_filename()
|
|
135
|
+
Out[2]: '/Users/mkoeppe/.local/pipx/.cache/535c90a22321f64/lib/python3.11/site-packages/sage_wheels/bin/geng'
|
|
136
|
+
|
|
137
|
+
Use with sage.graphs::
|
|
138
|
+
|
|
139
|
+
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-nauty[test]" ipython
|
|
140
|
+
|
|
141
|
+
In [1]: from passagemath_graphs import *
|
|
142
|
+
|
|
143
|
+
In [2]: gen = graphs.nauty_geng("7 -c") # connected graphs on 7 vertices
|
|
144
|
+
|
|
145
|
+
In [3]: len(list(gen))
|
|
146
|
+
Out[3]: 853
|
|
@@ -1,13 +1,13 @@
|
|
|
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
|
-
'setuptools >=
|
|
4
|
+
'setuptools >= 77.0.0',
|
|
6
5
|
'pkgconfig',
|
|
7
|
-
'passagemath-
|
|
8
|
-
'passagemath-
|
|
9
|
-
'
|
|
10
|
-
'
|
|
6
|
+
'passagemath-conf ~= 10.6.45.0 ; sys_platform != "win32"',
|
|
7
|
+
'passagemath-setup ~= 10.6.45.0',
|
|
8
|
+
'passagemath-environment ~= 10.6.45.0',
|
|
9
|
+
'cython >=3.0.8, <3.3.0', 'cython >=3.0.8,<3.3.0',
|
|
10
|
+
'cysignals !=1.12.4; sys_platform == "win32"', 'cysignals >=1.11.2, != 1.12.0',
|
|
11
11
|
]
|
|
12
12
|
build-backend = "setuptools.build_meta"
|
|
13
13
|
|
|
@@ -15,12 +15,12 @@ build-backend = "setuptools.build_meta"
|
|
|
15
15
|
name = "passagemath-nauty"
|
|
16
16
|
description = "passagemath: Find automorphism groups of graphs, generate non-isomorphic graphs with nauty"
|
|
17
17
|
dependencies = [
|
|
18
|
-
'cysignals
|
|
19
|
-
'passagemath-environment ~= 10.
|
|
20
|
-
'passagemath-graphs ~= 10.
|
|
18
|
+
'cysignals !=1.12.4; sys_platform == "win32"', 'cysignals >=1.11.2, != 1.12.0',
|
|
19
|
+
'passagemath-environment ~= 10.6.45.0',
|
|
20
|
+
'passagemath-graphs ~= 10.6.45.0',
|
|
21
21
|
]
|
|
22
22
|
dynamic = ["version"]
|
|
23
|
-
license =
|
|
23
|
+
license = "GPL-2.0-or-later"
|
|
24
24
|
authors = [{name = "The Sage Developers", email = "sage-support@googlegroups.com"}]
|
|
25
25
|
maintainers = [
|
|
26
26
|
{name = "Matthias Köppe"},
|
|
@@ -30,24 +30,25 @@ classifiers = [
|
|
|
30
30
|
"Development Status :: 6 - Mature",
|
|
31
31
|
"Intended Audience :: Education",
|
|
32
32
|
"Intended Audience :: Science/Research",
|
|
33
|
-
"License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)",
|
|
34
33
|
"Operating System :: POSIX",
|
|
34
|
+
"Operating System :: POSIX :: Linux",
|
|
35
35
|
"Operating System :: MacOS :: MacOS X",
|
|
36
36
|
"Programming Language :: Python :: 3 :: Only",
|
|
37
|
-
"Programming Language :: Python :: 3.9",
|
|
38
37
|
"Programming Language :: Python :: 3.10",
|
|
39
38
|
"Programming Language :: Python :: 3.11",
|
|
40
39
|
"Programming Language :: Python :: 3.12",
|
|
40
|
+
"Programming Language :: Python :: 3.13",
|
|
41
|
+
"Programming Language :: Python :: 3.14",
|
|
41
42
|
"Programming Language :: Python :: Implementation :: CPython",
|
|
42
43
|
"Topic :: Scientific/Engineering :: Mathematics",
|
|
43
44
|
]
|
|
44
|
-
requires-python = ">=3.
|
|
45
|
+
requires-python = ">=3.10, <3.15"
|
|
45
46
|
|
|
46
47
|
[project.urls]
|
|
47
48
|
"release notes" = "https://github.com/passagemath/passagemath/releases"
|
|
48
49
|
"repo (upstream)" = "https://github.com/sagemath/sage"
|
|
49
50
|
"repo" = "https://github.com/passagemath/passagemath"
|
|
50
|
-
documentation = "https://
|
|
51
|
+
documentation = "https://passagemath.org/docs/latest"
|
|
51
52
|
"homepage (upstream)" = "https://www.sagemath.org"
|
|
52
53
|
"discourse" = "https://passagemath.discourse.group"
|
|
53
54
|
"tracker (upstream)" = "https://github.com/sagemath/sage/issues"
|
|
@@ -63,18 +64,15 @@ test = [
|
|
|
63
64
|
]
|
|
64
65
|
|
|
65
66
|
[tool.cibuildwheel.linux]
|
|
66
|
-
# Unfortunately CIBW_REPAIR_WHEEL_COMMAND does not expand {project} (and other placeholders),
|
|
67
|
-
# so there is no clean way to refer to the repair_wheel.py script
|
|
68
|
-
# https://github.com/pypa/cibuildwheel/issues/1931
|
|
69
67
|
repair-wheel-command = [
|
|
70
|
-
'python3 -m pip install passagemath-conf',
|
|
71
|
-
'python3
|
|
68
|
+
'python3 -m pip install passagemath-conf auditwheel',
|
|
69
|
+
'python3 {package}/repair_wheel.py {wheel}',
|
|
72
70
|
'auditwheel repair -w {dest_dir} {wheel}',
|
|
73
71
|
]
|
|
74
72
|
[tool.cibuildwheel.macos]
|
|
75
73
|
repair-wheel-command = [
|
|
76
|
-
'python3 -m pip install passagemath-conf',
|
|
77
|
-
'python3
|
|
74
|
+
'python3 -m pip install passagemath-conf auditwheel',
|
|
75
|
+
'python3 {package}/repair_wheel.py {wheel}',
|
|
78
76
|
'delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}',
|
|
79
77
|
]
|
|
80
78
|
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Add data to the wheel
|
|
2
|
+
|
|
3
|
+
import os
|
|
4
|
+
import shlex
|
|
5
|
+
import sys
|
|
6
|
+
|
|
7
|
+
from pathlib import Path
|
|
8
|
+
|
|
9
|
+
from auditwheel.wheeltools import InWheel
|
|
10
|
+
|
|
11
|
+
from sage_conf import SAGE_LOCAL
|
|
12
|
+
|
|
13
|
+
if "TMPDIR" in os.environ:
|
|
14
|
+
os.environ["TMPDIR"] = str(Path(os.environ["TMPDIR"]).resolve())
|
|
15
|
+
|
|
16
|
+
wheel = Path(sys.argv[1])
|
|
17
|
+
|
|
18
|
+
# SAGE_LOCAL/bin/* --> sage_wheels/bin/*
|
|
19
|
+
# list of files from build/pkgs/nauty/spkg-install.in
|
|
20
|
+
with InWheel(wheel, wheel):
|
|
21
|
+
command = f'set -o pipefail; (cd {shlex.quote(SAGE_LOCAL)} && tar cf - --dereference bin/{{addedgeg,addptg,amtog,ancestorg,assembleg,biplabg,catg,complg,converseg,copyg,countg,countneg,cubhamg,deledgeg,delptg,dimacs2g,directg,dreadnaut,dretodot,dretog,edgetransg,genbg,genbgL,geng,gengL,genposetg,genquarticg,genrang,genspecialg,gentourng,gentreeg,genktreeg,hamheuristic,labelg,linegraphg,listg,multig,nbrhoodg,newedgeg,pickg,planarg,productg,ranlabg,ransubg,{"shortg," if sys.platform != "win32" else ""}showg,subdivideg,twohamg,underlyingg,uniqg,vcolg,watercluster2,NRswitchg}}) | (mkdir -p sage_wheels && cd sage_wheels && tar xvf -)'
|
|
22
|
+
print(f'Running {command}')
|
|
23
|
+
sys.stdout.flush()
|
|
24
|
+
if os.system(f"bash -c {shlex.quote(command)}") != 0:
|
|
25
|
+
sys.exit(1)
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: passagemath-nauty
|
|
3
|
-
Version: 10.4.67
|
|
4
|
-
Summary: passagemath: Find automorphism groups of graphs, generate non-isomorphic graphs with nauty
|
|
5
|
-
Author-email: The Sage Developers <sage-support@googlegroups.com>
|
|
6
|
-
Maintainer: Matthias Köppe, passagemath contributors
|
|
7
|
-
License: GNU General Public License (GPL) v2 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://doc.sagemath.org
|
|
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: License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)
|
|
20
|
-
Classifier: Operating System :: POSIX
|
|
21
|
-
Classifier: Operating System :: MacOS :: MacOS X
|
|
22
|
-
Classifier: Programming Language :: Python :: 3 :: Only
|
|
23
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
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 :: Implementation :: CPython
|
|
28
|
-
Classifier: Topic :: Scientific/Engineering :: Mathematics
|
|
29
|
-
Requires-Python: <3.13,>=3.9
|
|
30
|
-
Description-Content-Type: text/x-rst
|
|
31
|
-
Requires-Dist: cysignals>=1.10.2
|
|
32
|
-
Requires-Dist: cysignals<1.12,>=1.10.2
|
|
33
|
-
Requires-Dist: passagemath-environment~=10.4.67.0
|
|
34
|
-
Requires-Dist: passagemath-graphs~=10.4.67.0
|
|
35
|
-
Provides-Extra: test
|
|
36
|
-
Requires-Dist: passagemath-repl; extra == "test"
|
|
37
|
-
|
|
38
|
-
==========================================================================================
|
|
39
|
-
passagemath: Find automorphism groups of graphs, generate non-isomorphic graphs with nauty
|
|
40
|
-
==========================================================================================
|
|
41
|
-
|
|
42
|
-
About SageMath
|
|
43
|
-
--------------
|
|
44
|
-
|
|
45
|
-
"Creating a Viable Open Source Alternative to
|
|
46
|
-
Magma, Maple, Mathematica, and MATLAB"
|
|
47
|
-
|
|
48
|
-
Copyright (C) 2005-2024 The Sage Development Team
|
|
49
|
-
|
|
50
|
-
https://www.sagemath.org
|
|
51
|
-
|
|
52
|
-
SageMath fully supports all major Linux distributions, recent versions of
|
|
53
|
-
macOS, and Windows (Windows Subsystem for Linux).
|
|
54
|
-
|
|
55
|
-
See https://doc.sagemath.org/html/en/installation/index.html
|
|
56
|
-
for general installation instructions.
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
About this pip-installable distribution package
|
|
60
|
-
-----------------------------------------------
|
|
61
|
-
|
|
62
|
-
This pip-installable distribution ``passagemath-nauty`` provides an interface to
|
|
63
|
-
`nauty and traces <https://pallini.di.uniroma1.it/>`_, the programs for computing
|
|
64
|
-
automorphism groups of graphs and digraphs by Brendan McKay and Adolfo Piperno.
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
What is included
|
|
68
|
-
----------------
|
|
69
|
-
|
|
70
|
-
- Graph generators `graphs.nauty_genbg <https://doc.sagemath.org/html/en/reference/graphs/sage/graphs/graph_generators.html#sage.graphs.graph_generators.GraphGenerators.nauty_genbg>`_, `graphs.nauty_geng <https://doc.sagemath.org/html/en/reference/graphs/sage/graphs/graph_generators.html#sage.graphs.graph_generators.GraphGenerators.nauty_geng>`_, `graphs.nauty_genktreeg <https://doc.sagemath.org/html/en/reference/graphs/sage/graphs/graph_generators.html#sage.graphs.graph_generators.GraphGenerators.nauty_genktreeg>`_
|
|
71
|
-
|
|
72
|
-
- Hypergraph generator `hypergraphs.nauty <https://doc.sagemath.org/html/en/reference/graphs/sage/graphs/hypergraph_generators.html#sage.graphs.hypergraph_generators.HypergraphGenerators.nauty>`_
|
|
73
|
-
|
|
74
|
-
- Raw access to all gtools from Python
|
|
75
|
-
|
|
76
|
-
- The binary wheels published on PyPI include a prebuilt copy of nauty and traces.
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
Examples
|
|
80
|
-
--------
|
|
81
|
-
|
|
82
|
-
Using the gtools on the command line::
|
|
83
|
-
|
|
84
|
-
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-nauty" sage -sh -c 'geng 4'
|
|
85
|
-
>A geng -d0D3 n=4 e=0-6
|
|
86
|
-
C?
|
|
87
|
-
CC
|
|
88
|
-
CE
|
|
89
|
-
CF
|
|
90
|
-
CQ
|
|
91
|
-
CU
|
|
92
|
-
CT
|
|
93
|
-
CV
|
|
94
|
-
C]
|
|
95
|
-
C^
|
|
96
|
-
C~
|
|
97
|
-
>Z 11 graphs generated in 0.00 sec
|
|
98
|
-
|
|
99
|
-
Finding the installation location of a gtools program::
|
|
100
|
-
|
|
101
|
-
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-nauty[test]" ipython
|
|
102
|
-
|
|
103
|
-
In [1]: from sage.features.nauty import NautyExecutable
|
|
104
|
-
|
|
105
|
-
In [2]: NautyExecutable('geng').absolute_filename()
|
|
106
|
-
Out[2]: '/Users/mkoeppe/.local/pipx/.cache/535c90a22321f64/lib/python3.11/site-packages/sage_wheels/bin/geng'
|
|
107
|
-
|
|
108
|
-
Use with sage.graphs::
|
|
109
|
-
|
|
110
|
-
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-nauty[test]" ipython
|
|
111
|
-
|
|
112
|
-
In [1]: from sage.all__sagemath_graphs import *
|
|
113
|
-
|
|
114
|
-
In [2]: gen = graphs.nauty_geng("7 -c") # connected graphs on 7 vertices
|
|
115
|
-
|
|
116
|
-
In [3]: len(list(gen))
|
|
117
|
-
Out[3]: 853
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
==========================================================================================
|
|
2
|
-
passagemath: Find automorphism groups of graphs, generate non-isomorphic graphs with nauty
|
|
3
|
-
==========================================================================================
|
|
4
|
-
|
|
5
|
-
About SageMath
|
|
6
|
-
--------------
|
|
7
|
-
|
|
8
|
-
"Creating a Viable Open Source Alternative to
|
|
9
|
-
Magma, Maple, Mathematica, and MATLAB"
|
|
10
|
-
|
|
11
|
-
Copyright (C) 2005-2024 The Sage Development Team
|
|
12
|
-
|
|
13
|
-
https://www.sagemath.org
|
|
14
|
-
|
|
15
|
-
SageMath fully supports all major Linux distributions, recent versions of
|
|
16
|
-
macOS, and Windows (Windows Subsystem for Linux).
|
|
17
|
-
|
|
18
|
-
See https://doc.sagemath.org/html/en/installation/index.html
|
|
19
|
-
for general installation instructions.
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
About this pip-installable distribution package
|
|
23
|
-
-----------------------------------------------
|
|
24
|
-
|
|
25
|
-
This pip-installable distribution ``passagemath-nauty`` provides an interface to
|
|
26
|
-
`nauty and traces <https://pallini.di.uniroma1.it/>`_, the programs for computing
|
|
27
|
-
automorphism groups of graphs and digraphs by Brendan McKay and Adolfo Piperno.
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
What is included
|
|
31
|
-
----------------
|
|
32
|
-
|
|
33
|
-
- Graph generators `graphs.nauty_genbg <https://doc.sagemath.org/html/en/reference/graphs/sage/graphs/graph_generators.html#sage.graphs.graph_generators.GraphGenerators.nauty_genbg>`_, `graphs.nauty_geng <https://doc.sagemath.org/html/en/reference/graphs/sage/graphs/graph_generators.html#sage.graphs.graph_generators.GraphGenerators.nauty_geng>`_, `graphs.nauty_genktreeg <https://doc.sagemath.org/html/en/reference/graphs/sage/graphs/graph_generators.html#sage.graphs.graph_generators.GraphGenerators.nauty_genktreeg>`_
|
|
34
|
-
|
|
35
|
-
- Hypergraph generator `hypergraphs.nauty <https://doc.sagemath.org/html/en/reference/graphs/sage/graphs/hypergraph_generators.html#sage.graphs.hypergraph_generators.HypergraphGenerators.nauty>`_
|
|
36
|
-
|
|
37
|
-
- Raw access to all gtools from Python
|
|
38
|
-
|
|
39
|
-
- The binary wheels published on PyPI include a prebuilt copy of nauty and traces.
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
Examples
|
|
43
|
-
--------
|
|
44
|
-
|
|
45
|
-
Using the gtools on the command line::
|
|
46
|
-
|
|
47
|
-
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-nauty" sage -sh -c 'geng 4'
|
|
48
|
-
>A geng -d0D3 n=4 e=0-6
|
|
49
|
-
C?
|
|
50
|
-
CC
|
|
51
|
-
CE
|
|
52
|
-
CF
|
|
53
|
-
CQ
|
|
54
|
-
CU
|
|
55
|
-
CT
|
|
56
|
-
CV
|
|
57
|
-
C]
|
|
58
|
-
C^
|
|
59
|
-
C~
|
|
60
|
-
>Z 11 graphs generated in 0.00 sec
|
|
61
|
-
|
|
62
|
-
Finding the installation location of a gtools program::
|
|
63
|
-
|
|
64
|
-
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-nauty[test]" ipython
|
|
65
|
-
|
|
66
|
-
In [1]: from sage.features.nauty import NautyExecutable
|
|
67
|
-
|
|
68
|
-
In [2]: NautyExecutable('geng').absolute_filename()
|
|
69
|
-
Out[2]: '/Users/mkoeppe/.local/pipx/.cache/535c90a22321f64/lib/python3.11/site-packages/sage_wheels/bin/geng'
|
|
70
|
-
|
|
71
|
-
Use with sage.graphs::
|
|
72
|
-
|
|
73
|
-
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-nauty[test]" ipython
|
|
74
|
-
|
|
75
|
-
In [1]: from sage.all__sagemath_graphs import *
|
|
76
|
-
|
|
77
|
-
In [2]: gen = graphs.nauty_geng("7 -c") # connected graphs on 7 vertices
|
|
78
|
-
|
|
79
|
-
In [3]: len(list(gen))
|
|
80
|
-
Out[3]: 853
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
10.4.67
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: passagemath-nauty
|
|
3
|
-
Version: 10.4.67
|
|
4
|
-
Summary: passagemath: Find automorphism groups of graphs, generate non-isomorphic graphs with nauty
|
|
5
|
-
Author-email: The Sage Developers <sage-support@googlegroups.com>
|
|
6
|
-
Maintainer: Matthias Köppe, passagemath contributors
|
|
7
|
-
License: GNU General Public License (GPL) v2 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://doc.sagemath.org
|
|
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: License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)
|
|
20
|
-
Classifier: Operating System :: POSIX
|
|
21
|
-
Classifier: Operating System :: MacOS :: MacOS X
|
|
22
|
-
Classifier: Programming Language :: Python :: 3 :: Only
|
|
23
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
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 :: Implementation :: CPython
|
|
28
|
-
Classifier: Topic :: Scientific/Engineering :: Mathematics
|
|
29
|
-
Requires-Python: <3.13,>=3.9
|
|
30
|
-
Description-Content-Type: text/x-rst
|
|
31
|
-
Requires-Dist: cysignals>=1.10.2
|
|
32
|
-
Requires-Dist: cysignals<1.12,>=1.10.2
|
|
33
|
-
Requires-Dist: passagemath-environment~=10.4.67.0
|
|
34
|
-
Requires-Dist: passagemath-graphs~=10.4.67.0
|
|
35
|
-
Provides-Extra: test
|
|
36
|
-
Requires-Dist: passagemath-repl; extra == "test"
|
|
37
|
-
|
|
38
|
-
==========================================================================================
|
|
39
|
-
passagemath: Find automorphism groups of graphs, generate non-isomorphic graphs with nauty
|
|
40
|
-
==========================================================================================
|
|
41
|
-
|
|
42
|
-
About SageMath
|
|
43
|
-
--------------
|
|
44
|
-
|
|
45
|
-
"Creating a Viable Open Source Alternative to
|
|
46
|
-
Magma, Maple, Mathematica, and MATLAB"
|
|
47
|
-
|
|
48
|
-
Copyright (C) 2005-2024 The Sage Development Team
|
|
49
|
-
|
|
50
|
-
https://www.sagemath.org
|
|
51
|
-
|
|
52
|
-
SageMath fully supports all major Linux distributions, recent versions of
|
|
53
|
-
macOS, and Windows (Windows Subsystem for Linux).
|
|
54
|
-
|
|
55
|
-
See https://doc.sagemath.org/html/en/installation/index.html
|
|
56
|
-
for general installation instructions.
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
About this pip-installable distribution package
|
|
60
|
-
-----------------------------------------------
|
|
61
|
-
|
|
62
|
-
This pip-installable distribution ``passagemath-nauty`` provides an interface to
|
|
63
|
-
`nauty and traces <https://pallini.di.uniroma1.it/>`_, the programs for computing
|
|
64
|
-
automorphism groups of graphs and digraphs by Brendan McKay and Adolfo Piperno.
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
What is included
|
|
68
|
-
----------------
|
|
69
|
-
|
|
70
|
-
- Graph generators `graphs.nauty_genbg <https://doc.sagemath.org/html/en/reference/graphs/sage/graphs/graph_generators.html#sage.graphs.graph_generators.GraphGenerators.nauty_genbg>`_, `graphs.nauty_geng <https://doc.sagemath.org/html/en/reference/graphs/sage/graphs/graph_generators.html#sage.graphs.graph_generators.GraphGenerators.nauty_geng>`_, `graphs.nauty_genktreeg <https://doc.sagemath.org/html/en/reference/graphs/sage/graphs/graph_generators.html#sage.graphs.graph_generators.GraphGenerators.nauty_genktreeg>`_
|
|
71
|
-
|
|
72
|
-
- Hypergraph generator `hypergraphs.nauty <https://doc.sagemath.org/html/en/reference/graphs/sage/graphs/hypergraph_generators.html#sage.graphs.hypergraph_generators.HypergraphGenerators.nauty>`_
|
|
73
|
-
|
|
74
|
-
- Raw access to all gtools from Python
|
|
75
|
-
|
|
76
|
-
- The binary wheels published on PyPI include a prebuilt copy of nauty and traces.
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
Examples
|
|
80
|
-
--------
|
|
81
|
-
|
|
82
|
-
Using the gtools on the command line::
|
|
83
|
-
|
|
84
|
-
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-nauty" sage -sh -c 'geng 4'
|
|
85
|
-
>A geng -d0D3 n=4 e=0-6
|
|
86
|
-
C?
|
|
87
|
-
CC
|
|
88
|
-
CE
|
|
89
|
-
CF
|
|
90
|
-
CQ
|
|
91
|
-
CU
|
|
92
|
-
CT
|
|
93
|
-
CV
|
|
94
|
-
C]
|
|
95
|
-
C^
|
|
96
|
-
C~
|
|
97
|
-
>Z 11 graphs generated in 0.00 sec
|
|
98
|
-
|
|
99
|
-
Finding the installation location of a gtools program::
|
|
100
|
-
|
|
101
|
-
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-nauty[test]" ipython
|
|
102
|
-
|
|
103
|
-
In [1]: from sage.features.nauty import NautyExecutable
|
|
104
|
-
|
|
105
|
-
In [2]: NautyExecutable('geng').absolute_filename()
|
|
106
|
-
Out[2]: '/Users/mkoeppe/.local/pipx/.cache/535c90a22321f64/lib/python3.11/site-packages/sage_wheels/bin/geng'
|
|
107
|
-
|
|
108
|
-
Use with sage.graphs::
|
|
109
|
-
|
|
110
|
-
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-nauty[test]" ipython
|
|
111
|
-
|
|
112
|
-
In [1]: from sage.all__sagemath_graphs import *
|
|
113
|
-
|
|
114
|
-
In [2]: gen = graphs.nauty_geng("7 -c") # connected graphs on 7 vertices
|
|
115
|
-
|
|
116
|
-
In [3]: len(list(gen))
|
|
117
|
-
Out[3]: 853
|
|
File without changes
|
{passagemath_nauty-10.4.67 → passagemath_nauty-10.6.45}/passagemath_nauty.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|