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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_topcom-10.6.18-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.18.tar.gz.

File metadata

  • Download URL: passagemath_topcom-10.6.18.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.18.tar.gz
Algorithm Hash digest
SHA256 48685b3477b60934cd9ae059e19e565199794928c17d990975004e4e25b19965
MD5 fa9f9e9249e550bfa746fd3cce53217b
BLAKE2b-256 c552ab29f9bdd77669644d04ee4870cd7b3ca5acab9ddde374cb216a49d6f75c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.18-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 8fc482788b35d05177bd3e1d5cb7cc54d52ecdb585f3ebbafbf4ba882177adf5
MD5 51b1491e31896de5a09e9ecc8877e629
BLAKE2b-256 9ed93f7bf4961d37ed0e80fbb8b06a6e7cd9d05e95522a05a9ef21ece17cdb69

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.18-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7bab8a23009c06361565941911b162e7cc7b563bc3796d7d3c21d4de12001fb8
MD5 14b2719a00cf310498524537697324e7
BLAKE2b-256 e7f7f617492cd2fd613e3dd66ef5925f7d1087fa1a3670780fcb4399d464452f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.18-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 5eb29a70245127357032d59451df900045197b690e562f6564e30188c6cd31d3
MD5 6f6bf9c648a2ab221544033720cd5c94
BLAKE2b-256 e0518a3d3fb72d2b6053abd89affff091dd943b613f2d9b4f79323b31acb01eb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.18-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7a43565f99e9a0918013acde16998e8db588e2cc81b4dce5d284235466ef0b8b
MD5 2e7f599475680c92e7315bb0e1c36ea1
BLAKE2b-256 c6e54b8f2affdca5ac56bff7c4b8f26b98e44b4864811071580ea6822ffdde6f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.18-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 e9c3be3d1ed2b0abe743313f4819dbbbb988391a4e7e8273d8770b45d5a67211
MD5 5fde823aa99a19c6fd81488cfe719728
BLAKE2b-256 eedee08398ab8e2e6fb0f69864ac196b3ca9bebc28a3f9354a6279f837b471c0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.18-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 77509d2e8aa59e796deebe8e8d4def68567c16ea286984706aaa620008e0f227
MD5 d72918a655cf1bbd7f769a70939e9a5b
BLAKE2b-256 4071b7b07e58993e1f11687f4a073253567092718cfcdfe6434eb410c6f336bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.18-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c1ea235c067118c572995f552523881541471e8c2630c4c993abb3f0b3bbade9
MD5 de0c64f9804c43e1341ac21038f8c77f
BLAKE2b-256 e601ac8a99f6c7a842b0e24c9bf6765f0eef0ed900471ee89eef7bf2d6d7a6c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.18-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9524793d8fed63c54be0f5e156502eb1ecd5380b5dc061e6268482a2a5211542
MD5 a3f4e7faeeb1794a2f401cf2ec2ca4d6
BLAKE2b-256 62df8662f90d747ea8caa1f0bc9bcc8cb0f208c47b0d586b6c11edfdacfbc230

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