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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.12 macOS 14.0+ ARM64

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

Uploaded CPython 3.11 macOS 14.0+ ARM64

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

Uploaded CPython 3.10 macOS 14.0+ ARM64

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

Uploaded CPython 3.9 macOS 14.0+ ARM64

passagemath_topcom-10.4.62-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.62.tar.gz.

File metadata

  • Download URL: passagemath_topcom-10.4.62.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.62.tar.gz
Algorithm Hash digest
SHA256 194d74db1a8d83d9f481b5361510ad351a62ac7778c61f4c2ee64a7875bcb197
MD5 2f50249074f51a8dead3c269344c2f24
BLAKE2b-256 e44a7ea6ea0d5a59a729c00b03939178dc3712964b853fc3fe76a277553de084

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.62-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7098f8aa0ecb6adfd1c559c808ecc79e3342c09f8cce6183a4963833523b83e0
MD5 16ff622a215c002e38403d920916d48c
BLAKE2b-256 e169adf3788e63c83a3432f77c064a1850b90701017b57e0828b3e5c7f171a02

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.62-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 755d33d8c54ed14a0252cb21694adcb6694c7bd5d1bcc528448e74f51a81abcd
MD5 12158a966a72e8858031be16ea24490d
BLAKE2b-256 0e68138377b0ee20648f8643ee40d370e86ad20c7242e8c73e5538bf571e33fc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.62-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b73e6b72c4865d03a6880632685899d641b66be5119be1e04a999467b1e9fd85
MD5 16ed426abcaf2b222c3c8eeceb04e95c
BLAKE2b-256 7870a69a163c767dfbc2c7d3b4016072cb330e655534c44fc27235abc68b8dfc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.62-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4dc0a433543c3b15280f52a4cb69cb3c47b5743efcc15a93cba077aa3dfee760
MD5 02949647e1100e6311455a3331b8b2f6
BLAKE2b-256 0e2125749bda00dc607f850cd14a1d5e4055cd0a96e015724723a986e780df73

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.62-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b8eeadb2fa331b14272b6244dd9cb08dce863ce664f261e9642528f5650f90a9
MD5 c14c4150bc6b87eabca3713ddf655243
BLAKE2b-256 d36d13e771420943eceabd5ca9105891b9ea08e8b990cb49321d2a82f370d0c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.62-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 89d3138a3a454119a5bada846e128b6d4de7e86731a4e8254b09e41f3f7c710f
MD5 dc5de4069dfda3b2120285486d3c47a3
BLAKE2b-256 d8cfe20a25165aa47db522cf7db77816da37cde0f69c9ad0c5179c92f694acd7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.62-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 dd58255f4947320e1b8652ae7cf71b2b21f44ce59445fce0a3607885ab2503aa
MD5 3047433079b4f47d351bb09c815359ba
BLAKE2b-256 8202e7181d4a23b9ac7b753ba96eed6c2976ba7f04b0a84c06cfaf931a794b92

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.62-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 3422a1de9bb3ea6fe01f2626ca9f318a8755d0674a9e14b1227860a568a07af2
MD5 8d0437006ece172b366a4d5d6f46bc26
BLAKE2b-256 890e7cc7ddc3452ecc9245e6fac5289dc13eaa5355722869c3311da380bb8256

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.62-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 46e2780aa304fecd53851dd83d74460ae9fffb31e72f7a1499c0ad1efef40f20
MD5 7e0e8015e7058f49f14babc62a5afb42
BLAKE2b-256 678b8ff63498bc4ea48517d94adc7b2fee741eb190321f3fdffc583dd1180362

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.62-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 51b33957670e3bfe75a234c4c35bfcf6d1629121baa78a65aaa6b22fe866b487
MD5 4495f1def96b44ee12354b1d30a97fa6
BLAKE2b-256 123819f25bc318573d5b190bf09e09ba4867bff9f7ea1dce88ebe3d1d024153a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.62-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 fd4deefd077f24d197562b171f7e2e7e8a3de657cfbe23bf104ccbfcea19c2cf
MD5 cefa0a404e220e3ad12ba96bda7c4ac0
BLAKE2b-256 31609ed1237799f04cafd171dabc01cedb7576280acb1fe0053c8c4f237b756e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_topcom-10.4.62-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b2acefa527eb079e75c36d821e24c3287cc19cead520d6fadadcb3004108db94
MD5 9a84ad42ba46272f34bc0a1a871492cb
BLAKE2b-256 36f6077143586d861243cc8f7f801f545304fece070556b080f6cf94caf3beca

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