Skip to main content
Pre-release

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

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.6.x series (EOL 2026-10) still supports Python 3.10.x.

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

passagemath_graphs-10.8.9rc1-cp314-cp314t-win_amd64.whl (8.3 MB view details)

Uploaded CPython 3.14tWindows x86-64

passagemath_graphs-10.8.9rc1-cp314-cp314-win_amd64.whl (7.5 MB view details)

Uploaded CPython 3.14Windows x86-64

passagemath_graphs-10.8.9rc1-cp313-cp313-win_amd64.whl (7.4 MB view details)

Uploaded CPython 3.13Windows x86-64

passagemath_graphs-10.8.9rc1-cp312-cp312-win_amd64.whl (7.4 MB view details)

Uploaded CPython 3.12Windows x86-64

passagemath_graphs-10.8.9rc1-cp311-cp311-win_amd64.whl (7.4 MB view details)

Uploaded CPython 3.11Windows x86-64

File details

Details for the file passagemath_graphs-10.8.9rc1-cp314-cp314t-win_amd64.whl.

File metadata

File hashes

Hashes for passagemath_graphs-10.8.9rc1-cp314-cp314t-win_amd64.whl
Algorithm Hash digest
SHA256 fc07c6f73953d9fb3e43a43fc08b5c4b38f6a6dc96afad117462b784667b7ffc
MD5 a303d46f498b30b060a8959c326039bc
BLAKE2b-256 f84c4102173dd9b6bac6e985feb5ac2d6504e3aa771aa101d51b0666c87c972a

See more details on using hashes here.

File details

Details for the file passagemath_graphs-10.8.9rc1-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for passagemath_graphs-10.8.9rc1-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 da34a8e4d7ac3edafb838e7fcd555ff392fa217964b341b648f1f40e29e2d609
MD5 bf0eeca94e29ae78993b63d3dfa557af
BLAKE2b-256 d83e90fc6778dbc013667bfec01f9735e158d4217e19f3860a75784817bab753

See more details on using hashes here.

File details

Details for the file passagemath_graphs-10.8.9rc1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for passagemath_graphs-10.8.9rc1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 295a157dbb67e91c724d29a54db66565101fcae963652b8f4dde8aa29d31a00c
MD5 4fb67ff778ff2e36523f3bf97cbfff20
BLAKE2b-256 fcbe6b3087674ce103b7e5133a640afeff903c99429e06f8454748160a19082b

See more details on using hashes here.

File details

Details for the file passagemath_graphs-10.8.9rc1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for passagemath_graphs-10.8.9rc1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 9b453cf46b275962c0851909b9e37d0bd90966ddda942d8a9e3b264085f32bc8
MD5 562c8cd99feb1843a77e18a00d46ee46
BLAKE2b-256 8f29ebcbb26bb942a562888e40882d880b10446f7835ce754dd435ed05c41e08

See more details on using hashes here.

File details

Details for the file passagemath_graphs-10.8.9rc1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for passagemath_graphs-10.8.9rc1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ddae0090d4a71eb7d9dd7d5c5c25205ef94df1fcf4612ce1867642e38758ae30
MD5 218d925c0e1f50c1a8c24f9f23730aca
BLAKE2b-256 f862c63a3ac55807b401557ba262a2dabff399221d0353a9349ce383cf538706

See more details on using hashes here.

Release history Release notifications | RSS feed

10.8.9

36 files

This release

10.8.9rc1 This release

5 files

10.8.8

36 files

10.8.7

36 files

10.8.6

36 files

10.8.5

36 files

10.8.4

41 files

10.8.3

41 files

10.8.2

41 files

10.8.1

41 files

10.6.48

49 files

10.6.28

29 files

10.5.49

31 files

10.5.29

21 files

10.4.68

21 files

10.4.36

1 file

10.4.11

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page