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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.12 macOS 14.0+ ARM64

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

Uploaded CPython 3.11 macOS 14.0+ ARM64

passagemath_topcom-10.4.59-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.59-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.59-cp310-cp310-macosx_14_0_arm64.whl (14.7 MB view details)

Uploaded CPython 3.10 macOS 14.0+ ARM64

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

Uploaded CPython 3.9 macOS 14.0+ ARM64

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

File metadata

  • Download URL: passagemath_topcom-10.4.59.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.59.tar.gz
Algorithm Hash digest
SHA256 e33122fd1bf19c158ca7def79f675bb12bee66e6d6e5a670c25199c84153b49b
MD5 d0cb0ce6f3eefea4171035f11e780fc6
BLAKE2b-256 b3418d0041b84f79e34c92e65518830c76fc48c9049b3882a0e1aa430dbfc965

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.59-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 cfa13626aea0abfed30e32ec4175a57944d8ccc0f5df60d52aa0648f3d4d37f0
MD5 db021b97bdc49967aa04193580b1854d
BLAKE2b-256 7fb671889f4595bfcf32113884b8318a03309b243438725feecca2a9fab01610

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.59-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 5062f3c476bb8692907ca9fd170294f15654c404ec3ffecbfacf61db65060543
MD5 69fb63793d0005af26692819d1f7b94b
BLAKE2b-256 cf820eee5370b01a61235a435618cf76edfc6fa7cce38d8b07c70edb05886f0e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.59-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 92a4569f2da7b1c1c9480963d81c3feda456e781636b01521480b836216b2984
MD5 ae93875f94c5fd3f11d9d8358a18ef1b
BLAKE2b-256 7b721aa870bb52f4c62a31147e066dc93a9fb55b1acd972bcebd0eea4d6857c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.59-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1a590a0395ee81d55019f45f0b1d4918c1e5ceb44a2238967e5d23cf03c25305
MD5 13e354ae045525226ba24c8a86747bab
BLAKE2b-256 b278b346dbe8996d1e45e86b45baa3aeea9b621883bfa0847cd73fbbbc1e6a93

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.59-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 e007e5db322ebd93c836c912fabf59fd39d76f1e46641acf03a74ee328f34b69
MD5 f72f98f4219e088b63e5c2ef5d0e4f3e
BLAKE2b-256 b8008c308f4b9fceb9dfe02b0167ff17862d8292c2eec75955519dca0f13b701

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.59-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d6280a7d5f5c3fcd0ac9d268918cfa3806f2f20b7eca1c35db9c4d6ed7d3d463
MD5 655039db00d862dbdc1ab359900e9a88
BLAKE2b-256 c0e7a0fe09bfd74ac18452b0399c88739c4bebbabdeab39ca488bfcbfa472f50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.59-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f31d35d00edeb43f3fa88d78a02d08b0efeceadf65d9de7c886cd3162ee854fd
MD5 a54ff7fb2110b2a5595460c576b1e7d5
BLAKE2b-256 862ef875bc8f30b4415559af845d3408fb25fba5c16ec830996a4a13d0324c69

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.59-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 bc2ec41d97a2cf576e0295aebc320b38aa88a4214632b60e214e226d522e28e2
MD5 6cadf6a666dad3adb7f9b28cb87d6756
BLAKE2b-256 9832b737a5114657ed5cae1e42fcc3e3946b3f6153afb591506f5dc921cf39f0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.59-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f274df6f4e67a922085f824e77b1bf31b52f2fd2919101bb28ef29e832bee52d
MD5 d21d08ff0c6d7c1147a2bb73b20cd984
BLAKE2b-256 d6121a1deb11538435d83f42d7c0418c62c3b945690b0906b83edb2b49cbc47f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.59-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e2231ff8713e36d07290d03bb7561a1e09aa1cdc426704b8b7148bb147905343
MD5 65b9105fe040bc02b26a122fc3837d92
BLAKE2b-256 3acbdddc960dfcb6d86c0b562dd0d322b255f0ee43e92701840b5f15ecd52d96

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.59-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d3d1d9e2f8600111a3155263e35dbdba09d9a35ded4d9e128377217e098c2457
MD5 eb955db4100cc80f98605cf84751c527
BLAKE2b-256 2395132a8d29b34a40376697b13bf262f70d82677c36a88abb56254c50b434c9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.59-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1bdd0e9bb6f652a8b7315da81156df9158e2a8caa778e7a28f3e54c4030e8bc9
MD5 4e67510920d5de75e4d3123153081852
BLAKE2b-256 4a80622fddfb9a642b75db261b64ef1317e3139a07e58f3eccb925041094141f

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