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.14.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.41.tar.gz (5.2 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.41-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.41-cp314-cp314t-macosx_13_0_arm64.whl (14.6 MB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11macOS 13.0+ ARM64

passagemath_topcom-10.6.41-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.41-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.41.tar.gz.

File metadata

  • Download URL: passagemath_topcom-10.6.41.tar.gz
  • Upload date:
  • Size: 5.2 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.41.tar.gz
Algorithm Hash digest
SHA256 c510640c84fc94ebf3cecfc67801f5565a33833b73d398d47f073d3fa8a31357
MD5 e2425e2fc22988a291e23fe9dfd334c5
BLAKE2b-256 e27d29f2399ebce5c948d7c5d59f2c684a5e6edd65291d34a457fddd6517c29f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.41-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 cb3b5f6309d237b93fab99826080e62506b6061e517c125ba0f3a55a14f8ee45
MD5 ca69b487b33c1538a8a21d5803d10a92
BLAKE2b-256 4d420be4dd952592f0067249c930d44e1148ff7307bba63f91beddc4bb2fa7f2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.41-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d0b2546dcdedb0f54213d935816b5d8c087f6f0888dfcdf13db255714c685847
MD5 03edc5469544e28814def3b243cfa18b
BLAKE2b-256 94875f2f7ff949f1b68868fcd17adf1673b84190802c8c69dccfce810409f858

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.41-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 38f676a68ea61d4752938f26f914103f94b6636c577ebc9f269e276dca731754
MD5 2f3ce7513019748dfd9b0f265f2c260b
BLAKE2b-256 afe0d85a965eb198be05ae2abcba4e10333a7dfaa6f0e1d65ae29e15a75a895c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.41-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 e7000627b7b3a19b65045b97823fc87c81785fa117a265a6b9d22ee4d623fc15
MD5 08d947bb69d19b58c9aebfa2a05f5f47
BLAKE2b-256 4ccc219c527d7d31f10b1f2c2a2b94194c51147a1f2d14f3e53206e3d5d6b7dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.41-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e765497e24e1abb84ff59b65a9b93185e6e7bfeb67fa3416d56740482b4e97f5
MD5 497b63ae13878445dbcd25fe10abb29a
BLAKE2b-256 1015d203679ff05076d3f38b396e7cd4ba46845c799b4485da99a9af8e242c40

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.41-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 6b8f31a3f2df0ffb64f75c9221b969d0dd3feb32a765722eef0b93bd882f02a5
MD5 78b796a838a0352f774db2a359b100eb
BLAKE2b-256 279e81de12b76061c795ab842b5b6c69aa12bdab3efc45531a82f66642c8ff86

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.41-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d6edf3c2ebb984fd13621e99426099a917c1e28ab1d89541f8a6ae236e95d6bf
MD5 2b0c79823295df9f1908d638285290cc
BLAKE2b-256 edd0dec1f7f29f86b0544913c6da8976ce154ccd4df8d9a8944f675ed1db6109

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.41-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 706cb19e3d9fefac89cc02932078631661916069458cab4e34544dbfd3b6d147
MD5 eb759abc36f8460d4de8acd66edbab34
BLAKE2b-256 e596bc0d3ab3b150aea901c2cd5b1a8aa94677900041ad6656c8cf23b2beb322

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