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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.12 macOS 14.0+ ARM64

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

Uploaded CPython 3.11 macOS 14.0+ ARM64

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

Uploaded CPython 3.10 macOS 14.0+ ARM64

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

Uploaded CPython 3.9 macOS 14.0+ ARM64

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

File metadata

  • Download URL: passagemath_topcom-10.4.64.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.64.tar.gz
Algorithm Hash digest
SHA256 0e6b2c0147312c04386b7efb5b63feaaab89bda98dca76f94a4034ddc8bd850b
MD5 0c60915371c7a64708aadf5dc5bd0807
BLAKE2b-256 4d5c5601393db187429db11940c1a7122bfaa7df777991253122624b8fcd099b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.64-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 438352edacd561b123097e0920ae2b1c6e777f2065de524c0611363f72399f92
MD5 d0c39b6f9147c2a46abd89f08a7211e7
BLAKE2b-256 55295b943c903d440be1c9fe903bcb1608d446b3ad0dae653d096d39a0c021e0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.64-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 8032a5a83aeb4a39df5e572e746e2ed0ee8be1ec0bea360d08e22b74a84919e0
MD5 c0718ee9bd3c6e815a63e9ab506039c1
BLAKE2b-256 39edb5784fe7a64630f10e8944cdd297a7119a5d7736840f8811e5c141c11071

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.64-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a763a12ce8799e9d01812f18413123172d790546283ffb04357b3b949fc1fab1
MD5 84677ef6fbd690f59e4648ef27cccf2f
BLAKE2b-256 d81c4f2164ddf4018de0f108f9d1f7bdabb7c25facd10f5051d4f4dd250ed49b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.64-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 976ee7a49c6e18bca39305054ff2c0f890c76a8f6a0230f8e527357f6a6d1a3f
MD5 d7d8bffa3147a5f785b7da7b8cd675f5
BLAKE2b-256 f0f730a24b7ae9ff6c43a0e1897adcbbd4faa0b0e3477670f2dfee6cbf11f6af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.64-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b82c2d97fab32228675383ee219085708281f75f7b80ce845bf4a54556c62dbd
MD5 7b3a5ff5e8b3c647970ee0b2edf89adc
BLAKE2b-256 22b9f9c73cd1195397d6a6a9e84645825a3020bb3d83f95812044c1b8373247f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.64-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 343820bacf2176bd9303fe2e3a0731d32fabd6aa6ff687e3fe4af51ac5223351
MD5 9497e70193ad0a7c46cde2914ba1ced0
BLAKE2b-256 1bea739cb2fbae9d378b0670dc4a2a1a2cd6d5c8f69c5b67da074cf13a4ac9bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.64-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 914ce41453d85e9a3b9eac9497e52ec36b025011c66fee91e8c69cdf2e33b0d1
MD5 6e85cd667c3041600e1901d14781e338
BLAKE2b-256 02e5bed70b5b41a1524002cd57cbb3ba0f1e245e60c18b80f056e1beecff2535

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.64-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 81c6894b0a463a9aec006f41f4a643a3cbffc82930929060d326ae40f0854183
MD5 d6801fb75ee472d16815ee6b6aa3ca71
BLAKE2b-256 16e195e5d2437737295e18e9df75710da3f820e49e641a43f2d657cc919c0fd8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.64-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 876009eb9698bfc998f13baa6ad8b68c5f88f9e76bc37d8a9991a703ad3eb3aa
MD5 728a5a5d0eff008540011e96da3920bc
BLAKE2b-256 401e17b396aa5259e12aa540d7928af5a87caa3c5c88098d05bb6d8b9eca4d0f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.64-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f452ae83704c65c1ddc61bddf56f35d575fedfecfc335a2d6c17ed1fbd5cf021
MD5 ef64d3074cf103f7510c8eb5d4a01fe5
BLAKE2b-256 00f779c20f8fb0147c9ba54d9053afa932500582c734b4a49319058f2ae0694d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.64-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 7232253f7cb69e18a44ca8aa4ae605e412bd5e35cb67b8ef6302f214dc412394
MD5 9e2f81dbdbab7c2c307512a5989d6c7e
BLAKE2b-256 901c8d32aa01fab32d541be090bbf2d02fda6b66fff3fa1d2fbd3ea3408ed78b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.64-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ad8fd4797aa80b4fa94ab41906c54b5886a02df0f9f48d8939215da5f37516f7
MD5 6ab6bf846e8602938b2d5bc0143d56d8
BLAKE2b-256 27abef1c74ec87db28a933cba9b50fdd4ec8614ff859779c1ebc3d5b5d84655c

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