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-2026 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:

Moreover, the passagemath project:

  • provides a stable, frequently updated version of the Sage distribution,

  • integrates additional mathematical software, notably Macaulay2, a full set of GAP packages, and the Combinatorial Matrix Recognition library,

  • curates a library of Sage user packages.

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, ARM) 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.8.x series are 3.11.x-3.14.x; the passagemath-10.6.x series (EOL 2026-10) still supports Python 3.10.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.8.5rc5.tar.gz (5.5 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.8.5rc5-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.8.5rc5-cp314-cp314t-musllinux_1_2_aarch64.whl (12.1 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

passagemath_palp-10.8.5rc5-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.8.5rc5-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.8.5rc5-cp314-cp314t-macosx_13_0_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.14tmacOS 13.0+ x86-64

passagemath_palp-10.8.5rc5-cp314-cp314t-macosx_13_0_arm64.whl (5.3 MB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_palp-10.8.5rc5-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.8.5rc5-cp312-abi3-musllinux_1_2_aarch64.whl (12.1 MB view details)

Uploaded CPython 3.12+musllinux: musl 1.2+ ARM64

passagemath_palp-10.8.5rc5-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.8.5rc5-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.8.5rc5-cp312-abi3-macosx_13_0_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.12+macOS 13.0+ x86-64

passagemath_palp-10.8.5rc5-cp312-abi3-macosx_13_0_arm64.whl (5.3 MB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_palp-10.8.5rc5-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.8.5rc5-cp311-cp311-musllinux_1_2_aarch64.whl (12.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_palp-10.8.5rc5-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.8.5rc5-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.8.5rc5-cp311-cp311-macosx_13_0_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_palp-10.8.5rc5-cp311-cp311-macosx_13_0_arm64.whl (5.3 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file passagemath_palp-10.8.5rc5.tar.gz.

File metadata

  • Download URL: passagemath_palp-10.8.5rc5.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for passagemath_palp-10.8.5rc5.tar.gz
Algorithm Hash digest
SHA256 6474711812a30a5d5d40717aca070312778e0a87534043a5cfd035e9e304b72a
MD5 7f29f87b534590f4723bb979ec8bfb6f
BLAKE2b-256 0cac51e8f366525a80242ca7698a137a5349f81ffe7072c9f7feb41c6e8d17ef

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.5rc5-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc5-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 593449f99ea5eb6c80d65769188feab9827fcb59061a221c7d7cedbe507e1426
MD5 d28b6f2fd8a04c49918ed138f02bcafd
BLAKE2b-256 fcb41d7b44a1c4ec44a5825bb35cfc99b8054886e04a9d735c0f43dc202e7e5b

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.5rc5-cp314-cp314t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc5-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 873ed7620e754acf6c35e6e0cd7fcca1027df6f8d3a8d44e7f05e0fb4edb171f
MD5 75ef9bc8bcd3385e762b1a247911b278
BLAKE2b-256 8750ca8915c0a7bf842ad488c6ad34641be6f58c0410b23e86416728903e9111

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.5rc5-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.8.5rc5-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a356efcb0f557b0539aaf7edd022357b3502e04f6562c16eb4abfa23b814e901
MD5 16ac07e0bfd20895f1933d0ffc6ad4d9
BLAKE2b-256 f82d1e9b4ca7e1fd784adf101541fae3b405f63aac90530802349015f7716c54

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc5-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3d8cd3c95fe28f2856286e918ba94a559e2ed7ba6099e60ee092240bfb221319
MD5 58e257edf21d0b09798488940e043f64
BLAKE2b-256 e92bc4f83177adb1b9daae08b6a312733597fd136c307d6e810b92400028f81c

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.5rc5-cp314-cp314t-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc5-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e3622a7f31d8edda2ae0f025d7763ef9268ac47af5d620e2ea8e854cbf92dac6
MD5 2fc814e3692a8573c27e15f6f2412323
BLAKE2b-256 f4b473932a361b969e62e310f668bd3f5953a9deee1540f5f26e8b8fd948a7e7

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.5rc5-cp314-cp314t-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc5-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 8c099e7e9b5b82c128ac4ce92d7617899c3f19c5041eb8f17da633c7c89b0ec9
MD5 8f51464a9a7149cde036923d20a4114a
BLAKE2b-256 65d7540d338d9d5f8fc2ed448116572760b61ced046fd58109421c8fd32b244b

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.5rc5-cp312-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc5-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 574e74a66ff4eec614812135f37e4b269d2044929b26b46c1ef5259a45bccd1e
MD5 064aed6cb35050673c5ea44e78de7088
BLAKE2b-256 42c420aa3f35a0f95cd845bdb9bcb68ce891003e4ca6c3496a490c22de977cc6

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.5rc5-cp312-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc5-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 1c37ce6ce471c93e6afa437716b7ca4d0b1908c30d4344666bc62a0f6fd8157a
MD5 bf4cf1c5cbe6bb7199d78bd848211d68
BLAKE2b-256 8165c117d2def27b27fc889251d184d10595661839e31f7d20d2cbcebe3cb615

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.5rc5-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.8.5rc5-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4fd0daf0a44d908abe73af3e5092aaaab2c60093dcf55d3f23f6364367eb3637
MD5 31845e9649a59dc164b1e0bc5a5f7cc8
BLAKE2b-256 6851fe3cadfba85114af85a22444595775044733ebad862a41f809213f67831b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc5-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4b7a2c2d63a327eba3796be4a4160d22f470f87315b2509d83d82daaa5c7b112
MD5 cfcb162b3ec4c8897ba0f14ecb67a93e
BLAKE2b-256 edee49818d52042a010ef607d135bbcd894e8524be21e1c1bdb7594ef66dc605

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.5rc5-cp312-abi3-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc5-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b909b58a510c4901dd5553994ffc7d607edb762f20a6e40ee09ea4067437d054
MD5 7c75cf8dd8a7ea1822fe057557489219
BLAKE2b-256 9c56d3ba5eef3bc7ef98deaee124a4bc851640d5484ca9a7851dc5ba6c758e29

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.5rc5-cp312-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc5-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 06a57e3439850c9b83f9f0799b843932409eb565e0643674c3b7c8dee2429452
MD5 c8706eb458af8e44505ba1816695659c
BLAKE2b-256 3fc2c233b890c3852f6e3a0b65e4a9664ddec9b1c3874daceef26fd9cbeeeafb

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.5rc5-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc5-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6ed80fb17c797877c9e8bcc684b1bb79aaf96935aceabaa9e96a75e088a7f9ca
MD5 8692777a7a006a65ea03e4bd6234f778
BLAKE2b-256 456750715f3abcbe24902c63cb3bbcd329c638afb1936fa2ad430567dceba9d7

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.5rc5-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc5-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 c62593b2a08366fbec41f8f5c0323439e4328fc8d2fe0ba9013d71eb73719b89
MD5 e64bf44980b5c08e2ba64d01085e9bf8
BLAKE2b-256 39b5191331e423e5eaacea94ecb651e4b3324495ec13535b40952ebdbffa8d1d

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.5rc5-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.8.5rc5-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cafbbd30268b18e73fcfbca07171d63a855e26c96c3a0228be20c9518d53c21b
MD5 c71ee6895e8b9dda32ca5b1d7345f634
BLAKE2b-256 49b7cdfdabedb061b623ff4442b3dfaa4ad26adc14b26c9a162bf550c9ac2b8b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc5-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8c83aa18090c1a049e1f621b47be8cc19b5ca1bde91c6ad37cf5ed1763bae9cf
MD5 5597b2f0b7dca6bd3d9f5e5133aa4477
BLAKE2b-256 c316ccdd9506f25c7e0f9df5d416e374c9e1cd1581733fc02840b300e48761b9

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.5rc5-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc5-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 4d287b62ecdd04d3350d95695e63abde536c7a91e35fe63cad6887ab929a752b
MD5 2cae80aa524219e5c71a76ae3ba8ebd3
BLAKE2b-256 3cf8b3c38d4da96716f7f0001c010863f55ad8f55c9314e2b0fbdc93234e6e75

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.5rc5-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc5-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 556ae84afb0b19bc767e2d8ff9807f0cd32321880d955b2ed039765f679acdca
MD5 76909767927fcf7c4f1dd1e66c817dbf
BLAKE2b-256 6c26be52507d05ea35ee896d8997e71fbd5232b368e52be5d4893ab79612c622

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