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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.12 macOS 14.0+ ARM64

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

Uploaded CPython 3.11 macOS 14.0+ ARM64

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

Uploaded CPython 3.10 macOS 14.0+ ARM64

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

Uploaded CPython 3.9 macOS 14.0+ ARM64

passagemath_palp-10.4.63-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.63.tar.gz.

File metadata

  • Download URL: passagemath_palp-10.4.63.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.63.tar.gz
Algorithm Hash digest
SHA256 76b7c13090dc1406b9744407d724b03679b57839cdaa0fea23fd8fa5cd7f123b
MD5 9821df04a7777118fa312a18f6226c6f
BLAKE2b-256 44c571f8c0b9eb95858d4adb46c9d1409df11c630eb079577936d618aea9b8c0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.63-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 760580b8ca9233ab88d612e2fbcf0837f76cdf6ac7105c1268e18b134e780556
MD5 0828d9a100a6d39e3788051e7404c1b6
BLAKE2b-256 ac83e08f25aacd335bb51f2293e00792de6fab6b1aed32649fb1e3a34c92848e

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.4.63-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.63-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2b5ee5757ea2438453ee0c22b6cff693a990d606700f27e001b569d391dfb81e
MD5 90d55347ab8d806621068b6c0eb10a90
BLAKE2b-256 4061c5092fa0017c4f1c0c83aa30996577b4e7438d83073394e84e6a504e6a83

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.63-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 57853c604844c4a41817a878452c46f74d2785e89a0ca021e05a5653d5a99119
MD5 4d2cc548b05f23f4da442612b2b8f40d
BLAKE2b-256 a2551dbf3f001b869f7eebcb218dfd7ae4e42b20640cd438eeae84d788b8cf65

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.63-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9d5a4328d768594ca83f0b48dbf1fe98afd7b3fdc93d225951ff415968647ac9
MD5 b3c869fe82cff21ea0711416fbf825a3
BLAKE2b-256 f6e6280a047a61b5cfd0e912b74c19823769f3d794194379091b1dfe7a2c351d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.63-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8df49ead88b8ae2b97a973a29b29ce85bb82d769a264b0a67622f4cc009265cf
MD5 f0b520a29724702b8812f0a410fcb1ec
BLAKE2b-256 3aee4b15b13223c3de51abbb33846016de1140f17f3a7409fb08479d5c72829c

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.4.63-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.63-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3d47f9ac2668135b931cced2976adb77ef20969a8dc4eaa523059c1f0fbe614d
MD5 c896f0edacee50094dcaa4d4d973cf06
BLAKE2b-256 7e8f7daafab19e35e94395eaf4df5d4bdddd98c4cc70ca12adb6ef2ddce5c49e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.63-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 fd8c5c6909117dfa9739d17340ae49c12c10cc4b98146042ad23d0b5e338ea08
MD5 4e071595df134817602593ece8efa28b
BLAKE2b-256 50022baa4e850cb123a08ef610c69787fe6f64e173ba271f207d42e308d095fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.63-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c35c23e5f5dae3fc28b78356db6b31eb92679b442c45951e6a8467b46c52d594
MD5 52e0c2d00b029cb61f6a8a842d61b0c9
BLAKE2b-256 48e0be4f51cb35ef1cb61cbe2cedb126841829ba576c01b89887220c4072d7be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.63-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 566d22674460aa750344d0b450e11fca89bbc8994f2b0875acee509517fbfaa8
MD5 0af14b29f24a229590dc8e0012a23254
BLAKE2b-256 bceeb3b4eaa31558bd45fa01368fe2ef5017543969f9d576aefd00c5d53ce776

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.4.63-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.63-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 87b9d3e046f73838ee4b0fbf125c359d4303008a42caf713680f1beb4391c633
MD5 f779655312cacf104dc04c8817517692
BLAKE2b-256 4255102397a1ed94026ccfc79513c9531283a2e59fc094d96f705660ba754db3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.63-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 27de508191e2d9cec64f80341e3ac265778d7d7ea3769174aba417482f9ac557
MD5 85c7f990b8f26c0f381188d85c8130ad
BLAKE2b-256 d654a5e7784558c1902c2c544c0c6aa54f21cff2c0b0f2b12016940cb7faea0d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.63-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 aa9c42fc546f5ba71b2eda3209074d0c9c70aa24e0032bf238790e292b411d8c
MD5 2fe6292388f02becc224c99d9e63c47f
BLAKE2b-256 db3a3435450d25a11c0c923b7af1eeb55cc0ffe5658b8bcabb97000e1b25b599

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.63-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 72473e8e0e7556cb6e6d155a58fb0dc8b0e953ad63a185db421f094f498a2d7c
MD5 7f50fdfd703b2ba53ccac5f2147eaa90
BLAKE2b-256 468eb9555e1927c81639feaf944e6948b8a6ec3b1c0324aceadf26e69cead73d

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.4.63-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.63-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 df690dbb5fea01e7955c4d7b1ae70894bc61f88d1a97466bd14e1ac8adee943b
MD5 7eb2e21a5f5cda0cd094a3772c796060
BLAKE2b-256 269032fbac2351925a82de7703ecae2669f4adeb411f3c239882638e1e9ba14a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.63-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f2b20e8e216536a6b7b662ccd1bdf03eaf8fb09c923585afc20b5c29dde46582
MD5 6045bf6cd37aa79a06de853090c4200b
BLAKE2b-256 a9829f3833c44562a26c36f34a95209a4f8da60f8517a10f40b66cce4128d568

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.63-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e9b16069a0636b6f21710a05bf7cae5e7c703d5700232e672955dc8f3ce97d17
MD5 dfafe55e5e8da81a24ef3bc16d1adf2f
BLAKE2b-256 1ffe2709289ec713ecd45b1d9d75f92a8d46cb68cf45a355995c098b14878542

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