Socket
Book a DemoInstallSign in
Socket

passagemath-planarity

Package Overview
Dependencies
Maintainers
0
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

passagemath-planarity

passagemath: Graph planarity with the edge addition planarity suite

10.5.22
pipPyPI
Maintainers
0

======================================================================== passagemath: Graph planarity with the edge addition planarity suite

passagemath <https://github.com/passagemath/passagemath>__ is open source mathematical software in Python, released under the GNU General Public Licence GPLv2+.

It is a fork of SageMath <https://www.sagemath.org/>__, which has been developed 2005-2025 under the motto “Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, and MATLAB”.

The passagemath fork uses the motto "Creating a Free Passage Between the Scientific Python Ecosystem and Mathematical Software Communities." It was created in October 2024 with the following goals:

  • providing modularized installation with pip,
  • establishing first-class membership in the scientific Python ecosystem,
  • giving clear attribution of upstream projects <https://groups.google.com/g/sage-devel/c/6HO1HEtL1Fs/m/G002rPGpAAAJ>__,
  • providing independently usable Python interfaces to upstream libraries,
  • offering platform portability and integration testing services <https://github.com/passagemath/passagemath/issues/704>__ to upstream projects,
  • inviting collaborations with upstream projects,
  • building a professional, respectful, inclusive community <https://groups.google.com/g/sage-devel/c/xBzaINHWwUQ>__,
  • empowering Sage users to participate in the scientific Python ecosystem <https://github.com/passagemath/passagemath/issues/248>__ by publishing packages,
  • developing a port to Pyodide <https://pyodide.org/en/stable/>__ for serverless deployment with Javascript,
  • developing a native Windows port.

Full documentation <https://passagemath.org/docs/latest/html/en/index.html>__ is available online.

passagemath attempts to support and provides binary wheels suitable for all major Linux distributions and recent versions of macOS.

Binary wheels for native Windows (x86_64) are are available for a subset of the passagemath distributions. Use of the full functionality of passagemath on Windows currently requires the use of Windows Subsystem for Linux (WSL) or virtualization.

The supported Python versions in the passagemath 10.6.x series are 3.10.x-3.13.x.

About this pip-installable distribution package

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 <https://github.com/graph-algorithms/edge-addition-planarity-suite/>_ by John Boyer.

What is included

  • Cython interface to Boyer's planarity algorithm <https://passagemath.org/docs/latest/html/en/reference/graphs/sage/graphs/planarity.html>_

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

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.