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.

For the Linux aarch64 (ARM) platform, some third-party packages are still missing wheels; see the instructions for building them from source.

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.4.tar.gz (4.9 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.4-cp313-cp313-macosx_14_0_arm64.whl (14.6 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

passagemath_topcom-10.6.4-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.4-cp312-cp312-macosx_14_0_arm64.whl (14.6 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_topcom-10.6.4-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.4-cp311-cp311-macosx_14_0_arm64.whl (14.6 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_topcom-10.6.4-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.4-cp310-cp310-macosx_14_0_arm64.whl (14.6 MB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_topcom-10.6.4-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.4.tar.gz.

File metadata

  • Download URL: passagemath_topcom-10.6.4.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for passagemath_topcom-10.6.4.tar.gz
Algorithm Hash digest
SHA256 8003d31a0db4b8a8cf27c1a0743582e6f12a89042c5d30c0e3319be4700f679f
MD5 dea27405c54c301955027f5046c86668
BLAKE2b-256 9cac46bc1956b32193a633883912c4e5d46326884d19edf88986627b7627355c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.4-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 9b0c683c686a9c1def0cf7a569eb0629076a30319bc0490a951ff1fce4bfe730
MD5 b79fe3f1db26602a69dbdb66f93cdd01
BLAKE2b-256 d21873b10280d49d06f796c004a183474b6f740ea5435a54d53721431657b539

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.4-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b4f29f3a53e3326f9126e249fdfb1714aafafadfbda444ff426a4f601874edfd
MD5 178bc0ad040dac99d5b45c6d51d91a75
BLAKE2b-256 a58c3458827517629320814f71002a913aa40099b7bec53f8f5f37ebb576f009

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.4-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b4b15a1c3cb16144e871bd1b3895f384623afc9fd1e8a08ed54bca129afaa4a7
MD5 012a211c338762a04e853cf22d6f3e39
BLAKE2b-256 96a8816b0a389001220322dc7355f0ae7c794ad33d1ab82aa568b3350a73abc8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.4-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 808d5ec3e7bbbfaa6785a4cdc5ec28b2630b8c73257185db2a464c2d7c3737d0
MD5 f5fb28635e63a5be877eaeecfcbc4b78
BLAKE2b-256 60c0048c0ef3051b0db10842c44d2871eab8429c3e184c441e78cf1d43f8b883

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.4-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 a1f5de796f695f9117bd16b96778d3416e4f37974439a973a6ab42b577cd161c
MD5 241df7c310664cf604d992411c908e76
BLAKE2b-256 8b28c225e43bd205770e02323f0dc72f5da60c2d32d5ad71cd9a8d192a6aa553

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.4-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c1edb83dd7de9af288dab1fd52cc7713387c9d18bc91e1eddc32af895258b399
MD5 71443f415ffa150e76799de8ceaf9785
BLAKE2b-256 a0c028ea43929af2ddecc5ca84e6bd79c025761146641b7de0e0029c47566d1a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.4-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 5eb59b0f69a8f6bfacf1ba6c948727f381aa725cb3f4831a4e7b2898175c38c2
MD5 5d7f01cacc429ae5ea0b4a5b223ea02e
BLAKE2b-256 3503717f0585cd2f97b59c8e2e4c830ab8fac8749468c87b3123fe693e1d8364

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.4-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 422ed115a1b7ea8dc1acb5bac68f8f9489daf2644d05478eee16238dd3236a6b
MD5 80e9c007065a2a0010cdf90a9b680854
BLAKE2b-256 bd8d0e46ea32ce8dcaf10b548c15e4f3c0c3dfcf14c043ba6fa8092afbef8a20

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