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.13.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 sage.all__sagemath_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.34.tar.gz (4.8 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.34-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.34-cp314-cp314t-macosx_13_0_arm64.whl (14.6 MB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_topcom-10.6.34-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.34-cp311-cp311-macosx_13_0_arm64.whl (14.6 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

passagemath_topcom-10.6.34-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.34-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.34.tar.gz.

File metadata

  • Download URL: passagemath_topcom-10.6.34.tar.gz
  • Upload date:
  • Size: 4.8 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.34.tar.gz
Algorithm Hash digest
SHA256 cb96cac7ad9b6c6c0ce79c362c9f5ee483e67949f0596b7cdedcaa8aef6733eb
MD5 02ce2f40a1afb646a57e3d8c67992aa2
BLAKE2b-256 8a22ae2c53a9864c656cee4df798ac70e3a401f3620e96527f573333f370482b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.34-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1b313042f0efbebe5dcbb7a764ed03c5f4446f720ed53c75f5a61ca1eba1b24e
MD5 1f200785571b856d90611d362dc8c9db
BLAKE2b-256 a64682911080f7faabf6bc25d78bf839bf189913f445f1a555ff55a798d5c333

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.34-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 83b27199eab3e382b058da741cd5a2505442d6e68a5dddd243f869b6676cbd2a
MD5 34c489f915d60dbd9fd945f7079c11d2
BLAKE2b-256 0a8d830ee690b6e5731b397ffce5b77d6f8c3e022730f7a02a4ae16ddd71dd2a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.34-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ee07d3ba4ddc25582a804c1d1b53bd603f91706a20c626b07a307afbf18b405c
MD5 e23a1a692feefcbd3533e815d801bfd1
BLAKE2b-256 4c09d35bb5bdf8cfa018c71e7aabb60e9e9b1adeca8cd158933379f3aa7cab15

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.34-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 3f4172ea42e84eccfe7f107cb2a997dd4ce86414968747652b4f6724227fcc49
MD5 bd086080adc5064f284595600efcd2cd
BLAKE2b-256 9a693e2be7b65b881ccc86ebcdeb8f2531f1b2b9447740675cbc7faa8fc797b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.34-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 58b80931e737b5c0b3a61510a61b4203941fb1c84a3f2c814cd1ace3fa6bdcb8
MD5 bae27b3b37368339fbe7237baa74d196
BLAKE2b-256 c1c1c9f785ea9e9617daf8d29eabe5b3b9d12593ed856ebb671f864c153d6795

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.34-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 462848c3736e2afd6a7c77b10f11e2b34053dcec429624a7f80e72d3ae32b430
MD5 f4bcfc5b18b15b52476509d0229da39b
BLAKE2b-256 0c0a875c268139512847587aa1ddac1c70d430536abc31e5c9a480d40a5eb365

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.34-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b79a6343f80c2b3ca6b317094ee342ce7769b22c28256426043d83f47843a944
MD5 4056fbc7cec307f6513a12a6201b9d0e
BLAKE2b-256 9aa846e5c868b5a75bb0a266eed0c09276baed768019a31400740e16f2fca5dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.34-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 55ebca9d4779de4b09def2448cded0185f82f31b22275ec1641b8af087e2c595
MD5 d54b12efcd9ed7d4ba05328243d6ee41
BLAKE2b-256 03c45339ce90ec360a38dc0250ed9fc544b5eeae4e843a5fe8a971d686e3eca8

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