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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.12 macOS 14.0+ ARM64

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

Uploaded CPython 3.11 macOS 14.0+ ARM64

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

Uploaded CPython 3.10 macOS 14.0+ ARM64

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

Uploaded CPython 3.9 macOS 14.0+ ARM64

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

File metadata

  • Download URL: passagemath_topcom-10.4.63.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.63.tar.gz
Algorithm Hash digest
SHA256 5f532d9331b6790029eb4acc6fd624e4bc1a077a970850be0d8389d9d4c82734
MD5 d1db11734e3cf121f446a6fd066fd725
BLAKE2b-256 5359e80c0de7074fc6cdf07689c3928edee9d7b5077cdf9f773b95a5388aefd6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.63-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1e42360c6239e077f66ffd730eabd041dcc074b689c6c2b19348dfa18cc2d160
MD5 d5c0c743fb6176bca92161b9fb1cef5d
BLAKE2b-256 fd8dadb628827243dc13fefed829862ed95915329f18d183af20f81f22ab42aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.63-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 e0337446f3b6c6b8c04eced93a62829b3fc34eafb0fb4d8bb2e5ecb1b3e46ad4
MD5 973e375468aa54fe64fe9ccf1831a906
BLAKE2b-256 eb9b1cf33caee77a663ec4fa9a3850c55583916b5b6806ef6f26f69c8c7c72aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.63-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e2c625ae3d2860450aefc54904704c8094f7721d6be08d0b8a69e400859d4f9f
MD5 37bdc9f138df31b845cbbae9bc96a911
BLAKE2b-256 ce0e8efbd349f7d100f09a116088235bd36c04fc13037cbca8e78ea8147f3bc4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.63-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4b4cc890cd6261433b2dbe7cc7ce5f67f40f5875df20bc5f4d1761b96cc852f5
MD5 1ec34c18fb7a64d333ae589fb968db63
BLAKE2b-256 ce9ff25dd9a1109c991716ab1917c0623ae80047421cf51eae2f4b4f63dabd6b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.63-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b79aa93679fc8414d5e5a47f9eb152641826e19f9fed760beeacc42609bca973
MD5 c72477d8d129ee0b688c31a83ab026bd
BLAKE2b-256 c8330fa86cb3070c6596e100c2196ebd7e0dbdcb93e48f9c0ae866e0da1577a9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.63-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 42f5122bc8604eefdd76e8081fdb78638e5cea623efae6751a9ea0e996eeb0c7
MD5 fb81107a47e3697cd4f6cb859e82e68e
BLAKE2b-256 ce3d64b538e387f2618a32a72939934932758f64e079d93bf786a821c4bf5b24

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.63-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 11018aa125bef29171cacf7544598cea63ac26b59dedc94a0954d599aa7fb626
MD5 655d488759ea7263133b66e06095bafc
BLAKE2b-256 1fb66e74700b16facfa317d6240456ecb21687e4580471d2669b025125fda7c0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.63-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c7c94349dafcda0997e57fda915bab118290735aa2741afa75e736d856130460
MD5 1c706e7d192c16467adb311e6d3282c8
BLAKE2b-256 db966c9bc3e1a24a5e2af0bced95c2e7d7cefe0a83d9f6bf3dcb9ce7e2ccf81d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.63-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1c7884f1a1cd64b583a39fd827ef2553dd0c5d906021909ed8f96504c99e793c
MD5 b5571cc354da64efb3a216570ff0c2c7
BLAKE2b-256 a1d580a47762376c70f1587e8e4de78a2452c758eabf3cadf04072ad498a24e0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.63-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8069ceffb76fead42fe67127ed68d1a9daefb04918a4aeecc711e0f21ae3275a
MD5 2cc4381a554b00907e9ec8ec0699acd3
BLAKE2b-256 6727766cbb01020ac8922984c42950855d0dad230125d9567ef9215d7866eb77

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.63-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b660299b183caf2c85628b8a97f2e37852ec0c0c931d0a849819fdb9feab9a46
MD5 940d76ddb118b1ef6f4a3c47ec9a2229
BLAKE2b-256 03cdf50997c04959215e015dea8ef684ef0c3b41668d2cc635db06efdbe2a884

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.63-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e08be00324506da06e9532472f27c4e9eb3eb79ff5b192a512bb4393a1811fa9
MD5 09d828ced96129eff96fe22093e759ab
BLAKE2b-256 98f927b33f7105f73b3e2ce6ca6d3c0032f8d4614be7dc0d0943d9f719c6fcd4

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