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-2025 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:

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) 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.6.x series are 3.10.x-3.14.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.6.43.tar.gz (5.3 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.6.43-cp314-cp314t-macosx_13_0_x86_64.whl (15.8 MB view details)

Uploaded CPython 3.14tmacOS 13.0+ x86-64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_topcom-10.6.43-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.6.43-cp312-abi3-macosx_13_0_arm64.whl (14.6 MB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11macOS 13.0+ x86-64

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

Uploaded CPython 3.11macOS 13.0+ ARM64

passagemath_topcom-10.6.43-cp310-cp310-macosx_13_0_x86_64.whl (15.8 MB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

passagemath_topcom-10.6.43-cp310-cp310-macosx_13_0_arm64.whl (14.6 MB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

File details

Details for the file passagemath_topcom-10.6.43.tar.gz.

File metadata

  • Download URL: passagemath_topcom-10.6.43.tar.gz
  • Upload date:
  • Size: 5.3 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.6.43.tar.gz
Algorithm Hash digest
SHA256 836f79c3f9066f1ac440cdb92f80cec09bd93fd474f64f4bb97026d4796586c2
MD5 eb63c6cef916c98f0e3531a37445f40b
BLAKE2b-256 16399fde9478df84b374891c18e1d27a9907a7221feb86b05ef90af272565ee4

See more details on using hashes here.

File details

Details for the file passagemath_topcom-10.6.43-cp314-cp314t-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_topcom-10.6.43-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f819b64d5526c05d001263f913e149ab262b4c14ef38de8b189bbca50605e12f
MD5 2c50908df2b60bea4ee561856b017568
BLAKE2b-256 2fbae390ae46ad5c4c21a8fb797b8e004c1912f09aa53efcd96daab20b8a3c37

See more details on using hashes here.

File details

Details for the file passagemath_topcom-10.6.43-cp314-cp314t-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_topcom-10.6.43-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 9d493edbf7c5ec867db1e2a999d3b486e427d801c5b0d7d26f52484e403e4c39
MD5 22f8df17a0b01e83c764602ddd9b07ca
BLAKE2b-256 7da0e190bf70b7acce77680d5eca899cb0cc433c2fdeb07f86a9ec340dcdd7a0

See more details on using hashes here.

File details

Details for the file passagemath_topcom-10.6.43-cp312-abi3-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_topcom-10.6.43-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5b100ce7886b077fbc4b3a2c697005f7ec89cf05cadd6258194d964d1862f83b
MD5 577b4c774996e586a2c659c1b0a53d53
BLAKE2b-256 fdc34fb62b4a44d7e9d333e31b4d368ab5cd2fac37e8bec26b95598776e0c102

See more details on using hashes here.

File details

Details for the file passagemath_topcom-10.6.43-cp312-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_topcom-10.6.43-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b266029092d2ed4fce3fe7ccce95d91e88bb39994f8da5fe164015f41a0f9970
MD5 43271c0821bb8b07f7c6fbb536764c85
BLAKE2b-256 8c2a141351b3d158bf5e5f451dddb2be2eb97c9ffb878e45911fd1d9a4446465

See more details on using hashes here.

File details

Details for the file passagemath_topcom-10.6.43-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_topcom-10.6.43-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 12612e5f23ce277f40241d3c490140fd495165838174acf654146884b9da4141
MD5 06e98e401de8d4517f5b116ba5085b61
BLAKE2b-256 dbfa13a3e204aaf4f92c2adb3c953bb8341f0f67e4645ab40d00d940e0a884f7

See more details on using hashes here.

File details

Details for the file passagemath_topcom-10.6.43-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_topcom-10.6.43-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 5f8a973ef5495ef570d619ff930ab4c0c229d55dc6e783e13ae3dbbabd065f31
MD5 429a58e51683ac08a0853cd4733d8fc8
BLAKE2b-256 1363b7b7a6c7e024f23a9917e3e1a3088761c4f6a97a60144d58771cd4795a19

See more details on using hashes here.

File details

Details for the file passagemath_topcom-10.6.43-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_topcom-10.6.43-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7c8ec5bdc6a8c891ff90ddbd64b19acbcd5f91f8a8d9debcb91e8d1d978d8a0b
MD5 380329b90518b4a967af27e4613da6c4
BLAKE2b-256 63cd056f617df055bbd21f90f8df3fb7a28b03ba17cef780f9e40329858f1ea5

See more details on using hashes here.

File details

Details for the file passagemath_topcom-10.6.43-cp310-cp310-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_topcom-10.6.43-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 12f44547df74384076c55bfb4e5e8af0dfd926baa135049a2ddce72d69f2308c
MD5 72da9a90a5f3a9387a163e4ab34f916a
BLAKE2b-256 560c2723c1104a86a3d5a657342244d8e2e56e644e7a76e7d87f0d80d2db4e07

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