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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

File metadata

  • Download URL: passagemath_palp-10.8.5rc2.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.5rc2.tar.gz
Algorithm Hash digest
SHA256 9b0d193614cd284784a9178787ae4d89c72e1ea58f359d4731e0e9067467b823
MD5 42e6d3ac6e60d968ae253070f422fc10
BLAKE2b-256 d500a00cbd21365aedcbc7d9ce9a19dab14ee61e28a45a02d4c78fe6e29081af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc2-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f94fd927f62f14ebea308242015cad3d6ef148bf076b8a2b4fe8b0360b82a249
MD5 68150cb6aea945cdc65a06be22656d57
BLAKE2b-256 b48331c29d43e98b6235df12be75db24985c6a677b220ea508ca855bcf151595

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc2-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 ffab2ee9cb40acafb44c12eeeb3763c2c16140c2f92b1e8dce1c16cd28a981ee
MD5 f134a992e560d76035a2ec8a8006a502
BLAKE2b-256 a78f368697be79f9feddfbded582771bf62a6c7b44eade9ffda42f24101cc347

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.5rc2-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.5rc2-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9103d09e8e8b9e3f9bd8b8d4959103e3c0c99938413edb81de94d8f0deecad96
MD5 c014e366366bcfdd58af7e34d63bbcfd
BLAKE2b-256 3dd744784c44bb8cbf16269c7ccf2c30ecaf745595231bf0f7ca2395beba7cbb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc2-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 674a64c6d8806add7a5ce1c003f57f8362bcf3d4d0eccd139028357d8bba9faa
MD5 7b007bf1331fea15589fb56b3d2c5065
BLAKE2b-256 26cf49510ce0feb30cfc1f058f4d03b01c17819a0d2380b85082cd585eaa0be5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc2-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 375bc2dbeef907ac66eea14e48aa90a15fb23f1facaf776af96aeda595169fd9
MD5 9259f4560d41ce7f908e8016a71cedb8
BLAKE2b-256 2f3abadde2769017be352c304de65044fa19537f4f8172c763bc6a71117c74c7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc2-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 e99e2e6bfcbaa180f43e6bfacf960f682e45d037ee7612141ff232043da27864
MD5 6fc452907726ebb1fd4102c2ebc18fb5
BLAKE2b-256 34a4f8d836e835d0b16986246783aacac191cf0d73b97e700090aeed63acd5d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc2-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8ff5f95b9eef70c40b9cfa49a5c716c21cac6aed8d2b87a2e1bd5c7787ecee09
MD5 c6961b3be64e3f447a1a87ef64453242
BLAKE2b-256 c3470f9770fe9af6820e1733ad186c06945784ea97f9b5596e3944cc0b39f59d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc2-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 56e83f7c7cc6dd8bcd87afb6a77247b6c3df6d76f6e93b6b2afceff509c0fd4e
MD5 fb8006c2127a854c1c1fed8f6387ebaa
BLAKE2b-256 34fab3340de052d80f00f596e55d2bfc66ea08f960eac48ef5e28bb9f4dcaf92

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.5rc2-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.5rc2-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ff61bc86e9f81b067a9c1338fcaef3fa11e395358c9933c903c7dcd4796e60a6
MD5 fee037e31c1076234162ae0b3e9a076b
BLAKE2b-256 9876edcbe549162443593b0417452021a776ff4b653f42a2d94288175501c045

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc2-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f90d785e0c4e9080b8ecd6387501b344753d37fdf6877076b4594bc6d95cc9c4
MD5 7159ae3959df1c11ae251d071ac6410e
BLAKE2b-256 408f9d5d24137e55d5f105c8994de3e0e0d5355f225382b323254f4733f44985

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc2-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d39904d17aac105696fb89f19e853bcd16412da6adad024c61a64e53799724ad
MD5 9f6c26be12015166e05b54f610e9f35c
BLAKE2b-256 c13990e0c97cf41a00fe3b506a132a6427735818ffdadd5111b9827fc7a6e81e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc2-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 fe758730dd1d8daf0194aec1b41666e2882532e27fd45d89e3e013157ff31180
MD5 ac60366fa3d64da66313daf4a9bb775c
BLAKE2b-256 6575e1ce8a757b6df369ff162134490e420cb5ee532e7cd1048c30070121cc2f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc2-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ee6d9eaa13cbd452bb6cdeaa59e18869f6e4f35226b4303090b90e9b36de4797
MD5 1e8fbe1240b6c727cd79ff96910d13b9
BLAKE2b-256 77cdf651bdab110ec80d49c88ece66b1c92be40d288d0d627344854b06385536

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc2-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 139497dfbb54b95132fd1a090b63bc3de41b76f0e8b278844f4642bcba58b0f6
MD5 78ea44db64864b5351bbf784cf8cfaff
BLAKE2b-256 b7a1a472d983e0de701f13b3ff3bad82219c449115b30b7da32acf4ebe8a5731

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.5rc2-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.5rc2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 304df036a712844eca055fdaf636d256fffc4a19e6c86b5095bc38faabd426ec
MD5 ac9769f96701d154d29458a319d0c713
BLAKE2b-256 47fb840c6a66967677312d1ac0738e9dc6e16e61915da89d8ba36798c9a99100

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc2-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 576cf726d1ac02c356c70fe59fd470de4429cffebc0bb4504bb78ee7d3eb3869
MD5 4d57344eab43adca631d85d71797dcd8
BLAKE2b-256 04082cbcf727f612f2f7675cb223a5a6919cc22bf71c442add1d6454be46b050

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc2-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0aab074f6cb1e782c2b9c723916567514add03a9b91342505a012b58ea543cb0
MD5 3a480e2e3ddf2743ee3155ddf3e53528
BLAKE2b-256 7eeaa38b08d55cd6f4d05c76ed19fec9762869093170f38fed5ac6af11a14915

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc2-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 1931cfe8e157c9803368552dd7eb0b68fa2bc0fd15fdaffe177b7b073c8b8197
MD5 461aa376cf33cfb42e6ea524c264ddbe
BLAKE2b-256 fcc80cc32fc832329f42700a25287aae502a9d2c16ded28af1b1c5d914691277

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