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

Uploaded Source

Built Distributions

passagemath_topcom-10.4.60-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.60-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (30.6 kB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

passagemath_topcom-10.4.60-cp312-cp312-macosx_14_0_arm64.whl (14.7 MB view details)

Uploaded CPython 3.12 macOS 14.0+ ARM64

passagemath_topcom-10.4.60-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.60-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.60-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (30.4 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

passagemath_topcom-10.4.60-cp311-cp311-macosx_14_0_arm64.whl (14.7 MB view details)

Uploaded CPython 3.11 macOS 14.0+ ARM64

passagemath_topcom-10.4.60-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.60-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.60-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (29.5 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

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

Uploaded CPython 3.10 macOS 14.0+ ARM64

passagemath_topcom-10.4.60-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.60-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.60-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (29.4 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

passagemath_topcom-10.4.60-cp39-cp39-macosx_14_0_arm64.whl (14.7 MB view details)

Uploaded CPython 3.9 macOS 14.0+ ARM64

passagemath_topcom-10.4.60-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.60.tar.gz.

File metadata

  • Download URL: passagemath_topcom-10.4.60.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.60.tar.gz
Algorithm Hash digest
SHA256 71dd093036d986428beaf69e33da847015710a4613a769b1fcb3a725ce2288ed
MD5 4c72fd5a07dbedd969559cd21cece879
BLAKE2b-256 1276743c3b621420a91ee89d832b463f436c0be57c7006555d8cf9cd47efda66

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.60-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1d4b2098e146ff9590a92dd325b858ea8ebdabe20c4b09f719a2f708dd416e4c
MD5 0531fec8c466082563710260025180f3
BLAKE2b-256 8a86051d55ee835409550a77aa71878abe205d3ad3de31a41a746737b9dd8614

See more details on using hashes here.

File details

Details for the file passagemath_topcom-10.4.60-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_topcom-10.4.60-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0dedf2df0785095f1b914d3f6bbb1f1e3b6d1b9d3696def4e6260a5a2a7a2b16
MD5 d618b70ded23d30ae248b1521046b09b
BLAKE2b-256 5dfb4277da63a5607ccb1c6042738dbc07b0ca9f65d1d56f6041728c92c55b13

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.60-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d0399f5807efb9299d9ecd6c05d5c670d424b779e06d1f57ecfe41a6f2aaa366
MD5 b3bd9a0c8387fb8d9b6be0f33ad34bfa
BLAKE2b-256 1a6c3a7be419b8c8f43403b25bd56e1d55f9948c1f152611c37ceb42d13bda5f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.60-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9eb290b2da07c74f46db02c0d872db269b7606bf02065ac7dcb10d33e9e6bb29
MD5 5f8ecf829f1e5a37fe1729e3d31c3541
BLAKE2b-256 d60cc3bed7837779adf90e03d23cee040258e83b45c596cfc0de7c56b79ac7a3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.60-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d99f8aecb3aac3903cb6e225620e17fa071e5172578a4ae801f5f5b8b971fc45
MD5 d60090a4a0b5177498cb0628c3a23bd0
BLAKE2b-256 6a0751cb9d54e982c691aed0b0efbfcc555efe7aa952b4e5e4210a8ed54e8d6b

See more details on using hashes here.

File details

Details for the file passagemath_topcom-10.4.60-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_topcom-10.4.60-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1f8f03731b4d60c0521e7d5e805d88ff4f898d520974155fd2e1a3fdb5bba8c9
MD5 19e22f1c100bf76885e064c360da5df0
BLAKE2b-256 5b0bb8f68a5ea891e3a7c78817876738132ac31cca4ca6ef5297f74a5f0752ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.60-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 3a2baca0ac227bab0aa70339c48fe306d4758cea3a36106bf8f9493c3588d46b
MD5 470a419ddb61ba38ef550240cda962f5
BLAKE2b-256 646f69b1d6827c449dbd091fb3fc297835717a5ea65595ea8e84c3ae1293b8c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.60-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b361cdbe8b2ddd1276666629cfc5353a29b0ad2ad96c1d80165c716bfc1c292f
MD5 d34b107be35d07cce07f36e4208f0808
BLAKE2b-256 166738846734737c9d351f38a1ebe9f62d436e3958f7f39cf787d4bc6c4c2790

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.60-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9657dc25223bb5a73263c2a6936c39a73cccaedd1a5941b4b79c9707980471f1
MD5 e1b55d79f31ff896abaa96608d6b7802
BLAKE2b-256 963deb57a3b29ce99095dd7de0461863101b8802054d0e35b421ea98313e4012

See more details on using hashes here.

File details

Details for the file passagemath_topcom-10.4.60-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_topcom-10.4.60-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b797363683fee7e87e200094a65360ee30093f5caafe6ff566d33e38d1c1fec6
MD5 b2caec1e5b2bc3ccff235e8834906f45
BLAKE2b-256 5db5c399ce902ed5cd17d171b14b68e406e038dc2b35a1dfc884646849fc89be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.60-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 69509a0459e50d6788e9d27e81691a7290f4bbe42d876332a6f1e03d92e39341
MD5 22454fe7b1ffb995566f1cb50bcc8bc9
BLAKE2b-256 ed1190a21affbdab1fab11294dccc80490d31279da3114ae97ea3a13c9f528a7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.60-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 273a984bfae0bd2e74980d0a32888411cc711109fa29920e9817835ceddb3624
MD5 50ff56297e6f4ae40e51b8a359b67dc0
BLAKE2b-256 b3545ef870ee3ed28c6d362332da7873f9adb0cac48dde875336f629d5377d98

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.60-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f5402ad0c84f7da2fb9c7badac58f77ec74d304537ed730ef7285bee6377c4ce
MD5 203c0e95aee173de1511d0d69764d9fa
BLAKE2b-256 2ea09a5edd41602d969a69a651b1d4838bee11b98a8eb290da4aedc71afb3096

See more details on using hashes here.

File details

Details for the file passagemath_topcom-10.4.60-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_topcom-10.4.60-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7a1cf3183775e416894431d06db1e526cf7b8dc158f0ea649270805cf81952ef
MD5 9c9130fe2ce9f0f3434d28a63948a1b4
BLAKE2b-256 cdd8743e1250ac27afd6bc8c4161f6f52a801f122802db41b188f9c4d9568afd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.60-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 25706c630214ae50a037030adbecc057c90b75ae1d3882f508922bcfdcaa9674
MD5 213c2d0ecfa39e8088d617febfa85d36
BLAKE2b-256 d6812c0efdfd62180e9d7a5349dd90cc795d24e360d4fd75564b73b53c244987

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.60-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6d44158a8fc329b387f2ff6fff1e22c293e5611ebea89a43cd8306b5adec6172
MD5 97b6511e1816fd777d00efbc0db57c8e
BLAKE2b-256 5b344532b8bb9da08cbe799f7af532f42bb6ebe84a9d7f69fa0e99af55b7665f

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