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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.12 macOS 14.0+ ARM64

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

Uploaded CPython 3.11 macOS 14.0+ ARM64

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

Uploaded CPython 3.10 macOS 14.0+ ARM64

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

Uploaded CPython 3.9 macOS 14.0+ ARM64

passagemath_palp-10.4.60-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.60.tar.gz.

File metadata

  • Download URL: passagemath_palp-10.4.60.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.60.tar.gz
Algorithm Hash digest
SHA256 661c1d61875e4180bc0e6f826f9e859f84175fb14147713fd31e7b7943e3e3a0
MD5 8765e6b7b83b6497eb33efb5f4821a02
BLAKE2b-256 d48f627784c65b1d5b5da9f1bfc33ea265edfa2a56d2a28836abe0b03cd7a9c7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.60-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 355d6fb5c443445cd6d78679526b9c65941a8ff8d5e490da8add12446c0ecf7d
MD5 438dc77900624b7c4492a9e32afbec64
BLAKE2b-256 4e63f0b2ee368ac9bc17fd354bcf622b2be56d8287a3c12f69241785b902bace

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.4.60-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.60-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ce6ea050f56a6329867d44fa6159e7b4b84b48aab5a8f0be3903d3a5c336225c
MD5 8277ab5a050766499ab11d012606e3f3
BLAKE2b-256 70ccefe4b10768a90cb14715c45d58bcfaa3ecf3d9bfb8bc7847f1efe111de63

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.60-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b0f901064ead8e6c70cf297a193b0f90101c4a9b63008b91331540882c877985
MD5 8485f7eaa5a01d08ccf407799003afb4
BLAKE2b-256 305aaeb05d11af8ec8cceac6d97dddd7138169c8b068f50ab51d660fd7a61110

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.60-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f431692cecea32cd1ed93bbabac60508b1a94be24f012c4db913d895a0159a51
MD5 a7fc00c9f35dedde2b49edb0b9f916fa
BLAKE2b-256 b68071b44c5e4c966ae92a4b9ee800cd15bc9a902a509d75ef229792979e9f9b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.60-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6ef5af269190ff311a8fef8664cfae375c664f4aaa51aa44a79c6783d2da9e10
MD5 35e7cda5c92fdaf3f939fb90582c70b3
BLAKE2b-256 eb2e404d60c4b5e7b246bd0d778a3d01f09a1c8a7b2e8862f9c7c8d5636c25eb

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.4.60-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.60-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d25a2b93e322bc0a8fbdfce428f5428d1ca122ce6ad12f864e4e6125f6048e69
MD5 64c063a539c31443205144b1cc02f337
BLAKE2b-256 6442e515b0704c0447e5e7b2095dede9c0216dc350b6255558eecabce7483d0a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.60-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 aa8002523b55aa1c0580ac229b89262bf3f6ad4cb488802932566e7c43653fdb
MD5 56dfa32b4a40f4fb6eb01ed011a963af
BLAKE2b-256 d75364404295d1cac6ab674b102788f822562be0af3eb9aa3b9456c4364794c7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.60-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1af8921c01061e1795570d4d264e4503f47a89531c3198fe6dd1feec152058c2
MD5 3c64c9970ebab73afabd635c68c744c6
BLAKE2b-256 1a1f64fdd5db45f1fd53a4f798b80604520886013ee869c6e2eff7299373f3e0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.60-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c12a0577d3a0b12ebb635ad89f45b3b203213994e3a62369c3a16c432b9bdb4a
MD5 0dfa1fb9b5c5dcd27a9207cf4b02cf5b
BLAKE2b-256 11e2cc049637e583b6f9477a933199d899eb0d91c1ae3b6829e938fbc4cf357b

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.4.60-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.60-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7af04ec0b23f6e227b802b1b6ccd2f73d381796dcc33daaae07f39ece389839f
MD5 7b3ec43373964eb353f3db122f549de1
BLAKE2b-256 2b99866542ab057f3d8c31ad15f8337ea44926d1225d4e2016ae37d1d4b8d8fb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.60-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2616b83e25576aac502b829487ca59672250f0a366664732e1597e2d3eaa0831
MD5 71772f896f1333e26921068081c46595
BLAKE2b-256 88055c38232c00cd6ed939c82a45e16497035d662c7d73924d461ba5425c634b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.60-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9cf58536f9ff349b0184f3d0e208825920b06a475cafabb1674c3ecfbd12af0b
MD5 81cb0662c2c19103facfb539bb055fa9
BLAKE2b-256 d251eea4549e8ba41bb7519de082b0ae692b4e7850d35fdca085c38f929c505c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.60-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6bb67a325dc55bf43ff658808658829b3e6b9ca4c6dfa7e86446cf4a1edc0677
MD5 985066b024d0e482cd0bf5e5ef94b740
BLAKE2b-256 4323f312a13c9759fb4f49fdda29426408fe7f84ccd311b7bd14dabe7d90c3d6

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.4.60-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.60-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 abeaed675152bf142731380c8678489d679a92dfe1aaad95058534a7623be424
MD5 ae71a94cff56bd9c41b23be9b12bdbe0
BLAKE2b-256 7d1d0f3cb5d3cacf22587c5fa5a898d6f99e2e4280fb553e57137b554fc8bdc7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.60-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 549335889fe158f4ad2ca0ae26f24c8c61e4ca6913f717903bd108b33df69e3a
MD5 338fe36ea22c4d9fffce94e42d73085b
BLAKE2b-256 2cb5ee71fa9a5feda9ca16a8a89f72f170a80d7e92d49e52294c571469ce46f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.4.60-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8bde1b5862162ffd8e47667b6ae0bc7ab4e61a6dba6fa47369b30996546cf8a0
MD5 3a8c850dfefae7939eea584911af3482
BLAKE2b-256 f5a63587f9776d5443ddd87fb5a581ac62722f15a9b672ae54c054dca3b9b9f4

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