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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

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

File metadata

  • Download URL: passagemath_topcom-10.6.7.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.7.tar.gz
Algorithm Hash digest
SHA256 771bf8f19a63e3b6d99e615c86155fb61d3eb5d5b0c35dc0ab5283d6e73ac0b4
MD5 a2dec73522dbb11b979639d6d8b0184d
BLAKE2b-256 c927e9097f5bdca1ae5e745a7ed84e83f57386d4b58d97e97d6d7a755c4feb2b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.7-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 e0c1b19166cc90ad314040c88b717d56a79dfec0a93458422cd4bf37a31bb290
MD5 96cd2ca3617ba4ecd30c2a6a30e3dc16
BLAKE2b-256 6c8629229148465aee2a9e0734d036500979498ae5ef9235fd4f8074c72c1201

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.7-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 eee2c3e77a2a475bdf70a040567636ebfe004c738a42a0f229ac83bee171f9d5
MD5 80109caa5c9c827e775a2acaec54b159
BLAKE2b-256 da64559bbb29993754702b3d3137c3d427abccc0b391fd54ff72119fef6af85a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.7-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 16734be141165f65e84c199969280b3f7a3c1c7b71c022344dc94aa7c4dcdbd5
MD5 0787f13bfe079951919fdab5f3e28e02
BLAKE2b-256 919487da7490ef38b983a26c1cf863b28d9cb6755114edf88126bc5463a3a199

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.7-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 56d3ee2343a8ba5a8a78a1bfeff9b3352c5dee1338d05b616c7fe2188ed60ae8
MD5 5b109164b89c2696695f30769f4391b3
BLAKE2b-256 b81c4f0cbdac78643673083637ad647caa6a2ee582815afc7e4caa33f01a1319

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.7-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 a03c5d6d53dc311a8648b36a698a770abd4d86ba3db31afabb71da6b81530ea8
MD5 ac6156abf5812dd2378509f9a968c343
BLAKE2b-256 41ee82b57f4d3be237043825284a6af8fef275459df43ecd735751a467b10441

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.7-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e49e08fab84efa33137cec6767a29301d7ae2b6b12cf13a39039c69da2f0276b
MD5 0fc9a5338f592af305d14e8dcf5bf698
BLAKE2b-256 6ef2b2dc00f39dcf5246ce307233cee29b35a9b759faef5e2bdb8884f4eeff7f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.7-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 0cdf6cdd69c629c43ce0635ce2ff1a7f88c2641d03708b35f10e8624f318118d
MD5 4b40ee0e0fa2076313311a6a65a14513
BLAKE2b-256 7b27bbff0deba11ecea0e5639fd3c1582dd3d76bd04fee1681a866be0e892256

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.6.7-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 498a6ad93554ce4cfc542c379fe655de760d7a4307ace5bd12c51cd49414e5c3
MD5 b86784c1941743cfa8fe6e103f5952b1
BLAKE2b-256 342b7574bd7b47e05602a592f8ff8321427b6cb5d6c0a4ede188d4c782ac27b5

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