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.32.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.32-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.32-cp314-cp314t-macosx_13_0_arm64.whl (14.6 MB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11macOS 13.0+ ARM64

passagemath_topcom-10.6.32-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.32-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.32.tar.gz.

File metadata

  • Download URL: passagemath_topcom-10.6.32.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.32.tar.gz
Algorithm Hash digest
SHA256 939bed13d26f9455e890f5e7425df8d002aa0abf3a0982394e17237b091b29fd
MD5 20c5787cbe5f9c94d418dcfabd808fe6
BLAKE2b-256 3350805e522804ea934dd4aa013e61b6ac0536e4371606fa21bdabf7360755a5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.32-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c5ceeeb363677ccef31b1ced24d42a5059287a4e40bbfa75c19df0a653d4e087
MD5 ef3246343bbb61588f4c506d8a6fcebb
BLAKE2b-256 ccfe63c246d9e48d1bd247eb6229fbc5e45ae42e0f8848bc35354b6f0ed6d22e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.32-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 487a1fc4256cf3a3b78302561e427cfca3d00a6a9170ed796f153fb5cbc2023d
MD5 a01f58dab29c6d1fe9d3863274aaca3e
BLAKE2b-256 17ebf8a5ab604e7aa72b2c4c0b0354830a61b175678f946cbe8671738a596ad6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.32-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 362c2d0e568dda64a37b32459f3afb06faa1d4acbf209a94dc30b0860213cc8c
MD5 bb8e47bbb9862a9329d2daacdc32d1ca
BLAKE2b-256 bf211a1d78a9c5c2bb4b5deb1408c5131e8c77206376cad87a559a4673d4088f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.32-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 a2ede7524b7aa593dba43690aee9bb1c5edaf796da409c6cb2df73d93f7b3d0d
MD5 c14347fb4d49d39c1a86a47feeb33ee2
BLAKE2b-256 893b657f5a58c6d7161ec27a71b0340b2469ef7ccd1617e705870cf2604ecb95

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.32-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9551a227e021b5c52d9091be82b9b58a7cdb225eb34a8bcbe8546900ff2047dd
MD5 0aa69885190c58fb65dd4d9f1581f121
BLAKE2b-256 97ece62ba5dc574821ad4e8c60fb1019825806758876a71286ce7792faf56b43

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.32-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 24d917bd1245b683bbe0a3134e83170e58a935335c5273623c1b012600cb4458
MD5 da661b2e499b17f4c8216951a5255c96
BLAKE2b-256 9bb52c11381d937dfc2009dba6981d67a96fc2fc9b60843c88e170c33ce62fa4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.32-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 029b5b5821eed908ecad4c5668f783257af1520e70dd0f43f07418e80b6b84b6
MD5 7a076e51899a21b2055756a55b020224
BLAKE2b-256 55b626280bf0889817aec37aa17c8b3617b767aed43ff89bffbd76313c991404

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.32-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 2765bc0f8cb96f187dee6750d2114e5df5861ecfb0dd3c66099805b9f575ac4c
MD5 b0cfbcbd45b853e6d1c38c8cfa0cf49f
BLAKE2b-256 b089de0476c2c91c28c834b2610100f254dee03b34e3afdaa5d86755551c3ad7

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