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.

For the Linux aarch64 (ARM) platform, some third-party packages are still missing wheels; see the instructions for building them from source.

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.9.tar.gz (4.9 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.9-cp313-cp313-macosx_14_0_arm64.whl (14.6 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_topcom-10.6.9-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.9.tar.gz.

File metadata

  • Download URL: passagemath_topcom-10.6.9.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for passagemath_topcom-10.6.9.tar.gz
Algorithm Hash digest
SHA256 f0d5fa4830c074fd908ca72413f2927370341a575686aaf9d2c6d2bdaea681be
MD5 cea5c9a1628b30d3191fd2ef57211b8b
BLAKE2b-256 da63b44e907f5bceaa8f3e5b39f40f2f3664892be4e070f7b1f6e593b6191586

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.9-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2d1a9a82a1cd2d0785f807578864bdda19992673ccf163f1130474f91f109886
MD5 781a12b4e1c183c9e858d4a214c635f5
BLAKE2b-256 feca9aed46e712e7045a3cde2f46c25a7ba2b1c0959dcc2d21fb87529c96aa63

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.9-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f663b5017e96115b2dda1a005e2901ee11b509ef9c29af462eaa4afce8f1f55f
MD5 8d51bfed64b4e4128280906b1c03c6ef
BLAKE2b-256 10c8fbee83252981371cb7e634f096ad52c3ac24736bbbed61d674f0fe2be9fc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.9-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 79d3060f8161b67724fc13e881f3c68bd38a3cc8488970e1ec0850e7cee19cfb
MD5 9e2f92030a4cb9d41c004f5a8581276b
BLAKE2b-256 bc3731b9fc0aa26ba2ec97df86a8415308051cc23344beeb568a47d2815a3b85

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.9-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c3ae43dbd9f1f9c7b91799b4b286e9480ce7d9f573548d8579111f21e88a6b71
MD5 a1d787610514b6ef7ce5d0b20900eb0d
BLAKE2b-256 2229b5f94154173a634e3886809fed35a7837bf00ab7fc042f6ed16218cccbea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.9-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d5a55a567408e47d199d49804baa099ede5aee37568611a0537da580457709ee
MD5 a57dd929e749993df0ce4b5410ac2f3a
BLAKE2b-256 91dfd467290ad68e0700037ba525f5a63049def0231ad04e3dec8c5ad2fde3a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.9-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 63765e3248315c52ea9d8c6b3fe7ee2bae372b5ff9d5a231af596079c649152e
MD5 c95fe0652e858f74c30ff16ccd8b419e
BLAKE2b-256 be43f9b1beff892108dd864f85294c097a6fb9c8fd0106c38298eaffc312f473

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.9-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2f767de00cc0e0ab0d52e7a5054ecf3b9e63b3c9666904e9e5e9cd60ba45f4cf
MD5 50fdf81b63b810c57fce6f469053ede8
BLAKE2b-256 e914e89f2fa34b3184cb23bca6a8bef0d4ea2119c083d2d4ddd9aeb705f9ff57

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.9-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 603003a3a7363249a2953254cc8191498a30643aa701045011dc545fb3087d05
MD5 2228d387da0f1d2797f4b2043cb67ed7
BLAKE2b-256 2d1b6c709f505323f8d75b4968a3fa3490ec3cdf3d85df35fb836450973ead54

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