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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_palp-10.8.1-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.1-cp311-cp311-musllinux_1_2_aarch64.whl (12.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_palp-10.8.1-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.1-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.1-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.1-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.1.tar.gz.

File metadata

  • Download URL: passagemath_palp-10.8.1.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.1.tar.gz
Algorithm Hash digest
SHA256 f8c61056e3350536c9a03ddd2322866f925dd092c1b433162ce9a376cda7f5a6
MD5 80e1ed50599ee2601af1400441f65cac
BLAKE2b-256 bc4e777f569e5fb0c30cb3cf1de2a1f3657eb190a04618d0b1a32641b6632923

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.1-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2b22c4f203cab3c2f6df786a747861e1b220e140ab1108a07dd70097f14f476e
MD5 1d7bce07b730b023f1ced0c0618d04aa
BLAKE2b-256 44a33b63e84691810636d4752413a7f5b0b6496844ce9a1827f680eeb2a48403

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1-cp314-cp314t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.1-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 4faa2cbd60bf89e7d0bfdbe6547641e84c67f3a27cba42b0b174e42e8ad706e7
MD5 d10b9fab8fe452c64f6e1567ab417c6e
BLAKE2b-256 acab837563524e34082a6cc32f483e5eed4681af861c5a9d6c7614bdb48518e4

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1-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.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b6e5ddac35d1a22fb466fd56e83d320f3d5429ee383e80c3343af3fd922138e4
MD5 e89eced3499ffdd05ee7895dc430a472
BLAKE2b-256 fd3c1b4b0041c0b251e2f730831df9acd1f172aada896ab5d46719c9e883ab2a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 72036284e0496323d36ed83c87a65807282bfe60f5fb8e55862bfaa5a3ef8b08
MD5 9cb2611e5dd0251f3b3eda2c7495a653
BLAKE2b-256 e6a893a87ee8927987e072771ca4c40de84f5a6e7cbe1da0d8794689b01eb7e1

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1-cp314-cp314t-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.1-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 bf10abd4d45696dcb35d326a2d494c57112070d0b192e657326dffd38395f827
MD5 bc774c6a903785a4ab077fd120244872
BLAKE2b-256 89c7e6bd1fbaf0ddc197d0986a291ec333f104160ffe6eae9afb6a2f25144a49

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1-cp314-cp314t-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.1-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 4e540e7853e543910f70350b81b3cf60d5b54374be7d872226649842c73aafec
MD5 a012d327cbabfb2cbabdd0122fb2454f
BLAKE2b-256 a88c84cce4615c864370d3520116ad182282c435fb1bd299698486d77bbc18bc

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1-cp312-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.1-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 82738fca18ae915cc7572316e22cd48a8f7dd9ba9f0781ce933713db87439b1b
MD5 4d1dcbc8f5dc15890c77cbf5aff59623
BLAKE2b-256 55c492723a8f4e030f1b05928c6a9d110a8e2f38c3f353c448b6ae716758832f

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1-cp312-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.1-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 924d5fca7cad25c2c98e724ff51b3f5ce5505276d20f0f63277111a1af5e692a
MD5 be5affe0f30074748b3281016960e4b7
BLAKE2b-256 d79ddd67b50e5b51ef546099af9766d4ed970c44125ef627b54f41630eac9d5d

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1-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.1-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2f1d7c89a77b028ccdd156f81872045377b15dbdda6d14c7b52a7f09c9aaeb5f
MD5 e3644b937f0eeffcad69cf7738ffcfb1
BLAKE2b-256 93d0cf0b5cc16aa353d2cbec0cb71e73230ef1464fbc3d126cf1982e96972160

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e0d5e85cad5ceb14e7235b39dbef2912db636f6fca0771f751c70586d2f9e0dc
MD5 319300f20eb9dd642b38ecaf4aca3957
BLAKE2b-256 eb2aaf1643926dfee63a42e752e3fd05dc613a406a243ddf1c88825c9a8b96f5

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1-cp312-abi3-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.1-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9a7319d3e4758a70dc5e889fe5e78c09b5b75b73571baa3cddfced56cc32467c
MD5 48cde0cfb1c0f6b45350970983e36b21
BLAKE2b-256 60bb00327a1c96c8a80d7154281d878e14e4d5f52d84ca9052cc2e6529105ea0

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1-cp312-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.1-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 bf8e3f031b6246cb3428610cff3056c3b7f26eb6cadc6f4633e716269ebc07b9
MD5 3e03ca57e47d0dd0bbdec6596f375faf
BLAKE2b-256 43330f0f15579a316c17b1ab2c0f75050cc6f602129d7f696ad858649b7d5c42

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.1-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 eea331fd1bddd68d82bb27561a6fb62a3bb0ee355cf898f54ac1ed2e6048aefc
MD5 d2424ce521a2c02f4bccab1c708d1501
BLAKE2b-256 1f860bd258cb066185e590b2ba98b12a193aba6197a44abd93968cd45f03ac6d

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.1-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 7237fcd026661f45502567b511feaa6bfa40a7909502050e5e4df209b57ad32a
MD5 7c35a69cdff18d319eb5410d80cb90f9
BLAKE2b-256 473b9c225f6480d001bdb190b4d0164d74484f3e023576a23947a8d5d2158658

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1-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.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3ecff75388a1926a38c227ca5610f6171b4361465ba4755a7ff3b0252bdc07b2
MD5 63e2a2078f1ba6a200a05e2dd0c1bf10
BLAKE2b-256 e4948a3b28dc6a58e6177329524b3807c6e7a4476f502bbef7950ebf65761c97

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 145357619a6c1c98f269682222cdc78330079d506bb2677730d77e6cec2fbf95
MD5 472221a2567e57d0574d0f5a79fd9736
BLAKE2b-256 aef5233f922ae2e7c503f4432d5d56314cf3f2c37526dc32fb543ddda99d90a5

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1a5d6b1f60457445cf0af71f451ed8b97fcd803824441a55ee1c45e130665380
MD5 b3fd887aa7e3754e9b5c70f03a4a327c
BLAKE2b-256 bdbd41ecd1451ff693bf98d83a107cb41190e866fd3c67df0440258a567b8b13

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 9775e7a5cd692e591fe1021f21f2e423be86c7d081f90b2336a890df14f8a72f
MD5 0843c9235ef8d1c7f83da5173c6eba38
BLAKE2b-256 d6c6414a34975cf39c2ac2c4ceca71c03771c15b1136c482114ee221045ed0bf

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