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

Release files for passagemath-topcom 10.8.12

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.12
File Size Uploaded
passagemath_topcom-10.8.12.tar.gz 5.7 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for passagemath-topcom 10.8.12
File
passagemath_topcom-10.8.12-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.12-cp314-cp314t-macosx_13_0_arm64.whl CPython 3.14 CPython 3.14 free-threading macOS 13.0+ ARM64 Details
passagemath_topcom-10.8.12-cp312-abi3-macosx_13_0_x86_64.whl CPython 3.12 abi3 macOS 13.0+ x86-64 Details
passagemath_topcom-10.8.12-cp312-abi3-macosx_13_0_arm64.whl CPython 3.12 abi3 macOS 13.0+ ARM64 Details
passagemath_topcom-10.8.12-cp311-cp311-macosx_13_0_x86_64.whl CPython 3.11 CPython 3.11 macOS 13.0+ x86-64 Details
passagemath_topcom-10.8.12-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.12.tar.gz

Download URL passagemath_topcom-10.8.12.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
98ae9c52b314f81421ec138ddf27d11c3df93e7a40835170ae0edb498e2f5d55
BLAKE2b-256 checksum
How to use checksums
6f6b4e2eb8617ec9d17e0d78f151735ee1bd33cd1cddec4ef662a09bbd4ebea2
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.12-cp314-cp314t-macosx_13_0_x86_64.whl

Download URL passagemath_topcom-10.8.12-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
b4a571f9781c66dbc737651087bd20c1646087e62657e6ae7066b6b5ea450aa1
BLAKE2b-256 checksum
How to use checksums
9363249fae5d484112fcfd00ed8c64b87b6bc37c4c5918caf2527f43740c76fd
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.12-cp314-cp314t-macosx_13_0_arm64.whl

Download URL passagemath_topcom-10.8.12-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
e4c773fc514cc2bdd63ee0630607c4b2bec86b688c663a85364c97e7965d2a8a
BLAKE2b-256 checksum
How to use checksums
8f4b1bcb428ce0b5f7ee146e3784ef6bc6fb110485b71664eced5a33af36ecdc
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.12-cp312-abi3-macosx_13_0_x86_64.whl

Download URL passagemath_topcom-10.8.12-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
d123a354cc6757ba54c4f26550e5b32e85410cafd13be415233c2a714e3e90ab
BLAKE2b-256 checksum
How to use checksums
ce417f2b83e09d6269f69dfc3a5e9771aeea31dcba1ab94b799456078704621a
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.12-cp312-abi3-macosx_13_0_arm64.whl

Download URL passagemath_topcom-10.8.12-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
a607f21691d671e2e4263e40fefb31fffc4cebc75b4a3d43a336af25b32d37eb
BLAKE2b-256 checksum
How to use checksums
4f0662d184ce4bae69664a09f26906ced8daba56b9a82b11cd143943f92a4210
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.12-cp311-cp311-macosx_13_0_x86_64.whl

Download URL passagemath_topcom-10.8.12-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
5eb7e8da3fbe2edf4c36f1ad4a23943df5878da3830159a2c3f49cdf228eb506
BLAKE2b-256 checksum
How to use checksums
da2d4c19efcf80f60a567f4b8f570e079446f24fb5b6d7abb41956a881d4e602
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.12-cp311-cp311-macosx_13_0_arm64.whl

Download URL passagemath_topcom-10.8.12-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
a8de7ff217065bb7cf2cd91e071a5867146fb8e6666211886e602eeefc2951b8
BLAKE2b-256 checksum
How to use checksums
9599fed69096fe479605b2c76a82d832f704ed0471d852cf271cedd7c28ffd7d
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.12 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