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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_topcom-10.6.16-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.16.tar.gz.

File metadata

  • Download URL: passagemath_topcom-10.6.16.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.16.tar.gz
Algorithm Hash digest
SHA256 ee36b6d6aa14cd7d2af4543b3857f6c7e4d23f61e645fc3773917ed33b6b436b
MD5 ef836630bf00a5635a0b557662670c4d
BLAKE2b-256 64145c3ec76200bcb36dbc46d0476ba72c11fbb7f0f148daf142dc6c6fd09a36

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.16-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 8e02db9d57db50fe9f9de6eaecd6c77de680e570c3074b3f85b14f460f5dcc90
MD5 a96ed52472ea95cf861eec7222bc5890
BLAKE2b-256 f7228b27bd47b2f5ba910fb328e20abc2baa68b3bc76d7eb2e11cc84ebe13f0d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.16-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 868c7bed4815d5c64830816b8fe26f65e31c5f8d932bdca227d43b4f452665b5
MD5 7c660e87678721f406fef7997922be22
BLAKE2b-256 ae6b52f1e9c63c3d3dd938e6be8399ae4516409e1884658b3762d1737b4d52e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.16-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 3f698bb8ab7c5844bdc6e76dc1c346a917dcadce5a3514259a663bbd48a032d5
MD5 cf3fa3f4afc3aa08ec1197cc6d6476b4
BLAKE2b-256 d25a36615292551e10bd3833b71070ab00fe45ba70beb3981291dfef87b08e9f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.16-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3d23d1cc24a684c84238e54b2eb75890efc0fbbee08d1583e0fb06b4df2220e3
MD5 0218a1443c21d4e47ba4b7b312001c8d
BLAKE2b-256 b0b4bc6ef8feaabef22a0836892f1c54930b884b070c25e38790f2616c20ccaa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.16-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2a4fcbb83989fa059b8b9c65d724518f0d7923ff981e035c5f87492ec37f5af8
MD5 ab6847d560551f08058b5ab6d483011b
BLAKE2b-256 7bd8032aea2c3f19e2ff09ce19d93abb3869b5af2f8ac0572e0a0d64e5458ea1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.16-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9da7f31a3bee8af2f2eafc6caad53e022bd7d858d2149e91c84d862f6f95257f
MD5 7e0e6efba89c75ae55dcee4d1236c618
BLAKE2b-256 a6854d7a8901937d611498ef62aa6ae085af56009cdb6b2d17589d370fbad9f4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.16-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 7426cce6ac0924aeff830f3c6831af085ff8c7f4e3d2c69690ed6bce4fb4d25f
MD5 de653b86cdafd3d8fe6096d875e7ab0d
BLAKE2b-256 d7c87909d19b7191cd00e744e81f16e7a8cb596f6ccfcdd6b9108250bfa26d19

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.16-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 fcbea5d76df67b32b1e7479d8bf134e48ab2e6942b4db3e63b5b391ed4d6a8cf
MD5 865b274be73d2316073d015756ba4a49
BLAKE2b-256 209158819e540aaacb5619f5357d6cc4f3b231e95a67746516c6c64b1e7108c5

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