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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.12 macOS 14.0+ ARM64

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

Uploaded CPython 3.11 macOS 14.0+ ARM64

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

Uploaded CPython 3.10 macOS 14.0+ ARM64

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

Uploaded CPython 3.9 macOS 14.0+ ARM64

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

File metadata

  • Download URL: passagemath_palp-10.4.62.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.62.tar.gz
Algorithm Hash digest
SHA256 bdad8c82eecbe7f15f5534a77513ac534b95a69d00f96e94a243882cd48d9852
MD5 685fd4ed4507dbd01ffa93198721d75a
BLAKE2b-256 91f40657a4506166fa57ca6b39b3a883403f30fd4b69c73312fc8fe4c3091647

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.62-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 fbc31df2d2131e11e15af45cbbcae83a934ebb2a57f56d2ab87e355d386528e1
MD5 679aa4ed8732967d62ca67e7b46d1128
BLAKE2b-256 27fddd1fb652e73c0228a99e2e85538eed59d11777b375f77b5ae9adb1fc5da7

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.4.62-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.62-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ac3abd067ca89ea344a5aabe36749fcb757c399aa0931f7fa14f7a4b3d447972
MD5 73d5948661cfb9d117d8b710de27703c
BLAKE2b-256 7af86e62eac8fc58714a1e453a0c07d3fade9d2ac23a91e2b153df5074b2e280

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.62-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b41e5750a00848a89058e09e3d2f67369e73383af2770efec7034072d2abeb3f
MD5 04840d85b225cc75e0d57ad710df20b0
BLAKE2b-256 101d7995f6fee354393c089de226844ad822aa79c770db65cc2e5880d6bf92f5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.62-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 80df13b42e26a10313717bd8ed19a7c2f9474c50df9e81df9607f6fbacf96eee
MD5 46f3ac2ce2947305d999a175354e840c
BLAKE2b-256 0a8cc15fd0a1b2df1e2e69f52ffa8a72dd14bf0241e7ccfb2d1bc576d78065cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.62-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 685c1a362e18a9659e42e72347e83ed081192a531f4b80a1fcf07cc8e0543165
MD5 7cd2b4ee11cade51660899d40977dbd1
BLAKE2b-256 43ba4e0ca97a5511aaf28ba8a7a31339b9eb4ddd63ab910a49778eddd32a8b5d

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.4.62-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.62-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 aad68013c3b5b445130eeb7ff80588cdb430a48f072a5d45403bcc87b1727338
MD5 c433d3ec2a2648ef36081662f509a8f6
BLAKE2b-256 baacc6ef82d255992765073cc78ac0030904e7aed41a70289411fda9adbafd1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.62-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c6e317ea46709e5b5e03c68329ac4b7cac0b5f275ee394240477e74c58309306
MD5 8ba0a0086808feda9952fce5ffbad42c
BLAKE2b-256 1a6f4af981601f93398b4bb639f1c5e03f1a082f241742b4482e3f3cef2b7388

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.62-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ddb6b7eb3938934052338c3a31593374b4e0c4be93495a4cacba6269d48a09a9
MD5 a902f03035747bf0f634e92a76e03170
BLAKE2b-256 628bd86ff3d35b5bad21e6cd16242eeeb5a01f24b3da4ed3e78f17e97b840df4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.62-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0ec056eda51d02f90b25e301c1bdccf81409ebdb083a307008185639b1b0226d
MD5 97647e506afc71ba1c814fcfd6d8aaf8
BLAKE2b-256 199b2aa4001eddd5e223681e2d24470e0088799651a4e18413ed30290f95f330

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.4.62-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.62-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 92741d8ea3f3b024fce700fe90de1786f044edde6e42e2afcaa0c7917a2b49e1
MD5 f1c5bfc66d015944cb84796fbaca4789
BLAKE2b-256 5d136dfed9dd6e7d931252f586ac1212d4b5ad45275fc19dabe68a18f0b3457a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.62-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 e6480fb3e6c4cb42ec13d9c0bb71dd8868d895771f28109bb93068d531d842c6
MD5 747377a2f694773fcf04adcf53a46e09
BLAKE2b-256 f4ec0c6c09edfa9cafd400d2a7e761c6d502bccb754672ffda6efa643f53a837

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.62-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2362b58d13602b999dc082694e9ada9176f9c31b4df414985fc2bfb206b795e2
MD5 6e14c5734fce444e8404ba71a61f2fd6
BLAKE2b-256 c0b91e87ad92d93a7a3764e8ee1c54d328cb0a19bdbd4c54487b34f3d995a3ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.62-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 254f8c1572f5e925ab907b5900d21a19e6104501911e86bed5ea32d35391b962
MD5 944e75a20c58073aa9a93f5eca875c80
BLAKE2b-256 c631d3f33ec98dbc24f9a19102f30e5113721ab77ee0341354a79a63cda7932c

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.4.62-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.62-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 dfc463872dfacf8d6f2b9e9c445271bfc9cfc8f33c6610ae00c8a65b1e4c7c66
MD5 2fb5605a284d243f7c33243300974003
BLAKE2b-256 909b207f846aa7059390d553f87e96cac3444921f057f6839714e283c89e032a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.62-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 57e170714a4f6902e90165fc8a32b589fc163cbf2e7869666aa85735f933547b
MD5 dea31ed6dc729956d88d35355ac92bf5
BLAKE2b-256 5bbddf0337c8f103506b1f182bfdb6cf4e6c1acd7c18ac8a3a2273e4bb204469

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.62-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 871caaf73421c759bcf9e40081fb44f5fea576cb2800211688d384383cbb8b0f
MD5 3962ce30eeda7c44778529036bbab28f
BLAKE2b-256 c54d9004394aa767c70d113c81aeb4431f013f8b9fb1f7adec66981764b23e2a

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