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.4rc0.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.4rc0-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.4rc0-cp314-cp314t-musllinux_1_2_aarch64.whl (12.1 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

passagemath_palp-10.8.4rc0-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.4rc0-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.4rc0-cp314-cp314t-macosx_13_0_x86_64.whl (5.7 MB view details)

Uploaded CPython 3.14tmacOS 13.0+ x86-64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_palp-10.8.4rc0-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.4rc0-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.4rc0-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.4rc0-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.4rc0-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.8.4rc0-cp312-abi3-macosx_13_0_arm64.whl (5.1 MB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_palp-10.8.4rc0-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.4rc0-cp311-cp311-musllinux_1_2_aarch64.whl (12.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_palp-10.8.4rc0-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.4rc0-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.4rc0-cp311-cp311-macosx_13_0_x86_64.whl (5.7 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

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

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file passagemath_palp-10.8.4rc0.tar.gz.

File metadata

  • Download URL: passagemath_palp-10.8.4rc0.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.4rc0.tar.gz
Algorithm Hash digest
SHA256 2e3c756991731c4348cfc4a8f31a1f6538e40023b82f0da548d920f88b9c85f4
MD5 a492ee5d94df31a9371151140e4cf256
BLAKE2b-256 c3b99a4fd80811c45ddbf1557238cc53f5e3cf9606dbc342f53dfa71aa84e553

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.4rc0-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.4rc0-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3bd4e983fe176d5bcaceeed5d71298b56b653d92898b32143872043f7d195a26
MD5 36f3e808e3236efe7d773231c4b96496
BLAKE2b-256 0bb5f2c57b900ef47e4cdec86ada619b869a9e19043d6aef4677a47013e21525

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.4rc0-cp314-cp314t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.4rc0-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 07553e6002b88c8b6494df3bcb52346916c120052a0bca3b82b595a685dee98c
MD5 b98e84f28ce9dbc6e740c686fe38b21e
BLAKE2b-256 6a9d1fcd6780f01846618f8be753fc4fa8ee43cf424889add3ee3c2aa562fb0b

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.4rc0-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.4rc0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e53e5e995294f4b7b67117e3b81aef4cb52314c6b5bdedf5e75429faa8b8e361
MD5 ac9e3f91bb47555cc3fe1ab69d3d4678
BLAKE2b-256 142a4ddc59b3333741882282680f0a43dcacc99efd1d59b621231c31652d7cb0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.4rc0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0589e95d2ceead3683acaf23a35db3b1cd2816e80f6875fa33797b4d84250794
MD5 f49932d1df109eff8b3273e912c2dee7
BLAKE2b-256 e4dce213f759b071aaeb5950704888973dadfd3964b2eabb26d088567514b897

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.4rc0-cp314-cp314t-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.4rc0-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 989de797954549b1b480fdd6305c64357b77738a7ea8ac46d5ded671bec0ba79
MD5 ba3afee00716f75b2984b7d937b84bd0
BLAKE2b-256 95fbe2d95c7f0de490ae0ea8cf759938934f782c2c1a6bdaa93c7f7cded413bf

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.4rc0-cp314-cp314t-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.4rc0-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 5c7f152a9b0636d5c248fe9362173764db16af6e904070859cd6dbd12373dd60
MD5 a720c23d0786a51f3e27f32bbd3b6458
BLAKE2b-256 d1feae1b0113242ee14fc83d71ed43667112d82925e187873096f7c332d8fe45

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.4rc0-cp312-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.4rc0-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d2cc0a1e7fa626cae16647c7df2295ab1d3e1a86fd8964367b31bf31ef8b010b
MD5 94377b664577f26e82ed36fbac6ea4c0
BLAKE2b-256 12f0ce3705801b53897d4ebf00d0414c6c553ee6a0c34839f20736e946c508a1

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.4rc0-cp312-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.4rc0-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 41329eece6c3569e210be8cc4dfdb72a0205f7f80429f09cba08137e9f70b1b0
MD5 6db6699d0e5e0f984a4ea98d6cac8581
BLAKE2b-256 d0a31ccb2a3cfdb71fa50b3ebfd25b745958f1eef860193f5332e9ef487adaf8

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.4rc0-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.4rc0-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f3eefcc0646f224400cdb1cf18de5af80216de4fb87296c1e0b1dc93bb95621f
MD5 7428f3b5f34e3537bee34214fa3b0dd8
BLAKE2b-256 61f1112e533e68605a7c0b926e2b83f924a4fbf2baa58f3cca2384a194ad5ed7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.4rc0-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 383616c0e35c7aa80d6d3cbd23a32146236a22d53420be5aea9ff71432a978ab
MD5 abbce5db2208e6d82b819d46b584bc17
BLAKE2b-256 af6d9c84ba1608610cf038fc0cacc49d401b6d417ad3c32776a2576232ba5f24

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.4rc0-cp312-abi3-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.4rc0-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 cd2e4b422a564907483a38fc87bfb238c5cbe538ae81ed601d55f9fc4f68ae6e
MD5 a4a242cbfe758e74b648b9e46fca1b14
BLAKE2b-256 61a896deb974ad12f35ddfdf6ab6d29e6a8febe3d932a7019e05a308b2f17d5b

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.4rc0-cp312-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.4rc0-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 e5c852a3ca43d94306048b042fd1547504e38fbb9b68c645caf674dfe869d1ad
MD5 c1fa6ac4a21dc3ab2803075cd5bcaa9d
BLAKE2b-256 e46e7f10814de168c506454ef07735bdf627a2ef65487dea9662b47455b3a41f

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.4rc0-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.4rc0-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 5a80e46000523c50287ce94a007a4b20e025daa810b28722e30f3c80c0045273
MD5 bc2846dcd42e76355dad563e86022870
BLAKE2b-256 a04b5e490bb4777b57268a849b2921a0b3dce622fa2f5971533f013d19955acb

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.4rc0-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.4rc0-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 bcff6275fce1184d7accc9a2ad1fca0ca6444dfb87c3d5a1120c509645b6ecee
MD5 166984b707a5a023aa6e9a2525fd9a44
BLAKE2b-256 a1256307eac37deddb4979c63a8e033cd46077d3b037a64ba62abef1d21ea685

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.4rc0-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.4rc0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 aaf362cb246b7515aaa6b319994d0dca7ed7d127c16017b2130d552de59124ef
MD5 c89107f3560ef1144591bc94bc45526f
BLAKE2b-256 a1389725014eed6eb82d516822cd4f809264a029a4c453ecabd8902c10557cf5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.4rc0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e30c844a82d7ffbb04cb0fa5a6287ca1a0e15c12dbba754c254f46016a45d4ca
MD5 5ffba26b3f660114621fde6370400be7
BLAKE2b-256 b0c41dd060fcb2f952c12aa2d2090c3bf8ea760fa12ddd3edfb3fda9964f5979

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.4rc0-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.4rc0-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8ff668495616c8d576642de4f25f71263d06b2624eff38a1983071ebb527ada2
MD5 056ae1dfd1b1a544a21ffc9c73fab872
BLAKE2b-256 2efc49bbebcf48f3a5b746016b7e3f4ff6424fe9c3704b41d2061ebfdc38a693

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.4rc0-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.4rc0-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 c5a30e2be3f854bf39ce19bae75fbc18d45562ac5e7d1c8457d79c0aba4d94a5
MD5 b413d2e7c3ce84d7110b737ab16e7806
BLAKE2b-256 97bc6ec0b1ad10d45df213d26583ac981b85677b769c2348af63a3a9a32b02ab

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