Skip to main content

passagemath: Lattice polytopes and applications to toric geometry with PALP

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 source distribution passagemath-palp provides an interface to the Package for Analyzing Lattice Polytopes <http://hep.itp.tuwien.ac.at/~kreuzer/CY/CYpalp.html> (PALP) by M. Kreuzer and H. Skarke, a set of C programs for calculations with lattice polytopes and applications to toric geometry.

What is included

  • The binary wheels published on PyPI include a prebuilt copy of PALP.

Examples

Using PALP programs on the command line:

$ pipx run --pip-args="--prefer-binary" --spec "passagemath-palp" sage -sh -c 'echo "14 2 3 4 5" | class.x -f -po zbin'
0kR-0 0MB 0kIP 0kNF-0k 5_13 v8r8 f10r10 10b6 0s 0u 0n
14 2 3 4 5 R=152 +0sl hit=0 IP=276 NF=179 (0)
Writing zbin: 152+0sl 0m+0s 644b  u36 done: 0s

Finding the installation location of a PALP program:

$ pipx run --pip-args="--prefer-binary" --spec "passagemath-palp[test]" ipython

In [1]: from sage.features.palp import PalpExecutable

In [2]: PalpExecutable("poly", 5).absolute_filename()
Out[2]: '/Users/mkoeppe/.local/pipx/.cache/db3f5a0e2996f81/lib/python3.11/site-packages/sage_wheels/bin/poly-5d.x'

Use with sage.geometry:

$ pipx run --pip-args="--prefer-binary" --spec "passagemath-palp[test]" ipython

In [1]: from sage.all__sagemath_polyhedra import *

In [2]: square = lattice_polytope.cross_polytope(2).polar()

In [3]: square.points()
Out[3]:
N( 1,  1),
N( 1, -1),
N(-1, -1),
N(-1,  1),
N(-1,  0),
N( 0, -1),
N( 0,  0),
N( 0,  1),
N( 1,  0)
in 2-d lattice N

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_palp-10.4.61.tar.gz (3.9 kB view details)

Uploaded Source

Built Distributions

passagemath_palp-10.4.61-cp312-cp312-musllinux_1_2_x86_64.whl (30.3 kB view details)

Uploaded CPython 3.12 musllinux: musl 1.2+ x86-64

passagemath_palp-10.4.61-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.4 MB view details)

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

passagemath_palp-10.4.61-cp312-cp312-macosx_14_0_arm64.whl (4.9 MB view details)

Uploaded CPython 3.12 macOS 14.0+ ARM64

passagemath_palp-10.4.61-cp312-cp312-macosx_13_0_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.12 macOS 13.0+ x86-64

passagemath_palp-10.4.61-cp311-cp311-musllinux_1_2_x86_64.whl (30.3 kB view details)

Uploaded CPython 3.11 musllinux: musl 1.2+ x86-64

passagemath_palp-10.4.61-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.4 MB view details)

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

passagemath_palp-10.4.61-cp311-cp311-macosx_14_0_arm64.whl (4.9 MB view details)

Uploaded CPython 3.11 macOS 14.0+ ARM64

passagemath_palp-10.4.61-cp311-cp311-macosx_13_0_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.11 macOS 13.0+ x86-64

passagemath_palp-10.4.61-cp310-cp310-musllinux_1_2_x86_64.whl (29.4 kB view details)

Uploaded CPython 3.10 musllinux: musl 1.2+ x86-64

passagemath_palp-10.4.61-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.4 MB view details)

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

passagemath_palp-10.4.61-cp310-cp310-macosx_14_0_arm64.whl (4.9 MB view details)

Uploaded CPython 3.10 macOS 14.0+ ARM64

passagemath_palp-10.4.61-cp310-cp310-macosx_13_0_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.10 macOS 13.0+ x86-64

passagemath_palp-10.4.61-cp39-cp39-musllinux_1_2_x86_64.whl (29.2 kB view details)

Uploaded CPython 3.9 musllinux: musl 1.2+ x86-64

passagemath_palp-10.4.61-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.4 MB view details)

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

passagemath_palp-10.4.61-cp39-cp39-macosx_14_0_arm64.whl (4.9 MB view details)

Uploaded CPython 3.9 macOS 14.0+ ARM64

passagemath_palp-10.4.61-cp39-cp39-macosx_13_0_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.9 macOS 13.0+ x86-64

File details

Details for the file passagemath_palp-10.4.61.tar.gz.

File metadata

  • Download URL: passagemath_palp-10.4.61.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for passagemath_palp-10.4.61.tar.gz
Algorithm Hash digest
SHA256 4ce99f1d2d84321c18f78cb065faad60699e63a2a513a696a3317d48b410cb6f
MD5 93eb48a91c4c79ae03b94317782221f4
BLAKE2b-256 3b9529a4d16caea572ca48c2d1b861e8090edce2846fe39d7bc576c74af63a2e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.61-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c30edacc11124467c00c579106c4435d566dba0a7a740dd3bcef48a2b1e3776e
MD5 4b3b7adf0cf23a05b7a8c7cdb4a1623a
BLAKE2b-256 19b7ad49dbae729e9687219bcbfa54666c186d324f6f1fcd0b809cf1612343f7

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.4.61-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_palp-10.4.61-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 20297387bbed1edada7d49131468d2462c3c2ffa050885cda7241f1985660fb4
MD5 0f42d48dd28f55a15425c7041b2c1ded
BLAKE2b-256 910a8846262de6a75f88bda7d2ebbaaabcafdf349ad3fd85d00602584baa2545

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.61-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f897a3c5878bde57e457dbad5f1d5718b21d145841c1677c3641448b29b5527c
MD5 76879d5b959bb38a33327bde8897a973
BLAKE2b-256 38f18162233df222a64922611b7fdf918a9569bf9edb911647bf54d4eb9f6335

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.61-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7fdf65acfe83e8aacad2bcc64174b60943abd4ca6348df34f9ae26999851ddad
MD5 ba7b3bb327d7ea7df3c7aab0822195f2
BLAKE2b-256 cfd53539479466be1d66acb02b3491a5726a579a8e158d6a1225d0b7e1cb73de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.61-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f1b44370ab56a9ce960783e22d7da573930df6b0e731b0483aca4935c2c9741f
MD5 dd042ce8653474abe2720933d14a37f3
BLAKE2b-256 7f21a86da5dbda1cdd4ca16a20e58ae4e06272778bb6fef1e63482dd2746acce

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.4.61-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_palp-10.4.61-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3593f0771820d60cc2532246151591780e64d7b8ef1e0347f4c5c24e1c79f597
MD5 58252c56b2d5f3ecbea4c46bc1990000
BLAKE2b-256 fa32ce47aa66de9c01e9fb1807296fdd6e9470bec68458da9bbe604604f06594

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.61-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 1f70f446f216c0306b53591927af6645c695b0576ae8b77b31952c3c0466c1c3
MD5 3cd33f35da6ab86b52a783324e898aba
BLAKE2b-256 5be79ae73e483ef67ce404c7e8b58f2047de3be5adfba984caf813eedd67c0b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.61-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9534445b157569b68337a53d7d5d0fc8c13ab2821b0a272668872e304165ef29
MD5 bd999308ff79d68ac2a2ba2fe808ae38
BLAKE2b-256 eb5edb0cb7df82c1bc3be30a1e9bda877635f8224a8d8b200fd47673ac75de60

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.61-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a7cfe8c5153eeb1c45bd4afba43203c7caabf7d0c2df88466d69015b30568fe5
MD5 2289027dd9ee204f59f0a66f0bfeb987
BLAKE2b-256 42f590144b6a2503dbb18a9223f55d37849cb6319f3f279e3d742349a5174f03

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.4.61-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_palp-10.4.61-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c06acc8463ce0a1ad7b400d68259a3333dee923fd2bded8ebe3f79fff657437d
MD5 7948ac53112f604abea25ceffe0aaf10
BLAKE2b-256 2118ee00ddabc34b5182114eddb43fac77faf1278fa496c8b6236b7825bc82dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.61-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 61c2b6aae1a56d57d6ac2f9197f6ab6944731d9720e7f2936ba87881070581b8
MD5 738da4281566af045aa5d63c5b87a417
BLAKE2b-256 fcb4c94b922c4891fcc328255eeca46f3fa2d58e2bd83b5c6d8371b2add8d97b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.61-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9ba817a72f4fc4281fe6c362103c1ffdff3526050e6b8d27de188d4e21595d23
MD5 69c2353986c10b037efb156aac53a3c9
BLAKE2b-256 fb01c2e5fc352f14a89fa77003128ecded8b3071fb16cab8ad8af1bdb26d36d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.61-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a171cffa2d8fa72178391427e762837df5dc97c345ba7bcc5852a846a893df64
MD5 81061c7da8f1186812c382b08aac7ac8
BLAKE2b-256 d4c74e77527e013a63572c52ea500a196bafcbde1809dd25b87cffb7db67888e

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.4.61-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_palp-10.4.61-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 903d4c5661d060eae628e5e395b2a3e65737f78f055dd6fb1175f0887fc9ce93
MD5 39a5e779860462d896601f89db9d718e
BLAKE2b-256 c60f6ca291a33e11be56f4097bc97f38f75fa2a0c2ed901776ea555c5e171c73

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.61-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 83245f46470fcbd7ccb82a9e5944375e1ef191aaf398ffdbe4397d1cdcab89ef
MD5 94078cee5e84b35ceeca6c6802be2b0f
BLAKE2b-256 1bbfc90a27e04bd5517225b9b0893a608170981c4d9e4c5de81bf876dbbcb78b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.61-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 22212373c5f2777ec745fb39e7a029346e6abbd6b4ed54b6e855e6bf54953e62
MD5 f758b8d93e049de8899d3a6263731d84
BLAKE2b-256 36b7f0d487fd5abe5e5990379ca87fa6dde14d15e350399d139a51fa6e128c03

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