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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_topcom-10.6.27-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.27.tar.gz.

File metadata

  • Download URL: passagemath_topcom-10.6.27.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.27.tar.gz
Algorithm Hash digest
SHA256 251b9b542ff3216a8919e35613252e73274da2aff7646b7a0d45912c95607a4b
MD5 c1f41abed9d66aafab008a172deeeaec
BLAKE2b-256 a442101cd10d852bc34579cb2bf1c1ed2e294525d6ec06a000ecfdeb89af9375

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.27-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f864dcab9e5172ae5e7983cb5d6094c5f38f6884096b78e91bf105c4b6a692aa
MD5 6f9a4de6629052d6943ec566e1318978
BLAKE2b-256 4c6a23cc1f1e42868a228a3c47a15f6d6f0776fd2caa9ecbe4019b5015d5b478

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.27-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 32d5dd98e7df12f9b98b39121aa6096966bd5d74bd85b1b6159d47421086fcc3
MD5 9cbecf41332f54459114eaa96050c68e
BLAKE2b-256 84c7532fe36be336d4e1ff1eb952aa9c1225677ad58dd10843fae85c83299fad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.27-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 1cfdbc6f115f5f19d243603ccf65f8a6d4c66095722b159134ec34e963e67b56
MD5 66b5cea5ba4089c3319e3301ee1444bc
BLAKE2b-256 4252f81bd282ea25cba9a96ddfa75f6f6e3f8bb25816efb0e62733048e438366

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.27-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 be43f32c950e8a2384090068a77d52306af94bd2e297248f3d07ca09c71135ed
MD5 25eae9711df3670fbe42c6451296db62
BLAKE2b-256 2b8734e89989c974e3afda427d08516ed8b504547eaabe1ad2539eee3545d217

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.27-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 3d44543861a28f511425e858b57d3017ab153fa4c2aa1f2a856eddbdcd470615
MD5 96a4d53a68aacfb253d627cd72e46a1c
BLAKE2b-256 809416062d359cfd40020af7618b271c6522bc99f7223d835ebbfec6434afb3c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.27-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 437c6b68aa253a5dbf2992221fac16620065d99be9c92444fb16435d1993f96b
MD5 bb68a692a85d3b46e971a5734218256a
BLAKE2b-256 87778bf3e26b8dfc8efad748468224d635c5d1c18fceec2088963ed827961672

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.27-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 6a1e56af8b1c086a2f6b37d312f8aa6ff5540db14eaf77396607d36b2b795bec
MD5 9bb42662bc158a6b93f43129611bd968
BLAKE2b-256 8c8d885c3e7269dc009adcab655b1978d3fe0934132b4f9a1cfa465fa834b39c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.27-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9a4e01957dcc52548643833532669476f80232189858c8e644f8b2690c6e31ce
MD5 37664a7059cdcd667be0ff726f14ea28
BLAKE2b-256 5b976f1d5e7f18a028f68a47255b8f454ded68c23d4e2aa09dca3b2d921698f2

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