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

Uploaded Source

Built Distributions

passagemath_topcom-10.4.65-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.65-cp312-cp312-macosx_14_0_arm64.whl (14.7 MB view details)

Uploaded CPython 3.12 macOS 14.0+ ARM64

passagemath_topcom-10.4.65-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.65-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.65-cp311-cp311-macosx_14_0_arm64.whl (14.7 MB view details)

Uploaded CPython 3.11 macOS 14.0+ ARM64

passagemath_topcom-10.4.65-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.65-cp310-cp310-musllinux_1_2_x86_64.whl (29.6 kB view details)

Uploaded CPython 3.10 musllinux: musl 1.2+ x86-64

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

Uploaded CPython 3.10 macOS 14.0+ ARM64

passagemath_topcom-10.4.65-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.65-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.65-cp39-cp39-macosx_14_0_arm64.whl (14.7 MB view details)

Uploaded CPython 3.9 macOS 14.0+ ARM64

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

File metadata

  • Download URL: passagemath_topcom-10.4.65.tar.gz
  • Upload date:
  • Size: 4.1 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.65.tar.gz
Algorithm Hash digest
SHA256 5a80110b02491d465755fe18101d85ae7c2bb1468aca01c89835c7e3096c40b7
MD5 533afd4acbe6837ec0a53c85723ffbff
BLAKE2b-256 1c1f724373537cabb5b11d3fe68796e893c73516184f08f386d8868d293e512d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.65-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f4ad42ec59a5b2bcad47ff892e78c216bab71e1e92a22b5832b5a9b2e29358c1
MD5 9bbbc35a3e0477b711c327c194ef5555
BLAKE2b-256 e9cc90f852d53310ced0b7606c8884bf10935e3d66be917875c4fce6c2457bd1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.65-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b3060e7c6b6786b1db40aae15ea1e22b5b23e7075c49e4618f1bdf50bca2a8ae
MD5 cc2916f9d4761c071b1be2c3d653156e
BLAKE2b-256 260cac21a898a6dd76ce700e6f05253d177ee3c2f5a0bfe8aa8f98c484a06c2f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.65-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e75af678364b508f1821fbf214cf6603fc825fd4332acb1920c067460f52da46
MD5 31fcb690a0c19c6adb2436f74efd480f
BLAKE2b-256 9bbd68e018c8fd434f109b6f79a1ce979b26ba9ddce243653b0cc7dac4560980

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.65-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 cc1183bc7a5c8790106fb4891a95b923758db8e46318c339eb26484bbf2f8e07
MD5 4939f22bb7b4d66e3b656b187c395a6e
BLAKE2b-256 69e8121dd38174b8cd6e65d4fcd1f427275eec93d6c84514ae5e79fcb847cdd1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.65-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 dac0923718041d56a12594b68b54c231808e889ae203086bdc525e2657aaa957
MD5 55fa03aabcebf0fe93485bfaf7c55a43
BLAKE2b-256 3cf0842f85f88b9b2ce429b4091b7e2275a36d1530ae72e636fe8daea558b88c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.65-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1995c91df491ac59ef393d9713d57ea0059841c3164ff37561389e7ce9c17124
MD5 4222e0071db7c399150248115735d29f
BLAKE2b-256 ed3c33283f3dfcb1ef5aa5d98c880f5813876c0a27a62d1901a551b00016b886

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.65-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0e27cfba503d88460d95ef32f093b9c348394420bce650dd3bc876a75d111694
MD5 1c4e7008b9e3db9a3fc5fcfb0a44cf06
BLAKE2b-256 56c85238f11b77cb05af715ce3806f63e15ac7b1f4f80f8a54d25f3d8ea2379d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.65-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 93c875a817baa6289bb1c0e67b5465eda031b9af3762e26b237b9c7951960805
MD5 d952c6c846786ff0ffe5514d76230c30
BLAKE2b-256 a82e85084ec1bb6acdea2d84ff40bd31de20a721df814623e171cb1a0da50ac2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.65-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b42ed4a83aea0c1fd980543e149bfc9a8bd295a1ba08e5e539ce7b6470d4e2d4
MD5 2ce8505671ca64a0ce0de46acc41b89f
BLAKE2b-256 c870fcd8c32172bf5ed39c58ff07ee7ef90cab8da2543bf625e08b0eb83af966

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.65-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2c4a05f9fb5ae0b518eb187e3b5711095fbd472a7d86c33ff04a27f70c123e65
MD5 85a1185cc73c327ddda3f22136ef4586
BLAKE2b-256 4a2d00c910bd832ef0617df8566feb7c3fc26a6cdb92d8627b99dc4c9c3c9a7b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.65-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 0f0eb1f0724691000a2ca546b45a15d570ceec5aa69e247850dedbd6239826f6
MD5 791b35f8d18da96f64d68fb300b3ea66
BLAKE2b-256 02948adec2ecd87e0f5ca302d7df0032129a23ff8faf4914b32418363449b408

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.65-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 48cbe09e75cc82e5cc12ecfc2c4d68a0c31cb7252c4230ff35e6f13d64fd03e5
MD5 1ddcf4cbb78abf20c24fcc4f02e25a2f
BLAKE2b-256 d48814605300e4f0bc4549f7c58c4ed9a7b5e92fa6bd1be606f2eda7d7702c17

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