Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

passagemath: Graphs, posets, hypergraphs, designs, abstract complexes, combinatorial polyhedra, abelian sandpiles, quivers

passagemath is open source mathematical software in Python, released under the GNU General Public Licence GPLv2+.

It is a fork of SageMath, which has been developed 2005-2026 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:

Moreover, the passagemath project:

  • provides a stable, frequently updated version of the Sage distribution,

  • integrates additional mathematical software, notably Macaulay2, a full set of GAP packages, and the Combinatorial Matrix Recognition library,

  • curates a library of Sage user packages.

Full documentation 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, ARM) 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.8.x series are 3.11.x-3.14.x; the passagemath-10.10.x series is adding support for Python 3.15.

About this pip-installable distribution package

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.

It consists of over 170 first-party Python and Cython modules and uses the Boost Graph Library, with additional functionality from NetworkX and several other libraries.

What is included

Examples

A quick way to try it out interactively:

$ pipx run --spec "passagemath-graphs[test]" ipython
In [1]: from passagemath_graphs import *

In [6]: g = Graph([(1, 3), (3, 8), (5, 2)]); g
Out[6]: Graph on 5 vertices

In [7]: g.is_connected()
Out[7]: False

Available as extras, from other distributions

Libraries

pip install passagemath-graphs[benzene,buckygen,plantri] additionally make various graph generators available via passagemath-benzene, passagemath-buckygen, and passagemath-plantri.

pip install passagemath-graphs[bliss] additionally installs passagemath-bliss for the purpose of computing graph (iso/auto)morphisms.

pip install passagemath-graphs[cliquer] additionally installs passagemath-cliquer

pip install passagemath-graphs[cmr] additionally installs passagemath-cmr for recognition and decomposition algorithms for network matrices, totally unimodular matrices and regular matroids, series-parallel matroids, etc.

pip install passagemath-graphs[gap] additionally installs passagemath-gap for group-theoretic functionality.

pip install passagemath-graphs[igraph] additionally installs igraph:

$ pipx run --spec "passagemath-graphs[igraph,test]" ipython
In [1]: from passagemath_graphs import *

In [2]: ## Example depending on igraph goes here

pip install passagemath-graphs[mcqd] additionally installs passagemath-mcqd

pip install passagemath-graphs[nauty] additionally installs passagemath-nauty for computing automorphism groups of graphs and digraphs.

pip install passagemath-graphs[networkx] additionally installs NetworkX:

$ pipx run --spec "passagemath-graphs[networkx,test]" ipython
In [1]: from passagemath_graphs import *

In [2]: ## Example depending on networkx goes here

pip install passagemath-graphs[pari] additionally installs passagemath-pari

pip install passagemath-graphs[planarity] additionally installs passagemath-planarity for planarity testing.

pip install passagemath-graphs[rankwidth] additionally installs passagemath-rankwidth for rank width and rank decompositions.

pip install passagemath-graphs[tdlib] additionally installs passagemath-tdlib for computing tree decompositions.

Features

pip install passagemath-graphs[combinat] additionally installs passagemath-combinat

pip install passagemath-graphs[editor] additionally installs the interactive graph editor phitigra.

pip install passagemath-graphs[groups] additionally makes group-theoretic features available via passagemath-gap, passagemath-groups, and passagemath-nauty:

$ pipx run --spec "passagemath-graphs[groups,test]" ipython
In [1]: from passagemath_graphs import *

In [2]: g = Graph({
            0: [1, 2],
            1: [0, 2],
            2: [0, 1, 3],
            3: [2]
        })

In [3]: aut = g.automorphism_group()

In [4]: print(aut.order())

pip install passagemath-graphs[homology] provides homological computations for abstract complexes via passagemath-modules.

pip install passagemath-graphs[mip] additionally makes the mixed-integer programming solver GLPK available via passagemath-glpk and passagemath-polyhedra (see there for other available solvers).:

$ pipx run --spec "passagemath-graphs[mip,test]" ipython
In [1]: from passagemath_graphs import *

In [2]: ## Example depending on MIP goes here

pip install passagemath-graphs[modules] additionally makes linear algebra features available via passagemath-modules.

pip install passagemath-graphs[plot] additionally installs passagemath-plot.

pip install passagemath-graphs[polyhedra] additionally installs passagemath-polyhedra.

pip install passagemath-graphs[sat] additionally provides SAT features via passagemath-combinat.

pip install passagemath-graphs[standard] installs all libraries and features related to graphs that are available in a standard installation of Sage.

Development

$ git clone --origin passagemath https://github.com/passagemath/passagemath.git
$ cd passagemath
passagemath $ ./bootstrap
passagemath $ python3 -m venv graphs-venv
passagemath $ source graphs-venv/bin/activate
(graphs-venv) passagemath $ pip install -v -e pkgs/sagemath-graphs

Metadata

Release files for passagemath-graphs 10.8.15rc1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for passagemath-graphs 10.8.15rc1
File Actions
passagemath_graphs-10.8.15rc1-cp314-cp314t-win_arm64.whl CPython 3.14 CPython 3.14 free-threading Windows ARM64 Details for passagemath_graphs-10.8.15rc1-cp314-cp314t-win_arm64.whl
passagemath_graphs-10.8.15rc1-cp314-cp314t-win_amd64.whl CPython 3.14 CPython 3.14 free-threading Windows x86-64 Details for passagemath_graphs-10.8.15rc1-cp314-cp314t-win_amd64.whl
passagemath_graphs-10.8.15rc1-cp314-cp314-win_arm64.whl CPython 3.14 CPython 3.14 Windows ARM64 Details for passagemath_graphs-10.8.15rc1-cp314-cp314-win_arm64.whl
passagemath_graphs-10.8.15rc1-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for passagemath_graphs-10.8.15rc1-cp314-cp314-win_amd64.whl
passagemath_graphs-10.8.15rc1-cp313-cp313-win_arm64.whl CPython 3.13 CPython 3.13 Windows ARM64 Details for passagemath_graphs-10.8.15rc1-cp313-cp313-win_arm64.whl
passagemath_graphs-10.8.15rc1-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for passagemath_graphs-10.8.15rc1-cp313-cp313-win_amd64.whl
passagemath_graphs-10.8.15rc1-cp312-cp312-win_arm64.whl CPython 3.12 CPython 3.12 Windows ARM64 Details for passagemath_graphs-10.8.15rc1-cp312-cp312-win_arm64.whl
passagemath_graphs-10.8.15rc1-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for passagemath_graphs-10.8.15rc1-cp312-cp312-win_amd64.whl
passagemath_graphs-10.8.15rc1-cp311-cp311-win_arm64.whl CPython 3.11 CPython 3.11 Windows ARM64 Details for passagemath_graphs-10.8.15rc1-cp311-cp311-win_arm64.whl
passagemath_graphs-10.8.15rc1-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for passagemath_graphs-10.8.15rc1-cp311-cp311-win_amd64.whl

Total release size: 76.1 MB

Release files / passagemath_graphs-10.8.15rc1-cp314-cp314t-win_arm64.whl

Download URL passagemath_graphs-10.8.15rc1-cp314-cp314t-win_arm64.whl
Size 7.7 MB
Tags CPython 3.14 CPython 3.14 free-threading Windows ARM64
SHA-256 checksum
How to use checksums
3c38380ec22d685ce9ef404c9409abfcdb8ff568fa92ae07c70a9395d103237b
BLAKE2b-256 checksum
How to use checksums
eab5772fd8164b411389e8441decf884e51ae8e9cadd568f2ab4e3c51ad6d849
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / passagemath_graphs-10.8.15rc1-cp314-cp314t-win_amd64.whl

Download URL passagemath_graphs-10.8.15rc1-cp314-cp314t-win_amd64.whl
Size 8.5 MB
Tags CPython 3.14 CPython 3.14 free-threading Windows x86-64
SHA-256 checksum
How to use checksums
8b00e20dfa6da7eb2c482e4089860f7e900f5a650194246dcfa70190f2988141
BLAKE2b-256 checksum
How to use checksums
83024081c9eb620a1e837eed100e7dd671332697e6f2e6ea784b705d9a94b7c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / passagemath_graphs-10.8.15rc1-cp314-cp314-win_arm64.whl

Download URL passagemath_graphs-10.8.15rc1-cp314-cp314-win_arm64.whl
Size 7.4 MB
Tags CPython 3.14 Windows ARM64
SHA-256 checksum
How to use checksums
61b4e0419300dd4c1750bcb00296247b184c55811a7ec45bf973a1cfdab1bdca
BLAKE2b-256 checksum
How to use checksums
4f965d32987d0229971a134f8a8d679c69141b73a36785864aaff4adcf2b0aca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / passagemath_graphs-10.8.15rc1-cp314-cp314-win_amd64.whl

Download URL passagemath_graphs-10.8.15rc1-cp314-cp314-win_amd64.whl
Size 7.7 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
d7b765f8fa4e7066ae0745615b8f75ecdd9158f3eeeab996b810f7904fe09e50
BLAKE2b-256 checksum
How to use checksums
45b72d029b6b20403f2e9dbf883751951db19f3b867361c2bb487a6a467a9253
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / passagemath_graphs-10.8.15rc1-cp313-cp313-win_arm64.whl

Download URL passagemath_graphs-10.8.15rc1-cp313-cp313-win_arm64.whl
Size 7.3 MB
Tags CPython 3.13 Windows ARM64
SHA-256 checksum
How to use checksums
408a3ce26dc475a9b1862c43cb0aac287e59c8d3debc5209cc11ebe1dbc704ba
BLAKE2b-256 checksum
How to use checksums
65dc213f7f423e8c6b9c56c25bb40726831bff3acd43709aa9d0304b11c889f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / passagemath_graphs-10.8.15rc1-cp313-cp313-win_amd64.whl

Download URL passagemath_graphs-10.8.15rc1-cp313-cp313-win_amd64.whl
Size 7.6 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
c137733d3fadd787d1f9dd34bfd86deb7c02c0763ede5b45c02d42b2199b51b1
BLAKE2b-256 checksum
How to use checksums
81bf1e8bc9fdc634dc3900573a84b3dbaaed7d17666593a71058e62a13f61be6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / passagemath_graphs-10.8.15rc1-cp312-cp312-win_arm64.whl

Download URL passagemath_graphs-10.8.15rc1-cp312-cp312-win_arm64.whl
Size 7.3 MB
Tags CPython 3.12 Windows ARM64
SHA-256 checksum
How to use checksums
7ec3f6235f879894e4b6b8560e5db4c4179a231e6154a84b70083ab8bfb583f2
BLAKE2b-256 checksum
How to use checksums
ef46a2a0fc51d96f91e1f636ec8fc770050c9e3978eca2da496996843c7ade5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / passagemath_graphs-10.8.15rc1-cp312-cp312-win_amd64.whl

Download URL passagemath_graphs-10.8.15rc1-cp312-cp312-win_amd64.whl
Size 7.6 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
e6700fdb6f7d2d3e677b1e840770b9336a4994665395fd2bebcde37bfb92a4a2
BLAKE2b-256 checksum
How to use checksums
e71895c87624bfce71c3cf6f8ff5f2d11790b14f894269419ea8822ee1af5049
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / passagemath_graphs-10.8.15rc1-cp311-cp311-win_arm64.whl

Download URL passagemath_graphs-10.8.15rc1-cp311-cp311-win_arm64.whl
Size 7.3 MB
Tags CPython 3.11 Windows ARM64
SHA-256 checksum
How to use checksums
e28d0292fd9d0aafc9c61c84f1d913f657c871add2017d0baa836ca720d62abb
BLAKE2b-256 checksum
How to use checksums
c1fcbf02b562ba4c0139e0507d0638be1c406b8584bf8c51f0efb60f5dd3811a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / passagemath_graphs-10.8.15rc1-cp311-cp311-win_amd64.whl

Download URL passagemath_graphs-10.8.15rc1-cp311-cp311-win_amd64.whl
Size 7.6 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
14d57d57e2ca5506bfaff0848265270a0b88b4e6edd2e9e08372612ced902d04
BLAKE2b-256 checksum
How to use checksums
7615ac6206b2e596058aae763f8576da728f9f7fdfdedef46ffc2d5b1c1f0dd2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for passagemath-graphs 10.8.15rc1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page