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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.12 macOS 14.0+ ARM64

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

Uploaded CPython 3.11 macOS 14.0+ ARM64

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

Uploaded CPython 3.10 macOS 14.0+ ARM64

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

Uploaded CPython 3.9 macOS 14.0+ ARM64

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

File metadata

  • Download URL: passagemath_palp-10.4.64.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_palp-10.4.64.tar.gz
Algorithm Hash digest
SHA256 67ba3b85c29a2ca0fd2d9aff8c024143044a556f2bdf066d305319f7fb2c9224
MD5 b0be1b5660558e55cbeca8ced411dca1
BLAKE2b-256 20c3bfd7efbef344c9ff0026c13a39b5b8a16768700e818e6bf5bd8acb1ecf87

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.64-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 479588b12d500429043e44b7488f8c5c319ff3b13f23cce3ef9c6b56970556d5
MD5 c2ab4149d79b75df94aa7056a0609982
BLAKE2b-256 c4cbc0d6a90754f8fcfdf2e444b1dc758667c0752e81f672880ba391932404be

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.4.64-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.64-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 dfd233570c00506f262bd6fe2a80c01a8fa2ee7e7c10a11b4bcf80d5745af139
MD5 c2f361a28b449ca869e8549ff44ec838
BLAKE2b-256 74814711f7806fe4614b0a75f577bf9327a0f06f5dc98282c374e3b36447bf55

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.64-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 6dfed2964eb0ee59b2240321b7ab7a647601f18124c1824a3373106a66421c74
MD5 04ec3351164b3bbdeeb9943494a23163
BLAKE2b-256 c192f9d58406fde93f3a40731a5c23b9e223ce977ea7c03a9f83a4835dc55cea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.64-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 355e33794f358fa985fdf84150f33ca766fbbb19daa1f4e939a954b54d8236e7
MD5 73c4cf3c3b437dfa1ae6fc5e5141a617
BLAKE2b-256 016e38519bd6f1d7d8bb471d202eb629e8400b773e0f762b8397aa8de25aa780

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.64-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1b5cc9da63b5d9305f3dfd4e2f0685f8f929a45d4c1eab1b0309d6d17c8f80c8
MD5 765b1101611c33876cbe78eac3136910
BLAKE2b-256 f7b08bb86c01efb4f3779b1778c14229932b7a0d1aef50ee8d284a45a216be29

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.4.64-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.64-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 48d062ff89b7ec5651ee83f3982ee8215d15965f2865fe4f6e7177f8314179cb
MD5 b394e505bcc21a8c6136d06d6833bfc9
BLAKE2b-256 836eb0ec230efdf2d3ecf178f46795d721b1ee4bdb9dd195836f6726847ccec7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.64-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 7dc274dabc1ad00d918d82afa7ef3d18f9716470a81769acc7cd09088a929b8d
MD5 f2a9298ee35d9b3395e9af3e5db6395a
BLAKE2b-256 b73fa379e7a9ede8400197b3b15bc52977c5eee90bcb330920d0c64b0746c546

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.64-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b9809187ded23dde7b18987b85df9dca4d5959eec09b96c3b60d5d288e50b60c
MD5 c3d5e811385ed79674015809994242e9
BLAKE2b-256 19a46d6987fac44d74e41a9b0112dd9f55a943a7897dbddb1b29d20d3332fd8b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.64-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0ccaf772073e761602f08e5afd55f2198c32d9d4fa7112b90348f99fc993256f
MD5 611ea7964f10eed2a169e0edbdb64e1f
BLAKE2b-256 c559cef45a413ecdd9e3ebef9e5814d4550e3418e099f74035fcbf2293526bb3

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.4.64-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.64-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 acf1c5b97794eeccb27548038f9a8b9b507de159558e992aeffd99ce8751a788
MD5 fc643a39195caa810edd8890f90f913f
BLAKE2b-256 7afd8cf96f99c1de3204a96336cb0ad9418835907ef4584a9a98b3281c605677

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.64-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c0fcb3a4ce0cd4b6d8e14b8a67aa516072022bd940443c800fef12a7de15d5be
MD5 375190f6ddafc76358db69b6001e1ce2
BLAKE2b-256 0c9f571f4b2329e05fcf276d7a2cc6b7357d6c176f97f30af64bebd9a728aa60

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.64-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3fb741d1cf5dc2333d7709cc439f322372c0dcd4a0d940c6ab1a7d850f2091d9
MD5 8bb7b4106d8c926012d648a9b2371258
BLAKE2b-256 16651e4470de18122c34a79554879e525046af2121f4232cb1fd66dfd052a301

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.64-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 32faf804d384e89eaa4dc7522c3e68d916f637dcc7954e3d427d2bcca1212a28
MD5 65c09854067f8409a77dd6085f3544e6
BLAKE2b-256 db0bddcce06dd6fc7ffb42a5743741a82dccbec701a65243e185bed527b22fc6

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.4.64-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.64-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9cb5278da757a32b21b1a0aa2f06efd34988ee0038e4525028ec44429206a709
MD5 d240cb28c62a63e608e8c1755e3d8934
BLAKE2b-256 6da4b700e05a2e5d0f644b7f9f9a2c6d9d7d5912d5c931c6c354cd0cabbe6436

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.64-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 469bf22c96fd1e8a8b379a3711fad75a20c91afab97ae2e823ffe010772b8aae
MD5 377c552f21489c590f8c45be2f5bf218
BLAKE2b-256 b52211b5ae0227fe2b3b15736c41b3694a4ae42055382ec40b153f1ac055941c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.64-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8659bfab718fb350194f4005cb71a4c1a453394b757ae75e2f6ea9367e67426f
MD5 7f496b3583126a89417488b90d6042de
BLAKE2b-256 f7d6634bcb5fb2ce3feabdc3c5c09c462155fcfeb187fddf24ee93abfd01d3b5

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