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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11macOS 13.0+ ARM64

passagemath_topcom-10.6.47-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.47-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.47.tar.gz.

File metadata

  • Download URL: passagemath_topcom-10.6.47.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.47.tar.gz
Algorithm Hash digest
SHA256 f32c0de302692b54ab78c42260375c80e9cb010568645e5037bbead65c2f147c
MD5 609bd73c551ff066f637db5dc9db7919
BLAKE2b-256 064dac641f45dea1ee0a6610ed75695152fe5c0c6eb1e5e2e6ffacd42d455c0a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.47-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 58d395d09156972bf9936ea6d4b282c59c93333327b5b75dd3518075a16548b7
MD5 8ab9533229c5dcde6adc34d5bfdf26c0
BLAKE2b-256 4b01f3cad2209400ecce7e70162d2a4ce8e29fb381d933a304ff044cbecdc19e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.47-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 8d2afbca3f71d87a171086bddc35ce387e82677e306795b21c36e715b1248079
MD5 e19934a68ca2cb2846532dd1b0821fe6
BLAKE2b-256 27a311066cfe58c32a2f1adb37cb17db5c5bdde14d3f9275f05fdbb7f776f00e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.47-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 58d009a5d32c2bf2175097c7a3106180a593a24bd1e96ed507d54355529e439f
MD5 7246f60066b4dda9e6b2196f3fee3bc5
BLAKE2b-256 decfb16313a5ead7980ed9c9765f28dfc92c3155ef2da6296f013508cd0ea26e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.47-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 e6adc476499fad9f8c6efa41d7b10f6ea6925ddf8a8e1539adf0265a752ac147
MD5 537a8ff354338eae23b030bfeaa27b0d
BLAKE2b-256 0632124ab85a37e6020a7738111453da03b735f2609ba935036ece68e2d27c01

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.47-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 51597e1635606f52fcd7c3753bbec75b1ba3cfb51cd67be1a9d327b4b2dc25b4
MD5 7bf6027911a55876b8a74c987052bb76
BLAKE2b-256 9226711e12694fef8f4a17c5b15517a0420c51d6c24d13dc7fcd7ee5c5b60e03

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.47-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 fa19516c508143f806b95632e7df3565d202b6d364b373b7e0ff3c209f4d69a0
MD5 ed6018a43d7528779db7eb88e29abc3b
BLAKE2b-256 91ad623602c7b992036f8c3e577a96018470a3829e280a25876cbee6eaa022a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.47-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e981afdda948e250e8f6d856f6e275e5febb1d2a6e55296f4b8e3710973546e8
MD5 e1994cbb0c6978f4eeb6f80a34cdf10e
BLAKE2b-256 fe82eca655d3a3f5c92827b33fb9b4a4e1c8ee87f64bacb422b1a8c9e87d4683

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.47-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 162baffcbb6f73e4784859ec3178133838a32ae4a292dc363e5f130c03a90aac
MD5 f70cee6d068d6ee3c4b9b20d9a87d283
BLAKE2b-256 837bd48bba095f7ff135865f63c1169566d6f1bfc7d8d7e7f942b86ba214dbaa

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