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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

passagemath_palp-10.8.5rc4-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.5rc4-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.5rc4-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.5rc4-cp314-cp314t-macosx_13_0_arm64.whl (5.1 MB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_palp-10.8.5rc4-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.5rc4-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.5rc4-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.5rc4-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.5rc4-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.5rc4-cp312-abi3-macosx_13_0_arm64.whl (5.1 MB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_palp-10.8.5rc4-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.5rc4-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.5rc4-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.5rc4-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.5rc4.tar.gz.

File metadata

  • Download URL: passagemath_palp-10.8.5rc4.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.5rc4.tar.gz
Algorithm Hash digest
SHA256 9573f97bb6c17d00638342f5d2f8b26aec748c4bda340d9bd113f2e9d2fcdc19
MD5 6c4223241581a8e2100b7e8e985de1af
BLAKE2b-256 a16720332ab68a4752a1edcc46775afecb06cff065bcef0485e40fec9003154f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc4-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 93d54325ae89b4e61302783393b398a9d770d878094114b606c975f2249a0dcf
MD5 1484e6824b09023c6a9136ed64a5a00e
BLAKE2b-256 2a8300f02f5d22ad9824b41097ae41fd93bc172a8a6f8a4136439ba3d3f8036c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc4-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 317a0dd3ee2452d44bc3d0029741b5a821a429f3dc12e6f248ec6fcfc01374fb
MD5 54545020f3aeb2c43cb49e3766224b7e
BLAKE2b-256 d93de421a5b00c6c3230571534797295081bac3497f9a59f316b932fff5234e9

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.5rc4-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.5rc4-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 148918372f44737bfbdc7f2f0b4afe1191137f188ac3c00285f0ea6845a60b41
MD5 4b89b7eecb5f53e408181374fdbd7339
BLAKE2b-256 9734abb779a13120d4f6471bea89ecd43f04faa90ae47a2e49776a0359765b3e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc4-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0b53dfff55268e8d0cfe787ff06e8607e402eccf8395f33cf58387e42e907c85
MD5 6f2a04cf135e5cc8331075a1a4d7ae87
BLAKE2b-256 bc90a330ac5ba99e535c5a1e606756cbcc77bbe34134603ef2a346fe40b9fee2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc4-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0a5acfc22ea1f7ccabf298723348ff06c37f053472c844800b33daf89d1c8fed
MD5 9990c763551df92a964f8bc4644568c5
BLAKE2b-256 8261ae2a0769e256d908d84a2f09c3f0f56e0ff252b04b47abb76f8d725f01a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc4-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 612f75fe793b7b533b9d6d53fe67e902caeebc869a21c7c098dcad6801653ae6
MD5 b48d21f3dbc027491a045040760eb570
BLAKE2b-256 356845d0034dcec0a1d529c080e2e9d57db18d1c0f6ae6aa0632da79142a0a7f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc4-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c53d74305bf193a81ee77c43de0ad45e95f1d9b8f2e05215fa79df94bd045529
MD5 e90588c63b31362c362027b5f6525185
BLAKE2b-256 d35d3da1923ae1867fd96cca902fdea7f9297d456e4e1e166d4d8d6caa02b9ab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc4-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 910033594e6f882fd6d6756a551755b0fd9e2e240dccf0a19fa415b38f6bcd1b
MD5 f55aba4d2daf7259e320bd4cdec6845f
BLAKE2b-256 e43db8a757219d35b18950e0a0387ca7d2c7a0195ac7fc06723e067b497a6b30

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.5rc4-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.5rc4-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a162a0df90919b8f0f2be49d26d9c76810db145b5d07cc86083e45e3e8804da5
MD5 2d29d0fd4f3dc70f6dfcf8bab254ed78
BLAKE2b-256 d93ccb4b8e991cd4e4b7a62e447868ac4ec680656807062b65e5605166ab77fb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc4-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f6142de453c804e51e190841e04ea116ccec666237b4da62c6738d33f72d5436
MD5 d65ceae0554ed8651b2fd9539dbc00f4
BLAKE2b-256 91d21a7b149199226fa494602eaf8b512a1c21c4e71afa7e11d92f29d5d5b254

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc4-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 55dc63bbec893c99aa8c69153f66c384d386abb63bcd1d200dbf07de1f9278e0
MD5 23d3f4e80dfee70f173074e3c93613b6
BLAKE2b-256 88f8607128b16e5a35c6beee0680dcd3eb544c8d77944b04775f2c2ddd0b5489

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc4-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 7e8ba1c3af4c01dc2d55328c1b08a6bb0896f716e4151627649a3382d86ba218
MD5 8e73b680c20fa2c3832a6370a22142ea
BLAKE2b-256 48f4d85f06a288496e01f3e8bd0cefa8c14e27305a04ba42dc217cea88596655

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc4-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9eb761fbf50576cc227f403761ac4fa46c0d6cb07322791c5176e0ed0642f992
MD5 da252eb78ce7077f07a836dde81f6ca2
BLAKE2b-256 af162d663031c02612fb669675dd1a275a0c6851a6e49ff5f3bdc4e4f456e5a1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc4-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 42b1deebf32e606e8880c9849c01ae66d9472ef83629777ca0bdfe93b34fd1bd
MD5 18ab0ab6a1d0fd44ab87f7270415e956
BLAKE2b-256 0c5493de758854d2c7c654ee2c8686e71b68f975ae73b4566840a34f2ef1376c

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.5rc4-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.5rc4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a77411890a3e78859bfe19806f842b6d5995e4245c586a55937dae1b95409b7c
MD5 c0327d83fc920b6597721b9b0bde8f44
BLAKE2b-256 565d6e99c042e14113fdf91600a899767ce1fbd56f733a541bd1a6f7a101bbb2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc4-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 bed9305309380d529d0863e7dac7f015468f58fb7d9da7111ae1d6077755a9ea
MD5 1e18b3f7d231f278a3394099e798ac5f
BLAKE2b-256 61fc2d8b5a6352b5a8a1bd8ac20dc8145c57ed2782b3d1b6a315ecab72592990

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc4-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1bf608ef54a9bb7ab9f8a3e9047f02e5a77096d5a86ee36a32560a4af058fdac
MD5 29c187bbabf3235eb22ec0e94a42ec6f
BLAKE2b-256 ba4070f097dd83cbf46b88681117b20e3aacb16bbd8a5b4eca505d3076a33f20

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc4-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 dcc6535f98f7e5f96fd5774961bf082fbf1b94b69bb37adaea193829e839e846
MD5 5f97e0b444ece8ea033e5c4e54e3f2ac
BLAKE2b-256 355bf99bdd92d14bdac7ce13326793b52649547da99339821d8028a28a2facdb

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