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.24.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.24-cp313-cp313-macosx_14_0_arm64.whl (14.6 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

passagemath_topcom-10.6.24-cp313-cp313-macosx_13_0_x86_64.whl (16.5 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

passagemath_topcom-10.6.24-cp312-cp312-macosx_14_0_arm64.whl (14.6 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_topcom-10.6.24-cp312-cp312-macosx_13_0_x86_64.whl (16.5 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

passagemath_topcom-10.6.24-cp311-cp311-macosx_14_0_arm64.whl (14.6 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_topcom-10.6.24-cp311-cp311-macosx_13_0_x86_64.whl (16.5 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_topcom-10.6.24-cp310-cp310-macosx_14_0_arm64.whl (14.6 MB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_topcom-10.6.24-cp310-cp310-macosx_13_0_x86_64.whl (16.5 MB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

File details

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

File metadata

  • Download URL: passagemath_topcom-10.6.24.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.24.tar.gz
Algorithm Hash digest
SHA256 14266c726018b6d474b421025ce326e73947e18c3d6c2f9864eb9f9badd0cb95
MD5 2c0ecaf856a7a2fcbd3e13d9667b7ac0
BLAKE2b-256 049157970ebc743397feeba09df09325b1ffd1dc0f2f7806aa0d09140086a50d

See more details on using hashes here.

File details

Details for the file passagemath_topcom-10.6.24-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_topcom-10.6.24-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b08a8ddb0b3562f984f2576ca300ef2f3712c19929b3cdcd3638b3e16380c1b1
MD5 c7366db245d6e7bb57ebba7c42bd643b
BLAKE2b-256 3010a11f89c09c8e6cd337a05f8427aa0fd066c2f4a212fe2236a09ea48ade8b

See more details on using hashes here.

File details

Details for the file passagemath_topcom-10.6.24-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_topcom-10.6.24-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1a47a1c9b3c878b49e664b7a49f95d14514ee092e13b025a9ee371cae3bc1297
MD5 4ac5624efb1a2c96fa965a182868b5c9
BLAKE2b-256 4e02061d77f1eefba4d59557ce2dd75d8d18c45d842fc32aec3acc7f3d650843

See more details on using hashes here.

File details

Details for the file passagemath_topcom-10.6.24-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_topcom-10.6.24-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 8f3843e28f1500ccf09611cfb2805fa3a7b99d61639357bc3ab9d0b2196038b0
MD5 ddf230815ff60e53029f242d61981f52
BLAKE2b-256 2ce4460991894c2c6f6b423081f48d7c421a15c75d077a62cf14cc908ed5a8aa

See more details on using hashes here.

File details

Details for the file passagemath_topcom-10.6.24-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_topcom-10.6.24-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f35e62a0ea48e5ce940732bff9947ca28a9261818f9a115252f5d3ad1acca6f2
MD5 b43a2c1d6d862cd9ec50a9b1a10db98c
BLAKE2b-256 76c1c98dcb209841efc7d6d6c8c892d2ca2a7accc6c524c99e56381df62c069d

See more details on using hashes here.

File details

Details for the file passagemath_topcom-10.6.24-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_topcom-10.6.24-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d82921830870bafad82aee1b96035b17ea36ed01bad138e1c8023e5929b5f9f5
MD5 cf3a8874e6e5626b11308bc4f6840220
BLAKE2b-256 9e6993fbea027103ea779ed0632e74a58f293108abda587ea5a4475da58370ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.24-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9fe0ef5a04b78bfdbf5096a5c3b3c1da5fa782f7329ad96b84372f4002ae9fb7
MD5 2dde511fe38a0f1766a9a48062212699
BLAKE2b-256 2477f95a40d7ee90126f6466fcdb9ea09320fbc3175315553802d26100b7290a

See more details on using hashes here.

File details

Details for the file passagemath_topcom-10.6.24-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_topcom-10.6.24-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 854e1cd4a9fb283a2477d986860435db226a3aaee58ed819e2275748d565bdbc
MD5 55ac91185ed87aea0bbcccaf1aa764d8
BLAKE2b-256 c686071113d3ab8a1d2260f3df3ce909960311907dafbc8a9775ff6603ca5d26

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.24-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 dd67ab80e7f173428ec572585f82ce486e626fc39209ab75f5f2307e3f1587fe
MD5 5735ce1dd87c1a55f542b777e6aae63f
BLAKE2b-256 af2c5f123a9fce93f446820f6528e6a2b45519d0288a3a40d3c57ad1167993fd

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