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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_topcom-10.6.21-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.21.tar.gz.

File metadata

  • Download URL: passagemath_topcom-10.6.21.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.21.tar.gz
Algorithm Hash digest
SHA256 601f01070b46abd84f871753ffca062a63408d79eab9226fc197e9377cf43653
MD5 c6a0d1c02dff13e71f60d8808fe5af6e
BLAKE2b-256 6614abe9969686fc976ff13c099a1c2370d1a7a08e7fd7f8455374ff891a01df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.21-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b2cdfba6c3936dc293bc127b1c1fb119c37e542dcb183322c4faa029019cf197
MD5 396ea6036b1094a725868f8b3da90ff6
BLAKE2b-256 170e1d6c581e10348805869ca2bfe47c42e6d0bcf7fab12602fb1874523d99ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.21-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 16cdbcf70d246fdd7b490f01b03422e2149e0ba946c7ec19d9990a6b8a319f66
MD5 b853e7564d5ea45f0b136bfaaa1938ac
BLAKE2b-256 2ec476c08b5de391d0ab4f38280d59a96229c04b5ea7709ca5ca83a342927453

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.21-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 3b0d7f0b067241e88e0e50a8c8dc5028b4676d840d983a9a9b3abf2b9bc68584
MD5 2b6e0431e70e36912f20b17952e3bba3
BLAKE2b-256 b47b1e4383b969edf49b74c4a192b91d923be82bc612974bb1d3800e531d0f09

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.21-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9df427fe4e70336556ad343715c041a2ba3944afe971267d4ec52a102949ca6d
MD5 1e97219857f73ca8be6d392b2a581107
BLAKE2b-256 7f020f500b4b9d762e327c450c416b705fe8fb1c5de553819c3d048d193421da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.21-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 7f20454744204e1e00654d3cc8273cfeb176c9171ba7c19bc4bd3736d9490605
MD5 261396c32c46fa69ed0e27af3c1c858d
BLAKE2b-256 8240ad77931dca58f90baf6e8ef849fb447a1674af82878dfd28d2cbae2f7233

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.21-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 72937b76d898da8c25559d8a0a8994a942cfc45bc65555362ce55c619e65fb9a
MD5 9c93e3e4cff7415b9097fa0af1a61b56
BLAKE2b-256 a9a5c914e0e98c8a188f999ac19f451b63b57baf442e0783b1f1fbfe88686d9d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.21-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d52db99d1b7a0910829b465c88c33f9acecf4e5ce32b85613bccd66246917e8b
MD5 9df81995cb3594f504f45dd86772e1f8
BLAKE2b-256 3cb05a89231b82edd4a52ddd6c0d1d9050076d25a3dba5ba12ebca96bcea8458

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.21-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1ff99f0392326a4a41bbcefce9230b6ef807660698bdaf11c0b16b0f6942e050
MD5 ebae0a1473fa75b31b31b4b690487642
BLAKE2b-256 9990cf944a8391af2550332dc9688d5c6a9da43114de5d3ef6fe23d2e9113d56

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