sagemath_planarity: Graph planarity with the edge addition planarity suite¶
This pip-installable distribution passagemath-planarity
is a small
optional distribution for use with passagemath-graphs
.
It provides a Cython interface to the Edge Addition Planarity Suite by John Boyer.
What is included¶
Examples¶
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-planarity[test]" ipython
In [1]: from sage.all__sagemath_planarity import *
In [2]: g = graphs.PetersenGraph()
In [3]: g.is_planar()
Out[3]: False
Type¶
standard
Dependencies¶
$(PYTHON)
$(PYTHON_TOOLCHAIN)
boost_cropped: Portable C++ libraries (subset needed for Sage)
cython: C-Extensions for Python, an optimizing static compiler
Version Information¶
package-version.txt:
10.6.29
version_requirements.txt:
passagemath-planarity ~= 10.6.29.0
Installation commands¶
$ pip install passagemath-planarity~=10.6.29.0
$ sage -i sagemath_planarity
However, these system packages will not be used for building Sage
because spkg-configure.m4
has not been written for this package;
see upstream Issue #27330 for more information.