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 was created in October 2024 with the following goals:

Full documentation is available online.

passagemath attempts to support all major Linux distributions and recent versions of macOS. Use on Windows currently requires the use of Windows Subsystem for Linux or virtualization.

Complete sets of binary wheels are provided on PyPI for Python versions 3.9.x-3.12.x. Python 3.13.x is also supported, but some third-party packages are still missing wheels, so compilation from source is triggered for those.

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

Uploaded CPython 3.13macOS 14.0+ ARM64

passagemath_topcom-10.5.49-cp313-cp313-macosx_13_0_x86_64.whl (16.5 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

passagemath_topcom-10.5.49-cp312-cp312-macosx_14_0_arm64.whl (14.6 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_topcom-10.5.49-cp312-cp312-macosx_13_0_x86_64.whl (16.5 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

passagemath_topcom-10.5.49-cp311-cp311-macosx_14_0_arm64.whl (14.6 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_topcom-10.5.49-cp311-cp311-macosx_13_0_x86_64.whl (16.5 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_topcom-10.5.49-cp310-cp310-macosx_14_0_arm64.whl (14.6 MB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_topcom-10.5.49-cp310-cp310-macosx_13_0_x86_64.whl (16.5 MB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

passagemath_topcom-10.5.49-cp39-cp39-macosx_14_0_arm64.whl (14.6 MB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

passagemath_topcom-10.5.49-cp39-cp39-macosx_13_0_x86_64.whl (16.5 MB view details)

Uploaded CPython 3.9macOS 13.0+ x86-64

File details

Details for the file passagemath_topcom-10.5.49.tar.gz.

File metadata

  • Download URL: passagemath_topcom-10.5.49.tar.gz
  • Upload date:
  • Size: 4.7 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.5.49.tar.gz
Algorithm Hash digest
SHA256 2067408e8d80897599c5a5ba58a76cbfb5fc4cc5a974f97a5f0d803c9f6b6a63
MD5 b28d15ba115514b8eddab87950068b2d
BLAKE2b-256 1abe7f4a0e65ee3bd866474e317b2e148d4875146e192c61f7002c9eaa41afc5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.5.49-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 eb0737a4d3b4d2f11f6fbeba72d6a11d8109009132e763de597681c9cc744738
MD5 c1afa55180cd77f0ee3d7b436540a6ff
BLAKE2b-256 e292e85e0c6bbd59eecf0bc91ec7a9a90b970d00dbf1fb157f96c467d2e027c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.5.49-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 448e896982f1830706a44ecf1fb43b3702b8f10e5f76bfb60d1034858274107b
MD5 4408dc8f10b342341e45629243115ab9
BLAKE2b-256 27dba9640e190ca16d969b4e4ae92f15145d1521a9725a81258d63e7293c2420

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.5.49-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 752ab970b100a3ebeedbc9073eecf090663620e3bed37bd57d3a45a15ec5bba4
MD5 96b8898da197fa083e81130dc5d3f277
BLAKE2b-256 26291b429d0277a5579676026a5308539ef5eca9a7a2a278a6e464bae2eac8d8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.5.49-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f636dcd1cbe859903689b885017de06c76023102a98560817c86d916123a027b
MD5 9dedeb241e94180327158fd9f69c2274
BLAKE2b-256 c331963131eb7432657cc921cb31ba4b568bf84431924f406504d971ebab5785

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.5.49-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f852476ef25f35e9911abcce2583c0913469b36f79378d737f399c84f6ac73eb
MD5 4b1366472242476ffe949d8602f836c4
BLAKE2b-256 9f392529b686c2f9bc29ad9b980f7e63392f78f86973478d104bf4ea20415f55

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.5.49-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 46f4749ff1704ca59319906ae7b59a27de92d0713555540cafa2ee36f6080b94
MD5 0482498461b3d06a86a05e54dac90919
BLAKE2b-256 ffc1b7294d145d9e90dc4fe0090445bac66af1ad1a19e24cdbcef509285e7570

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.5.49-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d700a2789946fcb68d26f419018539be710fc41a99d872d07fc568a3d788c5e0
MD5 3ea82d1b61ad601537488ffa2aee936d
BLAKE2b-256 2726988beeb2893fc3d51c7de591b82153344f495e501b0a56fdc95ac8a75e6c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.5.49-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8936d4204802259f68ddaee589463d77796f1b587885c7661931d32b5cf315e9
MD5 609d06469d3b3352fb74df959367fcd3
BLAKE2b-256 44192da05441ec40a1afb3cfd586a3a162159161cd8ad35c7347a928000a941e

See more details on using hashes here.

File details

Details for the file passagemath_topcom-10.5.49-cp39-cp39-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_topcom-10.5.49-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 856dd61ced06b2278dd79f928a329f6bd2630b204fdc5de135164fec540a7495
MD5 b7020c9da42556166be41bd655602c86
BLAKE2b-256 8812611dfea214cd055d7a59fe3a0fb96cb02771319aeb5de3dd1b06908f3061

See more details on using hashes here.

File details

Details for the file passagemath_topcom-10.5.49-cp39-cp39-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_topcom-10.5.49-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 defe3a5471cbe61813a6d5c4d8400297d7b6d9e77722ad5226561bc874971a01
MD5 13970e6df434aad45edc09be138bb8e4
BLAKE2b-256 2a38a0b8bb7efd6656c8691e7430c3ea2d91b4e05f9fcf9e3ccc144bc04f3e81

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