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.19.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.19-cp313-cp313-macosx_14_0_arm64.whl (14.6 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_topcom-10.6.19-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.19.tar.gz.

File metadata

  • Download URL: passagemath_topcom-10.6.19.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.19.tar.gz
Algorithm Hash digest
SHA256 80021dde7a16f3672003be3f14876c819a2b3e283c603ba705d0dc52687883a2
MD5 bd99937fe915a3a75aa3141fd9b8498e
BLAKE2b-256 e74c899f2a751098e4ac4e5b170a3e42a39bee2aa56f26163b8e6529caf326c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.19-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 331704907e0256338134b3d056176dc38ed69404da18c3805d77dfa22963b731
MD5 4f8549025543f374e3aea26d051ad777
BLAKE2b-256 3101b36a118b2a5d4fc909c55ded254c7b42956c6811860ce8743e008a6a9a33

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.19-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0d449154f7fa9255438858cba8005f91b4994494462257faafb94099b8590bff
MD5 c7e16e42800de8b6b044874eca6b9c88
BLAKE2b-256 d2bd6d684bdfb7420ac7c6f284e8ed47722bbf13b5bbd808ac089e4eefdedbac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.19-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 a7bf046c679622ab30ad5f3330cc077e8239673961a11f3f2a099ff4f38867e7
MD5 5bc2e9a97a4458654931eb485cc81533
BLAKE2b-256 1eac08dbfda04c9a5cff24707b2bef7455e8bbba4722156d52fa296da710dddc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.19-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e7e9e6e4528e7d9edc2f2271c0ce4de7134436602e49143fa5377c0981c3e4e8
MD5 0f9dc7b6734f983f1e57dae6682ab314
BLAKE2b-256 6ec6a1759ff0d033367131fec703ce97266dc2be374a97009a83a890c5bc8355

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.19-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2ad10b80061af53ed9286b41021b5caec9372a978692f0527f800bfaa2ab5dd4
MD5 936c82d395ceed2b4d6bc5215acf9181
BLAKE2b-256 5086596fd6d633cc808e3ac8922c057b9791a354be39453b8a46dd7f6b316087

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.19-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 838c80354c5921594f309175b56f5a085e876fd0eea4ba41d34f1b97a4037575
MD5 6dc7f41b2cc9baa9480489bd4b066265
BLAKE2b-256 e122e12bf31fcc598d304bfdc0489cdd77521a5d6e24e14c6ee161cdabcdfc3f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.19-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c0cee6712044b6ee9012eceef38f1335408ec5229e15b890e059b9f1b8f4c26f
MD5 dbb6f31f0f5a1fada7b7b4551a0c72bc
BLAKE2b-256 afabbdae928d038da074f4eaf06456a39001fdf1361dbb99868cabefebda9a15

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.19-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 4062d20fb6c9a279973782003e91ae19f34e949eccf881dea7a86be913986a60
MD5 5312166ecaa0a7a0811cfc6f3db4225b
BLAKE2b-256 13191409985bede8b907547f49bffe4c7c34b3bb8c77fe18cec38172de595ecd

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