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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11macOS 13.0+ ARM64

passagemath_topcom-10.6.38-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.38-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.38.tar.gz.

File metadata

  • Download URL: passagemath_topcom-10.6.38.tar.gz
  • Upload date:
  • Size: 4.9 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.38.tar.gz
Algorithm Hash digest
SHA256 e64a6e18e17ead20ef64a591a4e9a1daa469c946358657c1eee85937770152ed
MD5 475d36f73d05aecb5cfe5d905a6b676b
BLAKE2b-256 72eb4e6bdf80f841d573eeb0b50e82fe1461b8699d261a1550da28a3789b85a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.38-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e98a9ec97daf2fafe9a559daea96907bf03e51ef8906c2552b349e1f41406240
MD5 dff71f7efcf0fd925e884e49e57207ea
BLAKE2b-256 88ebf73a03a1c99f24512312614cc1448522a74f9b5faea1f95fdf44c689a26e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.38-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 20f8a1006649d4ca1a51250b5f1784ad7c6fd94817a9c5b307ed724b0448b33f
MD5 7696557cc23b8d5b1566e3bdcda849da
BLAKE2b-256 cf0fec4656fb1a5420c515eb1f7df576fb4ffe4d2df9384b5b048c0e26f26c8c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.38-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b13f7e9a563bb403b29e754115f0c528bdf72e90cacc75d06b1b1f2780c47280
MD5 fd8facb15e473fdfcb2e9508aa957d6a
BLAKE2b-256 090d8d2f2c4e66ba4863e356637427545a49d92debe9e899cf7c1202987d1d6e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.38-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0d73279b9c72301b53e37284e04a891a7d8cf098ae68cff908174565718516cc
MD5 c9c7cc8868afd27a364264712efedef9
BLAKE2b-256 b9de9ceb9c482bb91ed5d7f7d3827c98f4faea4911f286f72a1d21982cd07828

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.38-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 413195112042eaf1feb4829fc3a830acc623bfa5fc84b073fd802deea54b7a67
MD5 314528023be61630d3ea7e4ebd248d4e
BLAKE2b-256 d3b955ce032729957e42274beee78bdd5cff3f1c1182a973aa6d7260122c23c3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.38-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 25a3b9d4458e7c49911ca36afab1acebd3d855cc64f19e76eabc933417f9deda
MD5 6869c521745e4f23bf0d6e034c74de18
BLAKE2b-256 cef6b33a0dd1c5bf4bdcf740f3e08b8eff5670ff06765d735d44fafec8ffca78

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.38-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c7332a4fc4dd6b7eb9605faf7376851377ec5e3c27907d65f17b7874151bc3e8
MD5 211d5ac23f79ea1b7b7a5c076035f971
BLAKE2b-256 a2ae85888a1fc1e5eb064ac5ba1409434641229310ca738c44dafaff431e77e2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.38-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 bcdfd76e18fa1dbe818677ac90e91756372d22f87131ec56216874c74cca8b95
MD5 9a38fa5b8eed08bfe462d74178646020
BLAKE2b-256 193ecfd81bb0a4e2f7debe0d43f4687f45dbaea9dd2b16480039c2b6ee89b705

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