Skip to main content

passagemath: Triangulations of point configurations and oriented matroids with TOPCOM

Project description

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 --pip-args="--prefer-binary" --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 --pip-args="--prefer-binary" --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 --pip-args="--prefer-binary" --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

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

passagemath_topcom-10.8.2rc4.tar.gz (5.6 kB view details)

Uploaded Source

Built Distributions

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

passagemath_topcom-10.8.2rc4-cp314-cp314t-macosx_13_0_x86_64.whl (15.8 MB view details)

Uploaded CPython 3.14tmacOS 13.0+ x86-64

passagemath_topcom-10.8.2rc4-cp314-cp314t-macosx_13_0_arm64.whl (14.6 MB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_topcom-10.8.2rc4-cp312-abi3-macosx_13_0_x86_64.whl (15.8 MB view details)

Uploaded CPython 3.12+macOS 13.0+ x86-64

passagemath_topcom-10.8.2rc4-cp312-abi3-macosx_13_0_arm64.whl (14.6 MB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_topcom-10.8.2rc4-cp311-cp311-macosx_13_0_x86_64.whl (15.8 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_topcom-10.8.2rc4-cp311-cp311-macosx_13_0_arm64.whl (14.6 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file passagemath_topcom-10.8.2rc4.tar.gz.

File metadata

  • Download URL: passagemath_topcom-10.8.2rc4.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for passagemath_topcom-10.8.2rc4.tar.gz
Algorithm Hash digest
SHA256 3dc17fd788461231e12e93c299446ba6d1ba339afaeb5b6e766f8bd5935d6de1
MD5 bef04b130dfcf8788f9a7130274c4d2f
BLAKE2b-256 369e5b8e1c08f97a2ad1bd7d7c7badadaec1993bbb2dfbfe0d3115ea804fe008

See more details on using hashes here.

File details

Details for the file passagemath_topcom-10.8.2rc4-cp314-cp314t-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_topcom-10.8.2rc4-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f487717a554a55441e9eac6c2dfbfeddb56f7c3a7a5c057b9d7d407acc2c08f8
MD5 6ab06439f04c288fd4d05d0560f1eca8
BLAKE2b-256 205ab17670d7a4cdb98fc8339f481a4c9518b3860e5c39e3f4c4766d33bc28b8

See more details on using hashes here.

File details

Details for the file passagemath_topcom-10.8.2rc4-cp314-cp314t-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_topcom-10.8.2rc4-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 a0a4d217cb3522d745063e1b6fdb5238ab95feb45173734ecd7bc344c34025bf
MD5 248190fccbb0149d5247b2f9a0da2d97
BLAKE2b-256 a6af4d27fec755897679f1178dd28edc512172231131422e3204090898106020

See more details on using hashes here.

File details

Details for the file passagemath_topcom-10.8.2rc4-cp312-abi3-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_topcom-10.8.2rc4-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 77e37d3899e4430293196a70c506993b87f8753982256dea21ef6b163dd11eeb
MD5 3181052e5d7999cb511ae221dd97a57c
BLAKE2b-256 c2305f3713c89843ecb00d8aec41a8f99876f20f7bb17f5f58fd33c93f380cfb

See more details on using hashes here.

File details

Details for the file passagemath_topcom-10.8.2rc4-cp312-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_topcom-10.8.2rc4-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 f00606ca068acfa9a965027b74f075563b9bcfed10bcd3c24b4822640d14de62
MD5 0ff4f8dab37ecfc35ef96326f3eb9612
BLAKE2b-256 b41a9d0d518a7d943b9509ad38b2df7af563889422fe9f4d7eb7a8b09b8af4bd

See more details on using hashes here.

File details

Details for the file passagemath_topcom-10.8.2rc4-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_topcom-10.8.2rc4-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0c6e255410acd58d5ba69d9c32f70a2e19fb6e3b68b038a38d7a269d417bc870
MD5 6d7a3cea86c53524c3e710148c79d361
BLAKE2b-256 1cdcc67296f371014cfe1809c48fa64cbc7574c818236d1e0a213399c2a81586

See more details on using hashes here.

File details

Details for the file passagemath_topcom-10.8.2rc4-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_topcom-10.8.2rc4-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 455f1c348ddbe357ec608c6abcb95e3f97cfd6303f989daff8d8364fa87a0aa5
MD5 1dd9d88f031a0684d9ba687f60a87077
BLAKE2b-256 c9edace559ccf4edd803a52355d9d6d7fd8639c747af73ceb475fc82d06d7d16

See more details on using hashes here.

Supported by

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