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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11macOS 13.0+ ARM64

passagemath_topcom-10.6.40-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.40-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.40.tar.gz.

File metadata

  • Download URL: passagemath_topcom-10.6.40.tar.gz
  • Upload date:
  • Size: 5.3 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.40.tar.gz
Algorithm Hash digest
SHA256 39c6991e4af4de5e57efcf66fc03b0dbb8505c03658bd9f76821f1deadf82929
MD5 103af8a62a1a55d2221858d746eba789
BLAKE2b-256 8ea7e46bda54eef9e425fa97412beb63dccbccdba4973c2c30856c8c60e8b0a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.40-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 670e9035fdaed490b1620a9b54203d68b8f9bfd7991fe99ded1d48733e7ae4bc
MD5 029103f3e1e9430ae94fcf59105916ec
BLAKE2b-256 a5e3b15a1fc730f0821d26cc0f2bb1e47f2d5dae34179f67eac263068e7a0507

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.40-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 334fe534ee35c0098c8eb59d2c5a72d7688040ea9e1c0da4d49435847bfb9e8f
MD5 87127ab27debc4243eb0b4aef211cf36
BLAKE2b-256 69bc75e9525f432a2c12494e6cce3c93ffd8a3c2bd21cc44b692d44e231c38a7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.40-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9287b16eb62a31086342393d9bbfd8e06fe08781d50de9c9297c32bf8e77b566
MD5 36f830e6889eee16a163e52287e835af
BLAKE2b-256 ea5837d2e52ff25c7dbe5ab818ed236535024fb479753a0cd9ede7c9287a1978

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.40-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 97f754dab1f595d34c77b251c9997a28dadc558cbc9002ebfaf4878d1d5c7747
MD5 5ec5eafd1be422263e3fe9ad4f5cc536
BLAKE2b-256 4e9cc4ce4f441cfcadc0227ccdcb51fa190062152594f97559721ec63b525344

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.40-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9ad551bffba378c11102ee05e096c063832c931b70f0fc9b6292f03cfaec4d1d
MD5 b4c347eda643bc4b036a8c1bbccaf123
BLAKE2b-256 b04ab9c2d1cb7e3215c33ed0863e61b1e536ba224f1739c2979e7d2b7895d940

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.40-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 bc61dc3b6dfe3b806ce8a3fd80f36bd11fa0ed7134cd4a2dd210020e07a8359d
MD5 414f06103f9dee57546a9f7b5c046cb8
BLAKE2b-256 085d95adb6327e95414f840ce9d40894896650d20e0204bb1454da746820490d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.40-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 4d460f8e3170cfe451bec7044d94106486233cbd44bd7e782ccd416dcfb43748
MD5 0c6a3ecde0245d54731d83927ce9b8f1
BLAKE2b-256 c1b6f4c0c69ba85dad8359a4d1d3d85944db46de0789a5d0f6dd436ec3ebb8a5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.40-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 3a44fc7b8486b1a83462226739495bb10f0f40480dfbda256ede0877a8d2353e
MD5 9cc01247292ecfe617864ab26982c2ad
BLAKE2b-256 3a893f18e7e95ccb62ee6f9e616704ec694831e0fe16922e45755c78fdcd8666

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