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.1.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.1-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.1-cp314-cp314t-macosx_13_0_arm64.whl (14.6 MB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_topcom-10.8.1-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.1-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.1.tar.gz.

File metadata

  • Download URL: passagemath_topcom-10.8.1.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.1.tar.gz
Algorithm Hash digest
SHA256 efb2ddd49883cf410b6dba8b4d0b3548b7e605ee851afba656bb5a353f1c63ac
MD5 c0ee11831d64e15121b14c2f0d45dc54
BLAKE2b-256 6276ed9012cfa78cbd71e006aad7112447005ac76a05545ae7bff1a8404c2b1c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.8.1-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 80f71556a29e1be96dd58ceac806458a0b2bb5ed812fdb28e06036b1478d91b6
MD5 390421b9a7eba9e24f1522b62f05b83a
BLAKE2b-256 14214bf5bb576f45d5a62de8013da8e751e4cfed703b3902313c32bb05f55606

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.8.1-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 5d06d664d9b47391f3058051eeb904264c9d6566dedd32006868e53dd670e08e
MD5 aaf4e756bedc5f47f0ad4d7353b72310
BLAKE2b-256 30f24a3823e838bdd6dbc311c81bd8cfc4c530d4f7c9a75a396389cded71b4a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.8.1-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9c9426046237027c16fbe11025a82c8e0f0812a1ecb462bd59427f338696e67d
MD5 71fa436ddf2ed03a9d39e7423cbf8050
BLAKE2b-256 095fd1179a7f928906bf224a92f5240f1f17b7c137ca50fb78ef6c3c2a5b8465

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.8.1-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0c18ba5729bb8285d28032a89a412594034c9e4e946b4ed622fc9c6a4873b397
MD5 ca1218e2e8985a3a9de9cb88fdc5b59e
BLAKE2b-256 99695cb840b7f325034e52208b84a643693638d03d806f0700043f268ed9dffe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.8.1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6266b5102810502b39937a8e6a426a45b21191a687fbe1e991a5ccb510dbd2be
MD5 be4ac231b3104b68c22592f590d81a9b
BLAKE2b-256 3086cce9f19a2bef53a39aa99c756c23587badced20f175f5f7fdee0bc1d1899

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.8.1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 65804e681a343955de97a3bd40557b2e68ff417af2e1546a34aa5f6f622dfee4
MD5 055ccea7ce7636603a34a1a0f2cb3ab3
BLAKE2b-256 97128b836f7062d0bd17d9f9b7f8d811dd900c65649b218e6c1a886ded281625

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