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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.12 macOS 14.0+ ARM64

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

Uploaded CPython 3.11 macOS 14.0+ ARM64

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

Uploaded CPython 3.10 macOS 14.0+ ARM64

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

Uploaded CPython 3.9 macOS 14.0+ ARM64

passagemath_topcom-10.4.61-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.61.tar.gz.

File metadata

  • Download URL: passagemath_topcom-10.4.61.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.61.tar.gz
Algorithm Hash digest
SHA256 3ac513c356278789ad39cbcd82065a7bd6c4b0ba3589e6fbc7e795f8535b2b3b
MD5 4f585a2dd4f73babe970dd2833ef2eb8
BLAKE2b-256 b6e9f45315f2fb0b72703c9e925f91f9c2b5b0c412e29a0ab5fcae5161897695

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.61-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 87f8f60a95c5a0925ef47cf1e365088be93429c2f78e5af77ee9d171a36414da
MD5 b3284614ceabdbb0a46638097ec09963
BLAKE2b-256 1965ce97d36f8789cd58d7808289b64a9a7e857c65c7203b6c0ff2362aa381ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.61-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 822cd7087d821f193bc0cf0113a1d67ea3287724bbf3a032c34e847fe5ec963e
MD5 9f217d556572641c44602e9ee2498d4b
BLAKE2b-256 f4b00f863ce6611d919803884e44405e73ae56d1728e26389b5e7e89b689e918

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.61-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 54e1dc82f4c061b143bc038e5642163fa334147497e12c2cb2f6c07f642e2d72
MD5 93ab08a1d1ed04a1fc30707e528202ab
BLAKE2b-256 0dd5615c26f1ac24389effa94d6a267b20243934f44fe6c512507bd78ded86a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.61-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7ba3ff5ad2007f94fc009b12f98cf5e11e4f77e9479dc6de8791eee45a676529
MD5 b020ec1b0656bf08cff7c72b671e479c
BLAKE2b-256 4ac9f587e947c33ab6c3cdc0bf550320d5565c7dd78ca642b5820154a049f3e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.61-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 cdbf2d08fceffe11d9b781f82bab9625de28fb2c54694dff609f866f998b1f77
MD5 e3c178ec250484cee66ea0bdc50d9f75
BLAKE2b-256 9a213d41f5c8180d8cbad2939fe6771293a76fa885e3f86e496e827f8ec6cbcd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.61-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5e821e194d7cb5dd0fe8f2b65abe4376160f2ee08c82345673daebfe1d3963cd
MD5 d3373ef71a450e092b9fb624de140113
BLAKE2b-256 4d8a87d643a5d56e81bd85f6bb3deae7e60942daec59301f545f9c49d57f335a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.61-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3adea6d6533ef6cb767d14e190f015ceb88cdadf9b4147e6e2e387ca93867f56
MD5 6d7150e595b2d5c7b00fd0496db17236
BLAKE2b-256 ce589a43904f9bd90aa08556ebabfa9398da865d490c7c7fffc1b6f68b9eb681

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.61-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 13030c190aabee74873138bd1523d1c777c30bf6b1f2509839ba8a5efedd5080
MD5 62a1a91417de1ab726349f5129847cf5
BLAKE2b-256 d1933e671b36ada978aa9ee4c618e629755d8baa3586e6ba97541e3774b77811

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.61-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5f0c3aff28d83e084cc0fba8a4957b70d18bc5392c2782272a0ed7151748b12d
MD5 e28c3e85bfeeaf2f2962310f17e478c1
BLAKE2b-256 f3af536caf3c878e7c284f13b96b8175d8f750fc354c31eb4ba325c236f1e058

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.61-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 46092cc46f4fba9d26789dc01fc315b7414529ed58e67b573587781d54e095a1
MD5 185ca005917c3d7b3ebd83d504ff9b64
BLAKE2b-256 90fa919c7c1741b639e8902a2acb33abffe9b00f9d25a1ed2278b8c20d9d9f00

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.61-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d04f08875358acf003bee81482c942936a6c372c384aed2e76f58dc41a86a4b5
MD5 fb0020534389b6f5a248b90f471c15c0
BLAKE2b-256 31cb99a90f1307a165d8098e95bafaa6701d677b1d423e1ea1c91583ce810f84

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.61-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c00069c901d473b6c7fdf872c0ae2e78f0518f7f308cca3aa614c25a4dd8bfe8
MD5 acf33b3da6ff8be4f47965bd4ef2c18e
BLAKE2b-256 c1d930072826f025a411973d1dff59ba97739e5f70fd5d299bcd843ab5304064

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