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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

passagemath_palp-10.8.2rc3-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.2rc3-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.2rc3-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.2rc3-cp314-cp314t-macosx_13_0_arm64.whl (5.1 MB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_palp-10.8.2rc3-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.2rc3-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.2rc3-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.2rc3-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.2rc3-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.2rc3-cp312-abi3-macosx_13_0_arm64.whl (5.1 MB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_palp-10.8.2rc3-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.2rc3-cp311-cp311-musllinux_1_2_aarch64.whl (12.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_palp-10.8.2rc3-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.2rc3-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.2rc3-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.2rc3-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.2rc3.tar.gz.

File metadata

  • Download URL: passagemath_palp-10.8.2rc3.tar.gz
  • Upload date:
  • Size: 5.5 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.8.2rc3.tar.gz
Algorithm Hash digest
SHA256 60c9848e88131b287ed0b36e3efd46a9a44c2fb9817035f090948731c6eefd96
MD5 15693df5582d39aab483b8e01a021564
BLAKE2b-256 6b6bc5cca2876c00a85a0f2c7fcd585e1a7a214e059cb07afb2525815222fa6c

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2rc3-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc3-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9ffe805932cf9ad24341cfe1749864fb1a48a04b1db3fbc92432a5abcb2a1ba0
MD5 b869a9a6fd627ff0b2ee6103f03747ef
BLAKE2b-256 3106bc1fd5b23e80863462ac0a1a32789b800334efebd3b65d3629e039a6731f

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2rc3-cp314-cp314t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc3-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 edbfa8bd620601963790f49ea5e99c169f117b29609612c7c9cff7c0922852c1
MD5 0572604752a197a921d42f4900bfbdc8
BLAKE2b-256 1026800f5988a6260d582cc028a61a2dc31cd95d262d88562b52841bc0d98341

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2rc3-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.2rc3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a08f50f39fa156aebbc9425025f08f01fc5eaff1f53b9c3f6aaf21de9e4dc68b
MD5 8d3a82433ff3ea6f97f25437b4f3619d
BLAKE2b-256 c27ff55d25ec6397bdf5a99adbc16d83ebf23404aabd0ac45eab0fbfe80ffae9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 7ec04046fdb42b56d31df286da844d0ce5c06471028a030d83e300f48f70ab19
MD5 d539b403240bcfc124c625d804ef7a08
BLAKE2b-256 bccedc56a287c508c93598bbfb41025217f7784d33b646c2e9e2a808f8be1678

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2rc3-cp314-cp314t-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc3-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0ff30ba8ffd62deea56ed93d26bb790856996b7e567c48f7900dd79b9843f0c1
MD5 a98a9b018d11d2767fcf11fabf38185d
BLAKE2b-256 44ae566a2316eba7934e8141bd43a71f8a48ebc536fe238af3b67a42be8d0178

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2rc3-cp314-cp314t-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc3-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 f46b4f8ab8232045a5214dc0ab3e4088ba9e13a49c1f5a5a63cb36e368c72149
MD5 1d7dffe28285ddf2d1ed3e1d9d49ea23
BLAKE2b-256 7cd7f7872cbe5be05650e579174456ed716fac0a3fd1612a87a93cf81c1cdf20

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2rc3-cp312-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc3-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 df22b7ade71ae66da95cda1718d19ca1558e4b4479a808f0e1eb9a854b51652e
MD5 afdfa77c4abe97c04e3ede0a65fac4b5
BLAKE2b-256 d67364608d6389178c10685b7758b07a9ae9950559c495c3745d680cefd8c5b1

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2rc3-cp312-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc3-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 bc4e7404eb377c1abef05c5846dc0ba5dd1198273742dd312db6c0eda5105fee
MD5 bebd8da66a224b00ef6da820a0c9ebc9
BLAKE2b-256 977644c6cf5478ef5179b62a001a820e7255694ba3ba1ff1c28831bfe99e92af

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2rc3-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.2rc3-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ac551713b5e51b947ee535fa236178e0651ca06ff6c033f394d7b33e30237281
MD5 b5a19aa5eaba641329ae150531d9d501
BLAKE2b-256 a28f9b5822c9227b6b4d43bf875df0a2527041de1b48444ecc4bf50202e84194

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc3-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6939424f6acca82b2009a765ade4b8d1529a016c9f4765c29219090718a3c34f
MD5 7549f3d5a4a7da87d92d581d3ab780e1
BLAKE2b-256 6a377c6c76104c8f450fd60c35afeae4ae4828ec786deed2651798689591752e

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2rc3-cp312-abi3-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc3-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 90be29101dbead996ed909e7384d574ebad0360a179b48a6924fb6b209ad24aa
MD5 68bc68564a4977652b8694247c7840ca
BLAKE2b-256 d7adb9f5e15bb5b24a1508e729b4dfe3fa08828849ff366f31f739bc88d5957c

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2rc3-cp312-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc3-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 068f0d74ab4b44492b716fbad09580cfb9ad6f616d05c85e5d66b991ce91ed69
MD5 bcc1f92e9eda09ab0e1867d84406ed47
BLAKE2b-256 408a19e9e46c64b2d79ba921226c8a278e5301f0e5bd086965ea7e201fb5accf

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2rc3-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc3-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0aeb8e53e8621300c8401cae3734e8352878f32645ebd52e38c4af755f3daca3
MD5 071d01b4eda3a073edf9e8810c66bc41
BLAKE2b-256 2cc9018c1f2dba6098e27c1bc3fd39f7981fa42ee491186c71a121fc6d99ee0b

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2rc3-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc3-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 910b7c4f73189dbab59fccb9bcfdc4c0fdda36f9bc7cd17aaa59226525a877f3
MD5 e41867485be2c530c95fdd8223fb5f37
BLAKE2b-256 9e6a8dd0e6d9b1773b7880f6a5589902bc02b707323f761721cfc572768ac575

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2rc3-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.2rc3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c520343b10d9b654ec4b1383bdc041fa1a0fd4dfcbf7b46a5cc80759c5904f51
MD5 d75ffe2aa1091c01416db47214f4fdb7
BLAKE2b-256 8f88b70073635c84086247af0b356a0080b459582d3d58cc582901051cef3531

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9d87d73c6f364cdf17e74935b417eecefd104a90e33468aead170e969ac1fda3
MD5 f1780ff06da8cfd52c22cc72a35e66a9
BLAKE2b-256 d153e20a3a030e11676dfd8c11a45c796e2c99fe84ab4995ea3591dbb668a040

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2rc3-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc3-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8ab9d1f3e4d4a1eb12bf12ddef87c321f49673d8ce37554c6113a624bf153850
MD5 3c9bf13dd480a4a6634156255e51f589
BLAKE2b-256 7f85d7ed770d55d327d436aaf1102adb5dca2aff01a4df01c7e22f87b0f2af70

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2rc3-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc3-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 fc0c2305067ee4a0246e9f7c57e38356b6fcbd67c4aec7d2afcd2983244d595b
MD5 1814e294a4638580c18e67fbeec797c9
BLAKE2b-256 522dc4cdbf7bfb3566e978bc23b3d7d8c97c3c99e6f75a2412de8914d0de76fd

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