passagemath-graphs 10.6.1__cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.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_graphs-10.6.1.dist-info/METADATA +303 -0
- passagemath_graphs-10.6.1.dist-info/METADATA.bak +304 -0
- passagemath_graphs-10.6.1.dist-info/RECORD +263 -0
- passagemath_graphs-10.6.1.dist-info/WHEEL +6 -0
- passagemath_graphs-10.6.1.dist-info/top_level.txt +2 -0
- passagemath_graphs.libs/libgmp-93ebf16a.so.10.5.0 +0 -0
- sage/all__sagemath_graphs.py +40 -0
- sage/combinat/abstract_tree.py +2723 -0
- sage/combinat/all__sagemath_graphs.py +34 -0
- sage/combinat/binary_tree.py +5306 -0
- sage/combinat/cluster_algebra_quiver/all.py +22 -0
- sage/combinat/cluster_algebra_quiver/cluster_seed.py +5208 -0
- sage/combinat/cluster_algebra_quiver/interact.py +124 -0
- sage/combinat/cluster_algebra_quiver/mutation_class.py +625 -0
- sage/combinat/cluster_algebra_quiver/mutation_type.py +1555 -0
- sage/combinat/cluster_algebra_quiver/quiver.py +2290 -0
- sage/combinat/cluster_algebra_quiver/quiver_mutation_type.py +2468 -0
- sage/combinat/designs/MOLS_handbook_data.py +570 -0
- sage/combinat/designs/all.py +58 -0
- sage/combinat/designs/bibd.py +1655 -0
- sage/combinat/designs/block_design.py +1071 -0
- sage/combinat/designs/covering_array.py +269 -0
- sage/combinat/designs/covering_design.py +530 -0
- sage/combinat/designs/database.py +5615 -0
- sage/combinat/designs/design_catalog.py +122 -0
- sage/combinat/designs/designs_pyx.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/combinat/designs/designs_pyx.pxd +21 -0
- sage/combinat/designs/designs_pyx.pyx +993 -0
- sage/combinat/designs/difference_family.py +3951 -0
- sage/combinat/designs/difference_matrices.py +279 -0
- sage/combinat/designs/evenly_distributed_sets.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/combinat/designs/evenly_distributed_sets.pyx +661 -0
- sage/combinat/designs/ext_rep.py +1064 -0
- sage/combinat/designs/gen_quadrangles_with_spread.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/combinat/designs/gen_quadrangles_with_spread.pyx +339 -0
- sage/combinat/designs/group_divisible_designs.py +361 -0
- sage/combinat/designs/incidence_structures.py +2357 -0
- sage/combinat/designs/latin_squares.py +581 -0
- sage/combinat/designs/orthogonal_arrays.py +2244 -0
- sage/combinat/designs/orthogonal_arrays_build_recursive.py +1780 -0
- sage/combinat/designs/orthogonal_arrays_find_recursive.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/combinat/designs/orthogonal_arrays_find_recursive.pyx +967 -0
- sage/combinat/designs/resolvable_bibd.py +815 -0
- sage/combinat/designs/steiner_quadruple_systems.py +1306 -0
- sage/combinat/designs/subhypergraph_search.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/combinat/designs/subhypergraph_search.pyx +530 -0
- sage/combinat/designs/twographs.py +306 -0
- sage/combinat/finite_state_machine.py +14874 -0
- sage/combinat/finite_state_machine_generators.py +2006 -0
- sage/combinat/graph_path.py +448 -0
- sage/combinat/interval_posets.py +3908 -0
- sage/combinat/nu_tamari_lattice.py +269 -0
- sage/combinat/ordered_tree.py +1446 -0
- sage/combinat/posets/all.py +46 -0
- sage/combinat/posets/bubble_shuffle.py +247 -0
- sage/combinat/posets/cartesian_product.py +493 -0
- sage/combinat/posets/d_complete.py +182 -0
- sage/combinat/posets/elements.py +273 -0
- sage/combinat/posets/forest.py +30 -0
- sage/combinat/posets/hasse_cython.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/combinat/posets/hasse_cython.pyx +174 -0
- sage/combinat/posets/hasse_diagram.py +3672 -0
- sage/combinat/posets/hochschild_lattice.py +158 -0
- sage/combinat/posets/incidence_algebras.py +794 -0
- sage/combinat/posets/lattices.py +5117 -0
- sage/combinat/posets/linear_extension_iterator.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/combinat/posets/linear_extension_iterator.pyx +292 -0
- sage/combinat/posets/linear_extensions.py +1038 -0
- sage/combinat/posets/mobile.py +275 -0
- sage/combinat/posets/moebius_algebra.py +776 -0
- sage/combinat/posets/poset_examples.py +2181 -0
- sage/combinat/posets/posets.py +9360 -0
- sage/combinat/rooted_tree.py +1070 -0
- sage/combinat/shard_order.py +239 -0
- sage/combinat/tamari_lattices.py +384 -0
- sage/combinat/yang_baxter_graph.py +923 -0
- sage/databases/all__sagemath_graphs.py +1 -0
- sage/databases/knotinfo_db.py +1231 -0
- sage/ext_data/all__sagemath_graphs.py +1 -0
- sage/ext_data/graphs/graph_plot_js.html +330 -0
- sage/ext_data/kenzo/CP2.txt +45 -0
- sage/ext_data/kenzo/CP3.txt +349 -0
- sage/ext_data/kenzo/CP4.txt +4774 -0
- sage/ext_data/kenzo/README.txt +49 -0
- sage/ext_data/kenzo/S4.txt +20 -0
- sage/graphs/all.py +42 -0
- sage/graphs/asteroidal_triples.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/graphs/asteroidal_triples.pyx +320 -0
- sage/graphs/base/all.py +1 -0
- sage/graphs/base/boost_graph.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/graphs/base/boost_graph.pxd +106 -0
- sage/graphs/base/boost_graph.pyx +3045 -0
- sage/graphs/base/c_graph.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/graphs/base/c_graph.pxd +106 -0
- sage/graphs/base/c_graph.pyx +5096 -0
- sage/graphs/base/dense_graph.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/graphs/base/dense_graph.pxd +28 -0
- sage/graphs/base/dense_graph.pyx +801 -0
- sage/graphs/base/graph_backends.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/graphs/base/graph_backends.pxd +5 -0
- sage/graphs/base/graph_backends.pyx +797 -0
- sage/graphs/base/overview.py +85 -0
- sage/graphs/base/sparse_graph.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/graphs/base/sparse_graph.pxd +90 -0
- sage/graphs/base/sparse_graph.pyx +1653 -0
- sage/graphs/base/static_dense_graph.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/graphs/base/static_dense_graph.pxd +5 -0
- sage/graphs/base/static_dense_graph.pyx +1032 -0
- sage/graphs/base/static_sparse_backend.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/graphs/base/static_sparse_backend.pxd +27 -0
- sage/graphs/base/static_sparse_backend.pyx +1583 -0
- sage/graphs/base/static_sparse_graph.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/graphs/base/static_sparse_graph.pxd +37 -0
- sage/graphs/base/static_sparse_graph.pyx +1375 -0
- sage/graphs/bipartite_graph.py +2732 -0
- sage/graphs/centrality.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/graphs/centrality.pyx +1038 -0
- sage/graphs/cographs.py +519 -0
- sage/graphs/comparability.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/graphs/comparability.pyx +851 -0
- sage/graphs/connectivity.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/graphs/connectivity.pxd +157 -0
- sage/graphs/connectivity.pyx +4813 -0
- sage/graphs/convexity_properties.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/graphs/convexity_properties.pxd +16 -0
- sage/graphs/convexity_properties.pyx +870 -0
- sage/graphs/digraph.py +4754 -0
- sage/graphs/digraph_generators.py +1993 -0
- sage/graphs/distances_all_pairs.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/graphs/distances_all_pairs.pxd +12 -0
- sage/graphs/distances_all_pairs.pyx +2938 -0
- sage/graphs/domination.py +1363 -0
- sage/graphs/dot2tex_utils.py +100 -0
- sage/graphs/edge_connectivity.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/graphs/edge_connectivity.pyx +1215 -0
- sage/graphs/generators/all.py +1 -0
- sage/graphs/generators/basic.py +1769 -0
- sage/graphs/generators/chessboard.py +538 -0
- sage/graphs/generators/classical_geometries.py +1611 -0
- sage/graphs/generators/degree_sequence.py +235 -0
- sage/graphs/generators/distance_regular.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/graphs/generators/distance_regular.pyx +2846 -0
- sage/graphs/generators/families.py +4759 -0
- sage/graphs/generators/intersection.py +565 -0
- sage/graphs/generators/platonic_solids.py +262 -0
- sage/graphs/generators/random.py +2623 -0
- sage/graphs/generators/smallgraphs.py +5741 -0
- sage/graphs/generators/world_map.py +724 -0
- sage/graphs/generic_graph.py +26868 -0
- sage/graphs/generic_graph_pyx.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/graphs/generic_graph_pyx.pxd +34 -0
- sage/graphs/generic_graph_pyx.pyx +1673 -0
- sage/graphs/genus.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/graphs/genus.pyx +622 -0
- sage/graphs/graph.py +9645 -0
- sage/graphs/graph_coloring.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/graphs/graph_coloring.pyx +2284 -0
- sage/graphs/graph_database.py +1177 -0
- sage/graphs/graph_decompositions/all.py +1 -0
- sage/graphs/graph_decompositions/bandwidth.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/graphs/graph_decompositions/bandwidth.pyx +428 -0
- sage/graphs/graph_decompositions/clique_separators.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/graphs/graph_decompositions/clique_separators.pyx +616 -0
- sage/graphs/graph_decompositions/cutwidth.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/graphs/graph_decompositions/cutwidth.pyx +753 -0
- sage/graphs/graph_decompositions/fast_digraph.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/graphs/graph_decompositions/fast_digraph.pxd +13 -0
- sage/graphs/graph_decompositions/fast_digraph.pyx +212 -0
- sage/graphs/graph_decompositions/graph_products.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/graphs/graph_decompositions/graph_products.pyx +508 -0
- sage/graphs/graph_decompositions/modular_decomposition.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/graphs/graph_decompositions/modular_decomposition.pxd +27 -0
- sage/graphs/graph_decompositions/modular_decomposition.pyx +1536 -0
- sage/graphs/graph_decompositions/slice_decomposition.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/graphs/graph_decompositions/slice_decomposition.pxd +18 -0
- sage/graphs/graph_decompositions/slice_decomposition.pyx +1106 -0
- sage/graphs/graph_decompositions/tree_decomposition.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/graphs/graph_decompositions/tree_decomposition.pxd +17 -0
- sage/graphs/graph_decompositions/tree_decomposition.pyx +1996 -0
- sage/graphs/graph_decompositions/vertex_separation.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/graphs/graph_decompositions/vertex_separation.pxd +5 -0
- sage/graphs/graph_decompositions/vertex_separation.pyx +1963 -0
- sage/graphs/graph_editor.py +82 -0
- sage/graphs/graph_generators.py +3314 -0
- sage/graphs/graph_generators_pyx.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/graphs/graph_generators_pyx.pyx +95 -0
- sage/graphs/graph_input.py +812 -0
- sage/graphs/graph_latex.py +2064 -0
- sage/graphs/graph_list.py +410 -0
- sage/graphs/graph_plot.py +1756 -0
- sage/graphs/graph_plot_js.py +338 -0
- sage/graphs/hyperbolicity.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/graphs/hyperbolicity.pyx +1704 -0
- sage/graphs/hypergraph_generators.py +364 -0
- sage/graphs/independent_sets.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/graphs/independent_sets.pxd +13 -0
- sage/graphs/independent_sets.pyx +402 -0
- sage/graphs/isgci.py +1033 -0
- sage/graphs/isoperimetric_inequalities.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/graphs/isoperimetric_inequalities.pyx +489 -0
- sage/graphs/line_graph.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/graphs/line_graph.pyx +743 -0
- sage/graphs/lovasz_theta.py +77 -0
- sage/graphs/matching.py +1633 -0
- sage/graphs/matching_covered_graph.py +3591 -0
- sage/graphs/orientations.py +1489 -0
- sage/graphs/partial_cube.py +459 -0
- sage/graphs/path_enumeration.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/graphs/path_enumeration.pyx +2040 -0
- sage/graphs/pq_trees.py +1129 -0
- sage/graphs/print_graphs.py +201 -0
- sage/graphs/schnyder.py +865 -0
- sage/graphs/spanning_tree.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/graphs/spanning_tree.pyx +1457 -0
- sage/graphs/strongly_regular_db.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/graphs/strongly_regular_db.pyx +3340 -0
- sage/graphs/traversals.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/graphs/traversals.pxd +9 -0
- sage/graphs/traversals.pyx +1872 -0
- sage/graphs/trees.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/graphs/trees.pxd +15 -0
- sage/graphs/trees.pyx +310 -0
- sage/graphs/tutte_polynomial.py +713 -0
- sage/graphs/views.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/graphs/views.pyx +794 -0
- sage/graphs/weakly_chordal.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/graphs/weakly_chordal.pyx +604 -0
- sage/groups/all__sagemath_graphs.py +1 -0
- sage/groups/perm_gps/all__sagemath_graphs.py +1 -0
- sage/groups/perm_gps/partn_ref/all__sagemath_graphs.py +1 -0
- sage/groups/perm_gps/partn_ref/refinement_graphs.cpython-311-aarch64-linux-gnu.so +0 -0
- sage/groups/perm_gps/partn_ref/refinement_graphs.pxd +38 -0
- sage/groups/perm_gps/partn_ref/refinement_graphs.pyx +1666 -0
- sage/knots/all.py +6 -0
- sage/knots/free_knotinfo_monoid.py +507 -0
- sage/knots/gauss_code.py +291 -0
- sage/knots/knot.py +682 -0
- sage/knots/knot_table.py +284 -0
- sage/knots/knotinfo.py +2900 -0
- sage/knots/link.py +4715 -0
- sage/sandpiles/all.py +13 -0
- sage/sandpiles/examples.py +225 -0
- sage/sandpiles/sandpile.py +6365 -0
- sage/topology/all.py +22 -0
- sage/topology/cell_complex.py +1214 -0
- sage/topology/cubical_complex.py +1976 -0
- sage/topology/delta_complex.py +1806 -0
- sage/topology/filtered_simplicial_complex.py +744 -0
- sage/topology/moment_angle_complex.py +823 -0
- sage/topology/simplicial_complex.py +5160 -0
- sage/topology/simplicial_complex_catalog.py +92 -0
- sage/topology/simplicial_complex_examples.py +1680 -0
- sage/topology/simplicial_complex_homset.py +205 -0
- sage/topology/simplicial_complex_morphism.py +836 -0
- sage/topology/simplicial_set.py +4102 -0
- sage/topology/simplicial_set_catalog.py +55 -0
- sage/topology/simplicial_set_constructions.py +2954 -0
- sage/topology/simplicial_set_examples.py +865 -0
- sage/topology/simplicial_set_morphism.py +1464 -0
- sage_wheels/share/graphs/brouwer_srg_database.json +1 -0
- sage_wheels/share/graphs/graphs.db +0 -0
- sage_wheels/share/graphs/isgci_sage.xml +11116 -0
- sage_wheels/share/graphs/smallgraphs.txt +565 -0
@@ -0,0 +1,303 @@
|
|
1
|
+
Metadata-Version: 2.4
|
2
|
+
Name: passagemath-graphs
|
3
|
+
Version: 10.6.1
|
4
|
+
Summary: passagemath: Graphs, posets, hypergraphs, designs, abstract complexes, combinatorial polyhedra, abelian sandpiles, quivers
|
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://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: 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.14,>=3.10
|
31
|
+
Description-Content-Type: text/x-rst
|
32
|
+
Requires-Dist: gmpy2~=2.1.b999
|
33
|
+
Requires-Dist: cysignals<1.12.4; sys_platform == "win32"
|
34
|
+
Requires-Dist: cysignals!=1.12.0,>=1.11.2
|
35
|
+
Requires-Dist: memory_allocator
|
36
|
+
Requires-Dist: passagemath-categories~=10.6.1.0
|
37
|
+
Requires-Dist: passagemath-environment~=10.6.1.0
|
38
|
+
Provides-Extra: test
|
39
|
+
Requires-Dist: passagemath-repl; extra == "test"
|
40
|
+
Provides-Extra: benzene
|
41
|
+
Requires-Dist: passagemath-benzene; extra == "benzene"
|
42
|
+
Provides-Extra: bliss
|
43
|
+
Requires-Dist: passagemath-bliss; extra == "bliss"
|
44
|
+
Provides-Extra: buckygen
|
45
|
+
Requires-Dist: passagemath-buckygen; extra == "buckygen"
|
46
|
+
Provides-Extra: cliquer
|
47
|
+
Requires-Dist: passagemath-cliquer; extra == "cliquer"
|
48
|
+
Provides-Extra: cmr
|
49
|
+
Requires-Dist: passagemath-cmr; extra == "cmr"
|
50
|
+
Provides-Extra: gap
|
51
|
+
Requires-Dist: passagemath-gap; extra == "gap"
|
52
|
+
Provides-Extra: igraph
|
53
|
+
Requires-Dist: igraph; extra == "igraph"
|
54
|
+
Provides-Extra: mcqd
|
55
|
+
Requires-Dist: passagemath-mcqd; extra == "mcqd"
|
56
|
+
Provides-Extra: nauty
|
57
|
+
Requires-Dist: passagemath-nauty; extra == "nauty"
|
58
|
+
Provides-Extra: networkx
|
59
|
+
Requires-Dist: networkx>=2.4; extra == "networkx"
|
60
|
+
Provides-Extra: pari
|
61
|
+
Requires-Dist: passagemath-pari; extra == "pari"
|
62
|
+
Provides-Extra: planarity
|
63
|
+
Requires-Dist: passagemath-planarity; extra == "planarity"
|
64
|
+
Provides-Extra: plantri
|
65
|
+
Requires-Dist: passagemath-plantri; extra == "plantri"
|
66
|
+
Provides-Extra: rankwidth
|
67
|
+
Requires-Dist: passagemath-rankwidth; extra == "rankwidth"
|
68
|
+
Provides-Extra: rw
|
69
|
+
Requires-Dist: passagemath-graphs[rankwidth]; extra == "rw"
|
70
|
+
Provides-Extra: tdlib
|
71
|
+
Requires-Dist: passagemath-tdlib; extra == "tdlib"
|
72
|
+
Provides-Extra: combinat
|
73
|
+
Requires-Dist: passagemath-combinat; extra == "combinat"
|
74
|
+
Provides-Extra: databases
|
75
|
+
Provides-Extra: editor
|
76
|
+
Requires-Dist: phitigra>=0.2.6; extra == "editor"
|
77
|
+
Provides-Extra: groups
|
78
|
+
Requires-Dist: passagemath-groups; extra == "groups"
|
79
|
+
Requires-Dist: passagemath-graphs[nauty]; extra == "groups"
|
80
|
+
Provides-Extra: homology
|
81
|
+
Requires-Dist: passagemath-modules; extra == "homology"
|
82
|
+
Provides-Extra: mip
|
83
|
+
Requires-Dist: passagemath-polyhedra; extra == "mip"
|
84
|
+
Provides-Extra: modules
|
85
|
+
Requires-Dist: passagemath-modules; extra == "modules"
|
86
|
+
Provides-Extra: plot
|
87
|
+
Requires-Dist: passagemath-plot; extra == "plot"
|
88
|
+
Provides-Extra: polyhedra
|
89
|
+
Requires-Dist: passagemath-polyhedra; extra == "polyhedra"
|
90
|
+
Provides-Extra: repl
|
91
|
+
Requires-Dist: passagemath-repl; extra == "repl"
|
92
|
+
Provides-Extra: sat
|
93
|
+
Requires-Dist: passagemath-combinat; extra == "sat"
|
94
|
+
Provides-Extra: standard
|
95
|
+
Requires-Dist: passagemath-graphs[combinat,databases,groups,mip,modules,planarity,polyhedra,rankwidth,repl]; extra == "standard"
|
96
|
+
Requires-Dist: passagemath-plot[tachyon]; extra == "standard"
|
97
|
+
|
98
|
+
=======================================================================================================================================================
|
99
|
+
passagemath: Graphs, posets, hypergraphs, designs, abstract complexes, combinatorial polyhedra, abelian sandpiles, quivers
|
100
|
+
=======================================================================================================================================================
|
101
|
+
|
102
|
+
`passagemath <https://github.com/passagemath/passagemath>`__ is open
|
103
|
+
source mathematical software in Python, released under the GNU General
|
104
|
+
Public Licence GPLv2+.
|
105
|
+
|
106
|
+
It is a fork of `SageMath <https://www.sagemath.org/>`__, which has been
|
107
|
+
developed 2005-2025 under the motto “Creating a Viable Open Source
|
108
|
+
Alternative to Magma, Maple, Mathematica, and MATLAB”.
|
109
|
+
|
110
|
+
The passagemath fork uses the motto "Creating a Free Passage Between the
|
111
|
+
Scientific Python Ecosystem and Mathematical Software Communities."
|
112
|
+
It was created in October 2024 with the following goals:
|
113
|
+
|
114
|
+
- providing modularized installation with pip,
|
115
|
+
- establishing first-class membership in the scientific Python
|
116
|
+
ecosystem,
|
117
|
+
- giving `clear attribution of upstream
|
118
|
+
projects <https://groups.google.com/g/sage-devel/c/6HO1HEtL1Fs/m/G002rPGpAAAJ>`__,
|
119
|
+
- providing independently usable Python interfaces to upstream
|
120
|
+
libraries,
|
121
|
+
- offering `platform portability and integration testing
|
122
|
+
services <https://github.com/passagemath/passagemath/issues/704>`__
|
123
|
+
to upstream projects,
|
124
|
+
- inviting collaborations with upstream projects,
|
125
|
+
- `building a professional, respectful, inclusive
|
126
|
+
community <https://groups.google.com/g/sage-devel/c/xBzaINHWwUQ>`__,
|
127
|
+
- `[empowering Sage users to participate in the scientific Python ecosystem
|
128
|
+
<https://github.com/passagemath/passagemath/issues/248](https://github.com/passagemath/passagemath/issues/248)https://github.com/passagemath/passagemath/issues/248>`__ by publishing packages,
|
129
|
+
- developing a port to `Pyodide <https://pyodide.org/en/stable/>`__ for
|
130
|
+
serverless deployment with Javascript,
|
131
|
+
- developing a native Windows port.
|
132
|
+
|
133
|
+
`Full documentation <https://doc.sagemath.org/html/en/index.html>`__ is
|
134
|
+
available online.
|
135
|
+
|
136
|
+
passagemath attempts to support and provides binary wheels suitable for
|
137
|
+
all major Linux distributions and recent versions of macOS.
|
138
|
+
|
139
|
+
For the Linux aarch64 (ARM) platform, some third-party packages are still missing wheels;
|
140
|
+
see ` <https://github.com/passagemath/passagemath?tab=readme-ov-file#full-installation-of-passagemath-from-binary-wheels-on-pypi>`__
|
141
|
+
for instructions for building them from source.
|
142
|
+
|
143
|
+
Binary wheels for native Windows (x86_64) are are available for a subset of
|
144
|
+
the passagemath distributions. Use of the full functionality of passagemath
|
145
|
+
on Windows currently requires the use of Windows Subsystem for Linux (WSL)
|
146
|
+
or virtualization.
|
147
|
+
|
148
|
+
The supported Python versions in the passagemath 10.6.x series are 3.9.x-3.13.x.
|
149
|
+
|
150
|
+
|
151
|
+
About this pip-installable distribution package
|
152
|
+
-----------------------------------------------
|
153
|
+
|
154
|
+
This pip-installable package `passagemath-graphs` is a distribution of a part of the Sage Library. It provides a small subset of the modules of the Sage library ("sagelib", `passagemath-standard`) for computations with graphs, posets, complexes, etc.
|
155
|
+
|
156
|
+
It consists of over 170 first-party Python and Cython modules and uses the `Boost Graph Library <https://github.com/boostorg/graph>`_, with additional functionality from `NetworkX <https://networkx.github.io/>`_ and several other libraries.
|
157
|
+
|
158
|
+
|
159
|
+
What is included
|
160
|
+
----------------
|
161
|
+
|
162
|
+
* `Graph Theory <https://doc.sagemath.org/html/en/reference/graphs/index.html>`_
|
163
|
+
|
164
|
+
* `Trees <https://doc.sagemath.org/html/en/reference/combinat/sage/combinat/enumerated_sets.html#trees>`_
|
165
|
+
|
166
|
+
* `Posets <https://doc.sagemath.org/html/en/reference/combinat/sage/combinat/posets/all.html>`_
|
167
|
+
|
168
|
+
* `Abstract Complexes <https://doc.sagemath.org/html/en/reference/topology/index.html>`_
|
169
|
+
|
170
|
+
* `Combinatorial Designs and Incidence Structure <https://doc.sagemath.org/html/en/reference/combinat/sage/combinat/designs/all.html>`_
|
171
|
+
|
172
|
+
* `Finite State Machines, Automata, Transducers <https://doc.sagemath.org/html/en/reference/combinat/sage/combinat/finite_state_machine.html>`_
|
173
|
+
|
174
|
+
* `Cluster Algebras and Quivers <https://doc.sagemath.org/html/en/reference/combinat/sage/combinat/cluster_algebra_quiver/all.html>`_
|
175
|
+
|
176
|
+
* `Knot Theory <https://doc.sagemath.org/html/en/reference/knots/index.html>`_
|
177
|
+
|
178
|
+
* `Sandpiles <https://doc.sagemath.org/html/en/reference/dynamics/sage/sandpiles/sandpile.html>`_
|
179
|
+
|
180
|
+
* see https://github.com/passagemath/passagemath/blob/main/pkgs/sagemath-graphs/MANIFEST.in
|
181
|
+
|
182
|
+
|
183
|
+
Examples
|
184
|
+
--------
|
185
|
+
|
186
|
+
A quick way to try it out interactively::
|
187
|
+
|
188
|
+
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-graphs[test]" ipython
|
189
|
+
In [1]: from sage.all__sagemath_graphs import *
|
190
|
+
|
191
|
+
In [6]: g = Graph([(1, 3), (3, 8), (5, 2)]); g
|
192
|
+
Out[6]: Graph on 5 vertices
|
193
|
+
|
194
|
+
In [7]: g.is_connected()
|
195
|
+
Out[7]: False
|
196
|
+
|
197
|
+
|
198
|
+
Available as extras, from other distributions
|
199
|
+
---------------------------------------------
|
200
|
+
|
201
|
+
Libraries
|
202
|
+
~~~~~~~~~
|
203
|
+
|
204
|
+
``pip install passagemath-graphs[benzene,buckygen,plantri]`` additionally make
|
205
|
+
various graph generators available via `passagemath-benzene <https://pypi.org/project/passagemath-benzene/>`_, `passagemath-buckygen <https://pypi.org/project/passagemath-buckygen/>`_, and `passagemath-plantri <https://pypi.org/project/passagemath-plantri/>`_.
|
206
|
+
|
207
|
+
``pip install passagemath-graphs[bliss]`` additionally installs `passagemath-bliss <https://pypi.org/project/passagemath-bliss/>`_ for the purpose
|
208
|
+
of computing graph (iso/auto)morphisms.
|
209
|
+
|
210
|
+
``pip install passagemath-graphs[cliquer]`` additionally installs `passagemath-cliquer <https://pypi.org/project/passagemath-cliquer/>`_
|
211
|
+
|
212
|
+
``pip install passagemath-graphs[cmr]`` additionally installs `passagemath-cmr <https://pypi.org/project/passagemath-cmr/>`_ for recognition and decomposition algorithms
|
213
|
+
for network matrices, totally unimodular matrices and regular matroids, series-parallel matroids, etc.
|
214
|
+
|
215
|
+
``pip install passagemath-graphs[gap]`` additionally installs `passagemath-gap <https://pypi.org/project/passagemath-gap/>`_ for group-theoretic functionality.
|
216
|
+
|
217
|
+
``pip install passagemath-graphs[igraph]`` additionally installs
|
218
|
+
`igraph <https://python.igraph.org/en/stable/>`_::
|
219
|
+
|
220
|
+
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-graphs[igraph,test]" ipython
|
221
|
+
In [1]: from sage.all__sagemath_graphs import *
|
222
|
+
|
223
|
+
In [2]: ## Example depending on igraph goes here
|
224
|
+
|
225
|
+
``pip install passagemath-graphs[mcqd]`` additionally installs `passagemath-mcqd <https://pypi.org/project/passagemath-mcqd/>`_
|
226
|
+
|
227
|
+
``pip install passagemath-graphs[nauty]`` additionally installs `passagemath-nauty <https://pypi.org/project/passagemath-nauty/>`_ for computing
|
228
|
+
automorphism groups of graphs and digraphs.
|
229
|
+
|
230
|
+
``pip install passagemath-graphs[networkx]`` additionally installs
|
231
|
+
`NetworkX <https://networkx.github.io>`__::
|
232
|
+
|
233
|
+
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-graphs[networkx,test]" ipython
|
234
|
+
In [1]: from sage.all__sagemath_graphs import *
|
235
|
+
|
236
|
+
In [2]: ## Example depending on networkx goes here
|
237
|
+
|
238
|
+
``pip install passagemath-graphs[pari]`` additionally installs `passagemath-pari <https://pypi.org/project/passagemath-pari/>`_
|
239
|
+
|
240
|
+
``pip install passagemath-graphs[planarity]`` additionally installs `passagemath-planarity <https://pypi.org/project/passagemath-planarity/>`_ for planarity testing.
|
241
|
+
|
242
|
+
``pip install passagemath-graphs[rankwidth]`` additionally installs `passagemath-rankwidth <https://pypi.org/project/passagemath-rankwidth/>`_ for rank width and rank decompositions.
|
243
|
+
|
244
|
+
``pip install passagemath-graphs[tdlib]`` additionally installs `passagemath-tdlib <https://pypi.org/project/passagemath-tdlib/>`_ for computing tree decompositions.
|
245
|
+
|
246
|
+
|
247
|
+
Features
|
248
|
+
~~~~~~~~
|
249
|
+
|
250
|
+
``pip install passagemath-graphs[combinat]`` additionally installs `passagemath-combinat <https://pypi.org/project/passagemath-combinat/>`_
|
251
|
+
|
252
|
+
``pip install passagemath-graphs[editor]`` additionally installs the interactive graph editor `phitigra <https://pypi.org/project/phitigra/>`_.
|
253
|
+
|
254
|
+
``pip install passagemath-graphs[groups]`` additionally makes group-theoretic features
|
255
|
+
available via `passagemath-gap <https://pypi.org/project/passagemath-gap/>`_, `passagemath-groups <https://pypi.org/project/passagemath-groups/>`_, and `passagemath-nauty <https://pypi.org/project/passagemath-nauty/>`_::
|
256
|
+
|
257
|
+
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-graphs[groups,test]" ipython
|
258
|
+
In [1]: from sage.all__sagemath_graphs import *
|
259
|
+
|
260
|
+
In [2]: g = Graph({
|
261
|
+
0: [1, 2],
|
262
|
+
1: [0, 2],
|
263
|
+
2: [0, 1, 3],
|
264
|
+
3: [2]
|
265
|
+
})
|
266
|
+
|
267
|
+
In [3]: aut = g.automorphism_group()
|
268
|
+
|
269
|
+
In [4]: print(aut.order())
|
270
|
+
|
271
|
+
``pip install passagemath-graphs[homology]`` provides homological computations for abstract complexes via `passagemath-modules <https://pypi.org/project/passagemath-modules/>`_.
|
272
|
+
|
273
|
+
``pip install passagemath-graphs[mip]`` additionally makes the mixed-integer programming
|
274
|
+
solver GLPK available via `passagemath-glpk <https://pypi.org/project/passagemath-glpk/>`_ and `passagemath-polyhedra <https://pypi.org/project/passagemath-polyhedra/>`_ (see there for other available solvers).::
|
275
|
+
|
276
|
+
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-graphs[mip,test]" ipython
|
277
|
+
In [1]: from sage.all__sagemath_graphs import *
|
278
|
+
|
279
|
+
In [2]: ## Example depending on MIP goes here
|
280
|
+
|
281
|
+
``pip install passagemath-graphs[modules]`` additionally makes linear algebra features available via `passagemath-modules <https://pypi.org/project/passagemath-modules/>`_.
|
282
|
+
|
283
|
+
``pip install passagemath-graphs[plot]`` additionally installs `passagemath-plot <https://pypi.org/project/passagemath-plot/>`_.
|
284
|
+
|
285
|
+
``pip install passagemath-graphs[polyhedra]`` additionally installs `passagemath-polyhedra <https://pypi.org/project/passagemath-polyhedra/>`_.
|
286
|
+
|
287
|
+
``pip install passagemath-graphs[sat]`` additionally provides SAT features via `passagemath-combinat <https://pypi.org/project/passagemath-combinat/>`_.
|
288
|
+
|
289
|
+
``pip install passagemath-graphs[standard]`` installs all libraries and features related to graphs that
|
290
|
+
are available in a standard installation of Sage.
|
291
|
+
|
292
|
+
|
293
|
+
Development
|
294
|
+
-----------
|
295
|
+
|
296
|
+
::
|
297
|
+
|
298
|
+
$ git clone --origin passagemath https://github.com/passagemath/passagemath.git
|
299
|
+
$ cd passagemath
|
300
|
+
passagemath $ ./bootstrap
|
301
|
+
passagemath $ python3 -m venv graphs-venv
|
302
|
+
passagemath $ source graphs-venv/bin/activate
|
303
|
+
(graphs-venv) passagemath $ pip install -v -e pkgs/sagemath-graphs
|
@@ -0,0 +1,304 @@
|
|
1
|
+
Metadata-Version: 2.4
|
2
|
+
Name: passagemath-graphs
|
3
|
+
Version: 10.6.1
|
4
|
+
Summary: passagemath: Graphs, posets, hypergraphs, designs, abstract complexes, combinatorial polyhedra, abelian sandpiles, quivers
|
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://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: 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.14,>=3.10
|
31
|
+
Description-Content-Type: text/x-rst
|
32
|
+
Requires-Dist: gmpy2~=2.1.b999
|
33
|
+
Requires-Dist: cysignals<1.12.4; sys_platform == "win32"
|
34
|
+
Requires-Dist: cysignals!=1.12.0,>=1.11.2
|
35
|
+
Requires-Dist: memory_allocator
|
36
|
+
Requires-Dist: passagemath-categories~=10.6.1.0
|
37
|
+
Requires-Dist: passagemath-conf~=10.6.1.0; sys_platform != "win32"
|
38
|
+
Requires-Dist: passagemath-environment~=10.6.1.0
|
39
|
+
Provides-Extra: test
|
40
|
+
Requires-Dist: passagemath-repl; extra == "test"
|
41
|
+
Provides-Extra: benzene
|
42
|
+
Requires-Dist: passagemath-benzene; extra == "benzene"
|
43
|
+
Provides-Extra: bliss
|
44
|
+
Requires-Dist: passagemath-bliss; extra == "bliss"
|
45
|
+
Provides-Extra: buckygen
|
46
|
+
Requires-Dist: passagemath-buckygen; extra == "buckygen"
|
47
|
+
Provides-Extra: cliquer
|
48
|
+
Requires-Dist: passagemath-cliquer; extra == "cliquer"
|
49
|
+
Provides-Extra: cmr
|
50
|
+
Requires-Dist: passagemath-cmr; extra == "cmr"
|
51
|
+
Provides-Extra: gap
|
52
|
+
Requires-Dist: passagemath-gap; extra == "gap"
|
53
|
+
Provides-Extra: igraph
|
54
|
+
Requires-Dist: igraph; extra == "igraph"
|
55
|
+
Provides-Extra: mcqd
|
56
|
+
Requires-Dist: passagemath-mcqd; extra == "mcqd"
|
57
|
+
Provides-Extra: nauty
|
58
|
+
Requires-Dist: passagemath-nauty; extra == "nauty"
|
59
|
+
Provides-Extra: networkx
|
60
|
+
Requires-Dist: networkx>=2.4; extra == "networkx"
|
61
|
+
Provides-Extra: pari
|
62
|
+
Requires-Dist: passagemath-pari; extra == "pari"
|
63
|
+
Provides-Extra: planarity
|
64
|
+
Requires-Dist: passagemath-planarity; extra == "planarity"
|
65
|
+
Provides-Extra: plantri
|
66
|
+
Requires-Dist: passagemath-plantri; extra == "plantri"
|
67
|
+
Provides-Extra: rankwidth
|
68
|
+
Requires-Dist: passagemath-rankwidth; extra == "rankwidth"
|
69
|
+
Provides-Extra: rw
|
70
|
+
Requires-Dist: passagemath-graphs[rankwidth]; extra == "rw"
|
71
|
+
Provides-Extra: tdlib
|
72
|
+
Requires-Dist: passagemath-tdlib; extra == "tdlib"
|
73
|
+
Provides-Extra: combinat
|
74
|
+
Requires-Dist: passagemath-combinat; extra == "combinat"
|
75
|
+
Provides-Extra: databases
|
76
|
+
Provides-Extra: editor
|
77
|
+
Requires-Dist: phitigra>=0.2.6; extra == "editor"
|
78
|
+
Provides-Extra: groups
|
79
|
+
Requires-Dist: passagemath-groups; extra == "groups"
|
80
|
+
Requires-Dist: passagemath-graphs[nauty]; extra == "groups"
|
81
|
+
Provides-Extra: homology
|
82
|
+
Requires-Dist: passagemath-modules; extra == "homology"
|
83
|
+
Provides-Extra: mip
|
84
|
+
Requires-Dist: passagemath-polyhedra; extra == "mip"
|
85
|
+
Provides-Extra: modules
|
86
|
+
Requires-Dist: passagemath-modules; extra == "modules"
|
87
|
+
Provides-Extra: plot
|
88
|
+
Requires-Dist: passagemath-plot; extra == "plot"
|
89
|
+
Provides-Extra: polyhedra
|
90
|
+
Requires-Dist: passagemath-polyhedra; extra == "polyhedra"
|
91
|
+
Provides-Extra: repl
|
92
|
+
Requires-Dist: passagemath-repl; extra == "repl"
|
93
|
+
Provides-Extra: sat
|
94
|
+
Requires-Dist: passagemath-combinat; extra == "sat"
|
95
|
+
Provides-Extra: standard
|
96
|
+
Requires-Dist: passagemath-graphs[combinat,databases,groups,mip,modules,planarity,polyhedra,rankwidth,repl]; extra == "standard"
|
97
|
+
Requires-Dist: passagemath-plot[tachyon]; extra == "standard"
|
98
|
+
|
99
|
+
=======================================================================================================================================================
|
100
|
+
passagemath: Graphs, posets, hypergraphs, designs, abstract complexes, combinatorial polyhedra, abelian sandpiles, quivers
|
101
|
+
=======================================================================================================================================================
|
102
|
+
|
103
|
+
`passagemath <https://github.com/passagemath/passagemath>`__ is open
|
104
|
+
source mathematical software in Python, released under the GNU General
|
105
|
+
Public Licence GPLv2+.
|
106
|
+
|
107
|
+
It is a fork of `SageMath <https://www.sagemath.org/>`__, which has been
|
108
|
+
developed 2005-2025 under the motto “Creating a Viable Open Source
|
109
|
+
Alternative to Magma, Maple, Mathematica, and MATLAB”.
|
110
|
+
|
111
|
+
The passagemath fork uses the motto "Creating a Free Passage Between the
|
112
|
+
Scientific Python Ecosystem and Mathematical Software Communities."
|
113
|
+
It was created in October 2024 with the following goals:
|
114
|
+
|
115
|
+
- providing modularized installation with pip,
|
116
|
+
- establishing first-class membership in the scientific Python
|
117
|
+
ecosystem,
|
118
|
+
- giving `clear attribution of upstream
|
119
|
+
projects <https://groups.google.com/g/sage-devel/c/6HO1HEtL1Fs/m/G002rPGpAAAJ>`__,
|
120
|
+
- providing independently usable Python interfaces to upstream
|
121
|
+
libraries,
|
122
|
+
- offering `platform portability and integration testing
|
123
|
+
services <https://github.com/passagemath/passagemath/issues/704>`__
|
124
|
+
to upstream projects,
|
125
|
+
- inviting collaborations with upstream projects,
|
126
|
+
- `building a professional, respectful, inclusive
|
127
|
+
community <https://groups.google.com/g/sage-devel/c/xBzaINHWwUQ>`__,
|
128
|
+
- `[empowering Sage users to participate in the scientific Python ecosystem
|
129
|
+
<https://github.com/passagemath/passagemath/issues/248](https://github.com/passagemath/passagemath/issues/248)https://github.com/passagemath/passagemath/issues/248>`__ by publishing packages,
|
130
|
+
- developing a port to `Pyodide <https://pyodide.org/en/stable/>`__ for
|
131
|
+
serverless deployment with Javascript,
|
132
|
+
- developing a native Windows port.
|
133
|
+
|
134
|
+
`Full documentation <https://doc.sagemath.org/html/en/index.html>`__ is
|
135
|
+
available online.
|
136
|
+
|
137
|
+
passagemath attempts to support and provides binary wheels suitable for
|
138
|
+
all major Linux distributions and recent versions of macOS.
|
139
|
+
|
140
|
+
For the Linux aarch64 (ARM) platform, some third-party packages are still missing wheels;
|
141
|
+
see ` <https://github.com/passagemath/passagemath?tab=readme-ov-file#full-installation-of-passagemath-from-binary-wheels-on-pypi>`__
|
142
|
+
for instructions for building them from source.
|
143
|
+
|
144
|
+
Binary wheels for native Windows (x86_64) are are available for a subset of
|
145
|
+
the passagemath distributions. Use of the full functionality of passagemath
|
146
|
+
on Windows currently requires the use of Windows Subsystem for Linux (WSL)
|
147
|
+
or virtualization.
|
148
|
+
|
149
|
+
The supported Python versions in the passagemath 10.6.x series are 3.9.x-3.13.x.
|
150
|
+
|
151
|
+
|
152
|
+
About this pip-installable distribution package
|
153
|
+
-----------------------------------------------
|
154
|
+
|
155
|
+
This pip-installable package `passagemath-graphs` is a distribution of a part of the Sage Library. It provides a small subset of the modules of the Sage library ("sagelib", `passagemath-standard`) for computations with graphs, posets, complexes, etc.
|
156
|
+
|
157
|
+
It consists of over 170 first-party Python and Cython modules and uses the `Boost Graph Library <https://github.com/boostorg/graph>`_, with additional functionality from `NetworkX <https://networkx.github.io/>`_ and several other libraries.
|
158
|
+
|
159
|
+
|
160
|
+
What is included
|
161
|
+
----------------
|
162
|
+
|
163
|
+
* `Graph Theory <https://doc.sagemath.org/html/en/reference/graphs/index.html>`_
|
164
|
+
|
165
|
+
* `Trees <https://doc.sagemath.org/html/en/reference/combinat/sage/combinat/enumerated_sets.html#trees>`_
|
166
|
+
|
167
|
+
* `Posets <https://doc.sagemath.org/html/en/reference/combinat/sage/combinat/posets/all.html>`_
|
168
|
+
|
169
|
+
* `Abstract Complexes <https://doc.sagemath.org/html/en/reference/topology/index.html>`_
|
170
|
+
|
171
|
+
* `Combinatorial Designs and Incidence Structure <https://doc.sagemath.org/html/en/reference/combinat/sage/combinat/designs/all.html>`_
|
172
|
+
|
173
|
+
* `Finite State Machines, Automata, Transducers <https://doc.sagemath.org/html/en/reference/combinat/sage/combinat/finite_state_machine.html>`_
|
174
|
+
|
175
|
+
* `Cluster Algebras and Quivers <https://doc.sagemath.org/html/en/reference/combinat/sage/combinat/cluster_algebra_quiver/all.html>`_
|
176
|
+
|
177
|
+
* `Knot Theory <https://doc.sagemath.org/html/en/reference/knots/index.html>`_
|
178
|
+
|
179
|
+
* `Sandpiles <https://doc.sagemath.org/html/en/reference/dynamics/sage/sandpiles/sandpile.html>`_
|
180
|
+
|
181
|
+
* see https://github.com/passagemath/passagemath/blob/main/pkgs/sagemath-graphs/MANIFEST.in
|
182
|
+
|
183
|
+
|
184
|
+
Examples
|
185
|
+
--------
|
186
|
+
|
187
|
+
A quick way to try it out interactively::
|
188
|
+
|
189
|
+
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-graphs[test]" ipython
|
190
|
+
In [1]: from sage.all__sagemath_graphs import *
|
191
|
+
|
192
|
+
In [6]: g = Graph([(1, 3), (3, 8), (5, 2)]); g
|
193
|
+
Out[6]: Graph on 5 vertices
|
194
|
+
|
195
|
+
In [7]: g.is_connected()
|
196
|
+
Out[7]: False
|
197
|
+
|
198
|
+
|
199
|
+
Available as extras, from other distributions
|
200
|
+
---------------------------------------------
|
201
|
+
|
202
|
+
Libraries
|
203
|
+
~~~~~~~~~
|
204
|
+
|
205
|
+
``pip install passagemath-graphs[benzene,buckygen,plantri]`` additionally make
|
206
|
+
various graph generators available via `passagemath-benzene <https://pypi.org/project/passagemath-benzene/>`_, `passagemath-buckygen <https://pypi.org/project/passagemath-buckygen/>`_, and `passagemath-plantri <https://pypi.org/project/passagemath-plantri/>`_.
|
207
|
+
|
208
|
+
``pip install passagemath-graphs[bliss]`` additionally installs `passagemath-bliss <https://pypi.org/project/passagemath-bliss/>`_ for the purpose
|
209
|
+
of computing graph (iso/auto)morphisms.
|
210
|
+
|
211
|
+
``pip install passagemath-graphs[cliquer]`` additionally installs `passagemath-cliquer <https://pypi.org/project/passagemath-cliquer/>`_
|
212
|
+
|
213
|
+
``pip install passagemath-graphs[cmr]`` additionally installs `passagemath-cmr <https://pypi.org/project/passagemath-cmr/>`_ for recognition and decomposition algorithms
|
214
|
+
for network matrices, totally unimodular matrices and regular matroids, series-parallel matroids, etc.
|
215
|
+
|
216
|
+
``pip install passagemath-graphs[gap]`` additionally installs `passagemath-gap <https://pypi.org/project/passagemath-gap/>`_ for group-theoretic functionality.
|
217
|
+
|
218
|
+
``pip install passagemath-graphs[igraph]`` additionally installs
|
219
|
+
`igraph <https://python.igraph.org/en/stable/>`_::
|
220
|
+
|
221
|
+
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-graphs[igraph,test]" ipython
|
222
|
+
In [1]: from sage.all__sagemath_graphs import *
|
223
|
+
|
224
|
+
In [2]: ## Example depending on igraph goes here
|
225
|
+
|
226
|
+
``pip install passagemath-graphs[mcqd]`` additionally installs `passagemath-mcqd <https://pypi.org/project/passagemath-mcqd/>`_
|
227
|
+
|
228
|
+
``pip install passagemath-graphs[nauty]`` additionally installs `passagemath-nauty <https://pypi.org/project/passagemath-nauty/>`_ for computing
|
229
|
+
automorphism groups of graphs and digraphs.
|
230
|
+
|
231
|
+
``pip install passagemath-graphs[networkx]`` additionally installs
|
232
|
+
`NetworkX <https://networkx.github.io>`__::
|
233
|
+
|
234
|
+
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-graphs[networkx,test]" ipython
|
235
|
+
In [1]: from sage.all__sagemath_graphs import *
|
236
|
+
|
237
|
+
In [2]: ## Example depending on networkx goes here
|
238
|
+
|
239
|
+
``pip install passagemath-graphs[pari]`` additionally installs `passagemath-pari <https://pypi.org/project/passagemath-pari/>`_
|
240
|
+
|
241
|
+
``pip install passagemath-graphs[planarity]`` additionally installs `passagemath-planarity <https://pypi.org/project/passagemath-planarity/>`_ for planarity testing.
|
242
|
+
|
243
|
+
``pip install passagemath-graphs[rankwidth]`` additionally installs `passagemath-rankwidth <https://pypi.org/project/passagemath-rankwidth/>`_ for rank width and rank decompositions.
|
244
|
+
|
245
|
+
``pip install passagemath-graphs[tdlib]`` additionally installs `passagemath-tdlib <https://pypi.org/project/passagemath-tdlib/>`_ for computing tree decompositions.
|
246
|
+
|
247
|
+
|
248
|
+
Features
|
249
|
+
~~~~~~~~
|
250
|
+
|
251
|
+
``pip install passagemath-graphs[combinat]`` additionally installs `passagemath-combinat <https://pypi.org/project/passagemath-combinat/>`_
|
252
|
+
|
253
|
+
``pip install passagemath-graphs[editor]`` additionally installs the interactive graph editor `phitigra <https://pypi.org/project/phitigra/>`_.
|
254
|
+
|
255
|
+
``pip install passagemath-graphs[groups]`` additionally makes group-theoretic features
|
256
|
+
available via `passagemath-gap <https://pypi.org/project/passagemath-gap/>`_, `passagemath-groups <https://pypi.org/project/passagemath-groups/>`_, and `passagemath-nauty <https://pypi.org/project/passagemath-nauty/>`_::
|
257
|
+
|
258
|
+
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-graphs[groups,test]" ipython
|
259
|
+
In [1]: from sage.all__sagemath_graphs import *
|
260
|
+
|
261
|
+
In [2]: g = Graph({
|
262
|
+
0: [1, 2],
|
263
|
+
1: [0, 2],
|
264
|
+
2: [0, 1, 3],
|
265
|
+
3: [2]
|
266
|
+
})
|
267
|
+
|
268
|
+
In [3]: aut = g.automorphism_group()
|
269
|
+
|
270
|
+
In [4]: print(aut.order())
|
271
|
+
|
272
|
+
``pip install passagemath-graphs[homology]`` provides homological computations for abstract complexes via `passagemath-modules <https://pypi.org/project/passagemath-modules/>`_.
|
273
|
+
|
274
|
+
``pip install passagemath-graphs[mip]`` additionally makes the mixed-integer programming
|
275
|
+
solver GLPK available via `passagemath-glpk <https://pypi.org/project/passagemath-glpk/>`_ and `passagemath-polyhedra <https://pypi.org/project/passagemath-polyhedra/>`_ (see there for other available solvers).::
|
276
|
+
|
277
|
+
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-graphs[mip,test]" ipython
|
278
|
+
In [1]: from sage.all__sagemath_graphs import *
|
279
|
+
|
280
|
+
In [2]: ## Example depending on MIP goes here
|
281
|
+
|
282
|
+
``pip install passagemath-graphs[modules]`` additionally makes linear algebra features available via `passagemath-modules <https://pypi.org/project/passagemath-modules/>`_.
|
283
|
+
|
284
|
+
``pip install passagemath-graphs[plot]`` additionally installs `passagemath-plot <https://pypi.org/project/passagemath-plot/>`_.
|
285
|
+
|
286
|
+
``pip install passagemath-graphs[polyhedra]`` additionally installs `passagemath-polyhedra <https://pypi.org/project/passagemath-polyhedra/>`_.
|
287
|
+
|
288
|
+
``pip install passagemath-graphs[sat]`` additionally provides SAT features via `passagemath-combinat <https://pypi.org/project/passagemath-combinat/>`_.
|
289
|
+
|
290
|
+
``pip install passagemath-graphs[standard]`` installs all libraries and features related to graphs that
|
291
|
+
are available in a standard installation of Sage.
|
292
|
+
|
293
|
+
|
294
|
+
Development
|
295
|
+
-----------
|
296
|
+
|
297
|
+
::
|
298
|
+
|
299
|
+
$ git clone --origin passagemath https://github.com/passagemath/passagemath.git
|
300
|
+
$ cd passagemath
|
301
|
+
passagemath $ ./bootstrap
|
302
|
+
passagemath $ python3 -m venv graphs-venv
|
303
|
+
passagemath $ source graphs-venv/bin/activate
|
304
|
+
(graphs-venv) passagemath $ pip install -v -e pkgs/sagemath-graphs
|