Skip to main content

passagemath: Lattice polytopes and applications to toric geometry with PALP

Project description

passagemath is open source mathematical software in Python, released under the GNU General Public Licence GPLv2+.

It is a fork of SageMath, which has been developed 2005-2025 under the motto “Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, and MATLAB”.

The passagemath fork uses the motto “Creating a Free Passage Between the Scientific Python Ecosystem and Mathematical Software Communities.” It was created in October 2024 with the following goals:

Full documentation is available online.

passagemath attempts to support and provides binary wheels suitable for all major Linux distributions and recent versions of macOS.

Binary wheels for native Windows (x86_64) are are available for a subset of the passagemath distributions. Use of the full functionality of passagemath on Windows currently requires the use of Windows Subsystem for Linux (WSL) or virtualization.

The supported Python versions in the passagemath 10.6.x series are 3.10.x-3.13.x.

About this pip-installable distribution package

This pip-installable source distribution passagemath-palp provides an interface to the Package for Analyzing Lattice Polytopes (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 passagemath_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.6.40.tar.gz (5.2 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

passagemath_palp-10.6.40-cp314-cp314t-musllinux_1_2_x86_64.whl (12.3 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ x86-64

passagemath_palp-10.6.40-cp314-cp314t-musllinux_1_2_aarch64.whl (12.1 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

passagemath_palp-10.6.40-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (12.2 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_palp-10.6.40-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (12.2 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_palp-10.6.40-cp314-cp314t-macosx_13_0_x86_64.whl (5.7 MB view details)

Uploaded CPython 3.14tmacOS 13.0+ x86-64

passagemath_palp-10.6.40-cp314-cp314t-macosx_13_0_arm64.whl (5.1 MB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_palp-10.6.40-cp312-abi3-musllinux_1_2_x86_64.whl (12.3 MB view details)

Uploaded CPython 3.12+musllinux: musl 1.2+ x86-64

passagemath_palp-10.6.40-cp312-abi3-musllinux_1_2_aarch64.whl (12.1 MB view details)

Uploaded CPython 3.12+musllinux: musl 1.2+ ARM64

passagemath_palp-10.6.40-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (12.2 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_palp-10.6.40-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (12.2 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_palp-10.6.40-cp312-abi3-macosx_13_0_x86_64.whl (5.7 MB view details)

Uploaded CPython 3.12+macOS 13.0+ x86-64

passagemath_palp-10.6.40-cp312-abi3-macosx_13_0_arm64.whl (5.1 MB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_palp-10.6.40-cp311-cp311-musllinux_1_2_x86_64.whl (12.3 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

passagemath_palp-10.6.40-cp311-cp311-musllinux_1_2_aarch64.whl (12.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_palp-10.6.40-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (12.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_palp-10.6.40-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (12.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_palp-10.6.40-cp311-cp311-macosx_13_0_x86_64.whl (5.7 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_palp-10.6.40-cp311-cp311-macosx_13_0_arm64.whl (5.1 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

passagemath_palp-10.6.40-cp310-cp310-musllinux_1_2_x86_64.whl (12.3 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

passagemath_palp-10.6.40-cp310-cp310-musllinux_1_2_aarch64.whl (12.1 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_palp-10.6.40-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (12.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_palp-10.6.40-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (12.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_palp-10.6.40-cp310-cp310-macosx_13_0_x86_64.whl (5.7 MB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

passagemath_palp-10.6.40-cp310-cp310-macosx_13_0_arm64.whl (5.1 MB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

File details

Details for the file passagemath_palp-10.6.40.tar.gz.

File metadata

  • Download URL: passagemath_palp-10.6.40.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for passagemath_palp-10.6.40.tar.gz
Algorithm Hash digest
SHA256 0424925caf05976c2d1faa3673126b199cd47b0118d3f319029970026c244ed8
MD5 d8abd0e358a78d403cf671b2978fed87
BLAKE2b-256 6e9a138ce8e3d6bc5274252579acaeee4aa3f07cad666054005376400eb79579

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.6.40-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.6.40-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 480de6100c555e68ce8eb4474286d7c2e3021c79274a106a27d62d80e9bf42bd
MD5 c344c6aed15d9624edd1795cec81c792
BLAKE2b-256 3e4ae2cbd4f87d39a2a83ff796a73a5c14e0c979dd90df6e347c4f5e57f6f204

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.6.40-cp314-cp314t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.6.40-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 4d41d3aad0c892b1080a05ba8a528f935bd81590bceb62f14d77a6f722e5ec7c
MD5 30c91ac81add04efd96920378ebd2fdd
BLAKE2b-256 766ed09615b04c007fa35917609ca1d0780dc14bc597762bd4e1c9d8cdefc70f

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.6.40-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.6.40-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a2b40549e22d8d929f6e65727bd922187f617712a8c3546a0a90371441e93d8c
MD5 f397deeb7244958b5c437117c99ffab2
BLAKE2b-256 c0f9a7d196e19dc5f53ff35709a153c5ebef2f28f3b5e050f69d7af8102baac7

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.6.40-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.6.40-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9e065f7ba2be0e7c9e33aa21745fb018d8e252f9c65b609b2a15dd263d280cee
MD5 9271aa3d70f5a5b9699094e8dc3dcad8
BLAKE2b-256 eb12a6139385ab3046f00f6521a642796805db91d06777e9375acc9bb13ac0aa

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.6.40-cp314-cp314t-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.6.40-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2e6a4eed3b77a06c00b6987b18ea3aa3d28f1e017d869f3734b529d8d82326e5
MD5 93aac1fb92b05fee6f5091a5c36313a8
BLAKE2b-256 998ec5541381b79fa2b4d9452097ffd8b40c0ddd4df3f56a98a0ac06a3d55aa8

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.6.40-cp314-cp314t-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.6.40-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 7f162c6aadd3179880db2a791e54bfd8dd2263ae1e34cf8fe42c4658814c014f
MD5 7d62e9e020dba1f6709ebe22133140fa
BLAKE2b-256 d9a39c24a18ab1d4bd17a88d45bb84a214e046483df2906b1f5fd38c058388cd

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.6.40-cp312-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.6.40-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 694214526db520d8775625ce2a28c929d725bc61981a75456090023b4a56732e
MD5 6c86687784c30ede9ec70ab50754f15a
BLAKE2b-256 344f2adb4a3aaf519baac64482ee20767edc47f55bfaab789fad95e22f958b7a

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.6.40-cp312-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.6.40-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 55025c318fa02f38bbef418507d32ec77cf0a6766909b12f48a5007c6a499364
MD5 7991610c914c946ec5300254d05fd09d
BLAKE2b-256 6c93819b82d30d5568a261f6b4fca1892c05bd3fdad11ead7274abad6066b029

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.6.40-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.6.40-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 533c7033e2ef94006a9fd4fad22a4dfbf869ecc3f967ac64b3ebced788794912
MD5 a2008555b33a25834873e8529bb96aab
BLAKE2b-256 dfd7b4534551d9f5b89adfda19c971d41b6eab419529c188f84fd63633971301

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.6.40-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.6.40-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 818f30fb859272634fafadaa532ea09a620fb24e004daa0120007ba6bd87b02d
MD5 45b98ae1f846099c07ba24fead73bf68
BLAKE2b-256 48f3ac4fc8c3e239fa1f708a2cbf83dfbb0cf86aa36a66478845360abf1b3e42

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.6.40-cp312-abi3-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.6.40-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9bc34c321b87366723fc9a2f4acb3d69a99508cbdb8ad35d957baffcdea01716
MD5 c81cd8cea5bd6a084e07675ace2234f6
BLAKE2b-256 f44f38370bbd0787ad21ca7fec62488effde695452778ad900e4278f44d60e1f

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.6.40-cp312-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.6.40-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 4aff268cf6dacabfa2e092391bb6ff625092fea4b1e1d5c30bc488c2dbb7aeac
MD5 d10a98db3de108dcf5d32b48a7e9c1aa
BLAKE2b-256 c8bb77f206dbf2cf8393efb83538056e20d395e08d9c3945937b88c86e2048a4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.6.40-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 5c66ceb26171f585bb50a245d4087477afbb238c9da79c0fe2fc8cd6a3c74985
MD5 f066f537a5a371f69cb601bab748c23c
BLAKE2b-256 37630e4ef53645eb4f3e0d1e3f024817fe56982c3642144693e32c0985494f7d

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.6.40-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.6.40-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 1871e5f98e30bfaad61eff8e7b416a2d28910c457606fd888ba11f3f2fb14cdf
MD5 185ce9e4e83472173863ed65f28d27e6
BLAKE2b-256 59641280914fa1f54ce67a5719bcb5bb7a17447e463be8dc8dda81c592ea518f

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.6.40-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.6.40-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ec761d582b1b43ecd94d15813bab8d2400e4233c81f104d4978200076937df59
MD5 cd3d06bdb175bd1f50452a854ee42ed1
BLAKE2b-256 7d849c505d2b72ac8e3ee0db9e442bbbece9294f5d523c41bad875262c9d9745

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.6.40-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.6.40-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 40471a65183e37d9f7fc893d813f2819db29beb941061b9952f6c0eb069f86de
MD5 0ed5d342f3254f07d5c227cab937a17d
BLAKE2b-256 fcb9bda0eea1146868758ac39a8be044dc6716d807dea3fa876726c78c0c432a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.6.40-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7460640953ab24e5863a2ed6d6e7cb30b9b39a5891f1673218ce34d95f2e4b82
MD5 afe541da90352a72930183633f95e88e
BLAKE2b-256 f978ed26fb4c3c475c82a716391f9e08d09f7c211852dc3f6acb9c049ca1e42f

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.6.40-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.6.40-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 62e91bd1677a766ad4857c1412f98c316f774ec704279ed02f3681eaee454cdc
MD5 2c527705d76bdcfbea0c75864a3c95a3
BLAKE2b-256 6e9c2198f838cfd28053c08215f5763fbfbabd1bbb71a28e9fb6558fa4e5051b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.6.40-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6d19f41700b357da63de5660c9b14b96230d1f17cede38ef91050a006299a2c7
MD5 593081b0d00ee880d6f975f3da9ac999
BLAKE2b-256 1f491d4d2946a533f4719f2c6892a493c846f608f288995e9f07cf8200bf3ce7

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.6.40-cp310-cp310-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.6.40-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 69c8a5f91de56d704986013de352a74a22b6f0c7736cfdbacaa1f513e1d34eb1
MD5 e68e98e271e442e0294d39c63fa7658d
BLAKE2b-256 f0e2f8b023e253d29a1c8a955b373388ce6db44cb32902591f542b4fb9a5a20b

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.6.40-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.6.40-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fac66c89784332493a5f63a1a7ad87ed5119732e5e2bb14208a68fa13ffb023a
MD5 54fbe9c99d656059bfe124fe1fe78e61
BLAKE2b-256 79547e15cd6c2ebf62c7c5c82d51cd53ff6b6705e98d5cc87c58f2dc6326b673

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.6.40-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.6.40-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f59975e84355b6980708c9c596b5fdab2d28028c39fa6e6dde91abf66abf8bd9
MD5 dcd46e280bb83477607cc8facbf0a811
BLAKE2b-256 2cfc321b53985b8c0c4825bba2a12d4fab38753cb803f5b8a82aa46c508a6e92

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.6.40-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c3e564810c3d4b45b5014fd34a3118b02747be281e83608603b0042be037951d
MD5 fe10574ba5be207492452784c9eadb45
BLAKE2b-256 8126473ffb20c5e887b4d0f4991b5238f8b5aa52ea92b61ec1e3a740b46a8206

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.6.40-cp310-cp310-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.6.40-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 07c1966c1d5f5f156c075e583fca7964560511bf900055b3aef8d404d44de9ee
MD5 1ed41dc73cbc3544f5b458650a5450c5
BLAKE2b-256 b568f6e1b676b3d6595322e8cd63e33067657981436607e1899c29125f19b5e7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page