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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.12 macOS 14.0+ ARM64

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

Uploaded CPython 3.11 macOS 14.0+ ARM64

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

Uploaded CPython 3.10 macOS 14.0+ ARM64

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

Uploaded CPython 3.9 macOS 14.0+ ARM64

passagemath_palp-10.4.58-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.58.tar.gz.

File metadata

  • Download URL: passagemath_palp-10.4.58.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.58.tar.gz
Algorithm Hash digest
SHA256 41a45300a008e2a83bee139bccc8587aaddf61aed373d35889a2c3b466c72c11
MD5 dbd047a8fd07e958eee3fd1dd90b274c
BLAKE2b-256 772c3f59fa6b7d49380597947e50fdea019fe9acc992a1f2e5e9290dc4e0390f

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.4.58-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.58-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b80edacc44da984c33f1260b58b3c572a98c8041dd759b4755df888fcf80799d
MD5 36be05bb1e2fc52fd974e02654270995
BLAKE2b-256 edaf0566d36d429fe50e33ccba69690fffa9468daf10f56dcbd78596d39f473c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.58-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 a5ac008bf05f6a4914a9973745da0a66b328e34b71a98c9946e46a2fceb68962
MD5 22223a5cdc29e5f47b7b4ea03e1cb1c6
BLAKE2b-256 678b3e9cc083d84cc41274b70b797e3f0c9a84d55f545f764f385cd9848a3175

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.58-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 be21b25609d24b056378d8df104cd7b66aa371b475cddfa2928c3cb3a820401f
MD5 c192bd51ff3157d267718d597db8e987
BLAKE2b-256 ad8cb36b2e1ebd26df5bc1496ecf64e3dbaa03fe3b5ee913d9a073e72e26a61a

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.4.58-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.58-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f53985745fb023d381506bf3d91efa44020b854f61d3536b599d9ab1c21b013e
MD5 fc72c6ed01c56ffafb889c1276dccdac
BLAKE2b-256 358ece33e264df5f1addc4f5635bf5d2c867c3238a45065bd2dc7c3e40b44355

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.58-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 58790658dbf0460ecca4cc6f61492d921dfd7419b5a45d3ab00088ba75076313
MD5 0391ec8c8f84fbfd37aa7e11d31094f6
BLAKE2b-256 69f0dc622df2b8adc22986a178810f91ddcbaa29d933c068d1e84fe8b7e78d34

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.58-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 cb935b29c9f3fee5a82fb04c29f628973b29934d9ea902e99654292b76ca5147
MD5 13ee41b725c798bf8f61ff7df5c31b77
BLAKE2b-256 4d379058298d0d1adfc8bdf15371993518e23de5faff1e22ba10f2c56d40312e

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.4.58-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.58-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 431f861b59442683652db39cf59a2aa81d2a5a8a26d79c84b8e60ff895c9eba6
MD5 cac9766b60c1ef42c7999fbb37c99d15
BLAKE2b-256 88e543c3ead86b9bd529d26ab9288c5ed7ac18217b18e69f1e04cf30ad44ecac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.58-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 7ead42492196545926c76efe678fd7eec42f8a58c793f65567a0aa45ba895925
MD5 301840ae460eb715e582e4badf5dd18d
BLAKE2b-256 6f6fc3a7f1731eedeac6691321fa751c3f57e740307f43762fe451c382670b7a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.58-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 07afc4fc89aaac8ac23dd9a221ae9dbe7fe8606f92f1546fc53c7df2ccbc8002
MD5 32045eef5f2caad221f0150dc5598c98
BLAKE2b-256 75245680dbab9adbb1467a1405dd1e48ab1eff4ba53cdaecb417403ff864863a

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.4.58-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.58-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d60f88db71755b846f36f7e832e530e5272ce725cff4a2401a9c01e51ff246bb
MD5 42f8f18f54eb6f7f6c6bab2e02e7ab00
BLAKE2b-256 d025f70359c7a97e28ce3301576eb35da52f1f6e5d4d054648342403373cc98a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.58-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 ca64cdb959d9ef55056833ad99f1a55b77f5c1739e82ca8423d7c511e0d71010
MD5 0bd65350242ce0c96a3a6af233633d3f
BLAKE2b-256 4735c94651619165da4abb6fd829fb6b64365c53dc77bdab37d2485d5919272f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.58-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b49e0762f763388b5a28f05509c400335dc188fbe20daddfb9efa890ab58489a
MD5 b9eaf04829b154e9f656c52eeed01d8f
BLAKE2b-256 998f13f9a7245c3eafdb2b29b960a5eb01afe48ee0c13ac843dae46cc65ac514

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