Skip to main content

passagemath: Triangulations of point configurations and oriented matroids with TOPCOM

Project description

About SageMath

“Creating a Viable Open Source Alternative to

Magma, Maple, Mathematica, and MATLAB”

Copyright (C) 2005-2024 The Sage Development Team

https://www.sagemath.org

SageMath fully supports all major Linux distributions, recent versions of macOS, and Windows (Windows Subsystem for Linux).

See https://doc.sagemath.org/html/en/installation/index.html for general installation instructions.

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


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.4.66.tar.gz (4.0 kB view details)

Uploaded Source

Built Distributions

passagemath_topcom-10.4.66-cp312-cp312-musllinux_1_2_x86_64.whl (30.5 kB view details)

Uploaded CPython 3.12 musllinux: musl 1.2+ x86-64

passagemath_topcom-10.4.66-cp312-cp312-macosx_14_0_arm64.whl (14.7 MB view details)

Uploaded CPython 3.12 macOS 14.0+ ARM64

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

Uploaded CPython 3.12 macOS 13.0+ x86-64

passagemath_topcom-10.4.66-cp311-cp311-musllinux_1_2_x86_64.whl (30.5 kB view details)

Uploaded CPython 3.11 musllinux: musl 1.2+ x86-64

passagemath_topcom-10.4.66-cp311-cp311-macosx_14_0_arm64.whl (14.7 MB view details)

Uploaded CPython 3.11 macOS 14.0+ ARM64

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

Uploaded CPython 3.11 macOS 13.0+ x86-64

passagemath_topcom-10.4.66-cp310-cp310-musllinux_1_2_x86_64.whl (29.5 kB view details)

Uploaded CPython 3.10 musllinux: musl 1.2+ x86-64

passagemath_topcom-10.4.66-cp310-cp310-macosx_14_0_arm64.whl (14.7 MB view details)

Uploaded CPython 3.10 macOS 14.0+ ARM64

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

Uploaded CPython 3.10 macOS 13.0+ x86-64

passagemath_topcom-10.4.66-cp39-cp39-musllinux_1_2_x86_64.whl (29.3 kB view details)

Uploaded CPython 3.9 musllinux: musl 1.2+ x86-64

passagemath_topcom-10.4.66-cp39-cp39-macosx_14_0_arm64.whl (14.7 MB view details)

Uploaded CPython 3.9 macOS 14.0+ ARM64

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

Uploaded CPython 3.9 macOS 13.0+ x86-64

File details

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

File metadata

  • Download URL: passagemath_topcom-10.4.66.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for passagemath_topcom-10.4.66.tar.gz
Algorithm Hash digest
SHA256 3a61ff4d0bae8d0a38b280bb8168652811a167312b04bcddac13c696cab8ab84
MD5 29cf447f8ca7e0f7810b3ddb2c0be9b0
BLAKE2b-256 68ae99044c32cdd002d3f5c99503cf4c82cf73b6784bbe2ee4ce15127824f054

See more details on using hashes here.

File details

Details for the file passagemath_topcom-10.4.66-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_topcom-10.4.66-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 858f8ad229f7365bc0203fef04c647c44218b8a998e537ab8092180b01f623f6
MD5 3aa3558e43c91b897a738c05cf5e1701
BLAKE2b-256 8565476629d3df8f7929e990c34daa317dd292c48408dd1d2ded986be37c8b27

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.66-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2869164e23ad19c2b08acbe2e830150294b7524018055ad25d83ef35de0da53d
MD5 5597731ad118753658bdf883af92d341
BLAKE2b-256 7b5f7700e99e411a4e1eed2ed5fcb86584843bd726e0f12aab1cf7e978470f87

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.66-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a16ee10c38f078f1a1d3a4d23ed68609b3d29374944b7cbe2e5c45fc68bf5139
MD5 f8836bfe6645aee2a2bca6413d9af696
BLAKE2b-256 1d1b213d9f32d4486e85e9b56eef3c48ed145163a430b11c905ba76202362bfa

See more details on using hashes here.

File details

Details for the file passagemath_topcom-10.4.66-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_topcom-10.4.66-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 efefa0923210f460e733c40b8f36f848c12c260c4a58469cbbc9e9530227b396
MD5 a75eb5891bd355b3a49249e29b318a4c
BLAKE2b-256 18aa559d0fd24dc5c6644b303f3798c69d557082a7562f0ad7f762c40b2765ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.66-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 bca5128662814196ed4e774ee0a98c76cc25e180262704396ce5d56b8291c4e8
MD5 ce5e975c61e02a2995b89125109c4fcb
BLAKE2b-256 cb4ae5c6f6b469d7888916020dafffa11cf3165b14344cfb550f2b28d16f98f0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.66-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 cc9b9c5f70b4636d7d75591cb9b8449d8f1fa952b26251b81e29e58bb528b98c
MD5 24452c9d437742d87dc0fd6d2ab3be1b
BLAKE2b-256 a26142a8cd22190a699c5f2335c4a306b6eaad4235ee24c2b90b7415212d3e43

See more details on using hashes here.

File details

Details for the file passagemath_topcom-10.4.66-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_topcom-10.4.66-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 37979d2f16bae8452ff58650db82da938030e5aa9735f277b3fed723c41a9e31
MD5 db3d3fe539d20f4b5bcc7f1211248b26
BLAKE2b-256 bc5644309c47af81f1df3f7f44c7d2ed6ae0a86e68673a33a324c20bdf282d8d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.66-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 535d5949006bc6b8c00c79f3d3b4e55fb71ef2b4f5f2a57d9bad74f88e9ca187
MD5 3bddb4fef56861a82966ae55fae3d42d
BLAKE2b-256 b9612d8e8678d200e44b5c7b56def52080db959022268e4c271dbd50e5a477dc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.66-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6890a4f287f205ee083a00a1f90b78630558b8bfacba6774980b454ef3198a87
MD5 4638fa95f9c046a4a5cf9ec7fc634470
BLAKE2b-256 b7c1cd6387d29811c1c40d6de409ba2fbd6248ba6d4ee37513cbcfab20702fa3

See more details on using hashes here.

File details

Details for the file passagemath_topcom-10.4.66-cp39-cp39-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_topcom-10.4.66-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8b46f6b71a309cbf6f6702ce8dac9b35f1e65aef91234ad8becd70b350e99bcb
MD5 eceedddf182868bed19ab540c385652b
BLAKE2b-256 adaf71c0629cc188a4cf427bdf01d9a489d4106f405bd8125372e9cf672d72da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.66-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 a1f58c90f4be33617a89ad123e22c2e853ff158d09b41c50bdc9fe0f533c95e0
MD5 6809d505403b1e1eedec28e66f5f4ae2
BLAKE2b-256 3c367f79c179b302d74615c76068db0800a135ded4488e403eac93cc6779f22d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.66-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 567c35a92d961e5bc0e13bd3f13ae61e826b5adb69a11faac618e727067ce434
MD5 573cb11dce30c06f0efc0d4a3ad03144
BLAKE2b-256 dddbbbdbc6427e138d8666c586157c8e5e2c1af6505ab2b9b28bb79c19e618b4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page