Skip to main content

passagemath: Triangulations of point configurations and oriented matroids with TOPCOM

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 distribution passagemath-topcom provides an interface to TOPCOM, a package for computing triangulations of point configurations and oriented matroids by Jörg Rambau.

What is included

  • Raw access to all executables from Python using sage.features.topcom

  • The binary wheels published on PyPI include a prebuilt copy of TOPCOM.

Examples

Using TOPCOM programs on the command line:

$ pipx run --spec "passagemath-topcom" sage -sh -c 'cube 4 | points2facets'
Evaluating Commandline Options ...
... done.
16,5:
{
{0,1,2,3,4,5,6,7}
{0,1,2,3,8,9,10,11}
{0,1,4,5,8,9,12,13}
{0,2,4,6,8,10,12,14}
{1,3,5,7,9,11,13,15}
{2,3,6,7,10,11,14,15}
{4,5,6,7,12,13,14,15}
{8,9,10,11,12,13,14,15}
}

Finding the installation location of a TOPCOM program:

$ pipx run --spec "passagemath-topcom[test]" ipython

In [1]: from sage.features.topcom import TOPCOMExecutable

In [2]: TOPCOMExecutable('points2allfinetriangs').absolute_filename()
Out[2]: '/Users/mkoeppe/.local/pipx/.cache/cef1668ecbdb8cf/lib/python3.11/site-packages/sage_wheels/bin/points2allfinetriangs'

Using sage.geometry.triangulation.point_configuration:

$ pipx run --spec "passagemath-topcom[test]" ipython

In [1]: from passagemath_topcom import *

In [2]: p = PointConfiguration([[-1,QQ('-5/9')], [0,QQ('10/9')], [1,QQ('-5/9')], [-2,QQ('-10/9')], [0,QQ('20/9')], [2,QQ('-10/9')]])

In [3]: PointConfiguration.set_engine('topcom')

In [4]: p_regular = p.restrict_to_regular_triangulations(True)

In [5]: regular = p_regular.triangulations_list()

In [6]: len(regular)
Out[6]: 16

Metadata

Release files for passagemath-topcom 10.8.13

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

Source distribution (sdist)

Source distribution for passagemath-topcom 10.8.13
File Size Uploaded
passagemath_topcom-10.8.13.tar.gz 5.7 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for passagemath-topcom 10.8.13
File
passagemath_topcom-10.8.13-cp314-cp314t-macosx_13_0_x86_64.whl CPython 3.14 CPython 3.14 free-threading macOS 13.0+ x86-64 Details
passagemath_topcom-10.8.13-cp314-cp314t-macosx_13_0_arm64.whl CPython 3.14 CPython 3.14 free-threading macOS 13.0+ ARM64 Details
passagemath_topcom-10.8.13-cp312-abi3-macosx_13_0_x86_64.whl CPython 3.12 abi3 macOS 13.0+ x86-64 Details
passagemath_topcom-10.8.13-cp312-abi3-macosx_13_0_arm64.whl CPython 3.12 abi3 macOS 13.0+ ARM64 Details
passagemath_topcom-10.8.13-cp311-cp311-macosx_13_0_x86_64.whl CPython 3.11 CPython 3.11 macOS 13.0+ x86-64 Details
passagemath_topcom-10.8.13-cp311-cp311-macosx_13_0_arm64.whl CPython 3.11 CPython 3.11 macOS 13.0+ ARM64 Details

Total release size: 91.1 MB

Release files / passagemath_topcom-10.8.13.tar.gz

Download URL passagemath_topcom-10.8.13.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
408e19fdd3cddef3a2bc9e6cd411d75bafa7d2cdba0df4c656be9e6dda415f4e
BLAKE2b-256 checksum
How to use checksums
efb4ce5c2ff4f204eaa6c3f31341b239fbf26d6e562fd07df9135d5512fae577
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / passagemath_topcom-10.8.13-cp314-cp314t-macosx_13_0_x86_64.whl

Download URL passagemath_topcom-10.8.13-cp314-cp314t-macosx_13_0_x86_64.whl
Size 15.7 MB
Tags CPython 3.14 CPython 3.14 free-threading macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
d0d449240d8e96bc14591bb082f2e9bef291a8cb0ca40dc9dddc8538082f8319
BLAKE2b-256 checksum
How to use checksums
6a710d02c0e9af631ff7a0c9e3b7888c2f704ff75746fe7c5beb54639810f87b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / passagemath_topcom-10.8.13-cp314-cp314t-macosx_13_0_arm64.whl

Download URL passagemath_topcom-10.8.13-cp314-cp314t-macosx_13_0_arm64.whl
Size 14.7 MB
Tags CPython 3.14 CPython 3.14 free-threading macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
995789e93398343b5c7c31b78bef37209570f97b52dfd7c277981756d37696e0
BLAKE2b-256 checksum
How to use checksums
29449e0d914c54fe63b7be2a6f04331e81e0c03720262681dd975e78a26c4f8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / passagemath_topcom-10.8.13-cp312-abi3-macosx_13_0_x86_64.whl

Download URL passagemath_topcom-10.8.13-cp312-abi3-macosx_13_0_x86_64.whl
Size 15.7 MB
Tags CPython 3.12 abi3 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
4effdc70437bd1242cad57d351d264c34c0e21961e0f13a9197c5cffb5d16fb4
BLAKE2b-256 checksum
How to use checksums
168d0162462a81d61fb0c84c8373284b21526499a8bd56f3fe9e3a65a93b91c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / passagemath_topcom-10.8.13-cp312-abi3-macosx_13_0_arm64.whl

Download URL passagemath_topcom-10.8.13-cp312-abi3-macosx_13_0_arm64.whl
Size 14.7 MB
Tags CPython 3.12 abi3 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
ec30b55875d3fca7fc172a6e1ea53a14845e4a8c05bad471094629c0c2a538d6
BLAKE2b-256 checksum
How to use checksums
7d31e5c1e76a4d01e8f3d47253ed2bed28fb3c5de9da33d5d481a8b64d45c84c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / passagemath_topcom-10.8.13-cp311-cp311-macosx_13_0_x86_64.whl

Download URL passagemath_topcom-10.8.13-cp311-cp311-macosx_13_0_x86_64.whl
Size 15.7 MB
Tags CPython 3.11 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
8ed581decde95d1448d5bddcd2afd1b33447576cb2462626d0b2b4668f45d29c
BLAKE2b-256 checksum
How to use checksums
8ad7f3fa47b6bf74f43eae1a1d900a21390823a9b49ce4ff629eb212d690ec0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / passagemath_topcom-10.8.13-cp311-cp311-macosx_13_0_arm64.whl

Download URL passagemath_topcom-10.8.13-cp311-cp311-macosx_13_0_arm64.whl
Size 14.7 MB
Tags CPython 3.11 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
ac166c5427ae618b6c81a88549ced5159438bd1282d44667f47188288c493f30
BLAKE2b-256 checksum
How to use checksums
9a9128f274fb32170ac3a852210ea02335a9d95e5c29d49b9bc073012ec2b652
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

10.8.13 This release

7 release files

10.8.9

7 release files

10.8.7

7 release files

10.8.6

7 release files

10.8.4

7 release files

10.8.3

7 release files

10.8.2

7 release files

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