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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

File metadata

  • Download URL: passagemath_palp-10.8.2rc2.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.2rc2.tar.gz
Algorithm Hash digest
SHA256 bc52361f1cae385b2971f35fcec13837be91b4b7e1e70e3f8fe17d4e2337dd3b
MD5 e2b64d7042a0d2e4cf281116e990d1be
BLAKE2b-256 2956e0fa516ffe6f0d890e49080b51d32fde5ff818a292a43e6a1a1a1a7d6642

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc2-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9e92b9c92320935678d0df531a3c9b721c1af88216c092681d3a31e95edc1f51
MD5 eb8991cd2643ed159c37239ca01a3dac
BLAKE2b-256 f2180b769dbab295430c472d4d30b849695214543d054c0f1e70efbd4760b81f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc2-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 04e89cecbc7e9463b4f1488055a7a5ff3fb9e3c77b1c5086d4b1c8353c0db7e4
MD5 f75dc6347f32d377756f30a1565cf199
BLAKE2b-256 285bffbc8d4b75db82369268e804fcf9f109e46e4740d5b619272a3d6d4df73f

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2rc2-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.2rc2-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b320d6c8d1094b2bcd7ef8b1acd4cd35976a4d3b61cb470d62ea00d795637009
MD5 f75d05b12162c51b51c68279d370ea9d
BLAKE2b-256 0182dd4b9d4223b76effa36f960af5da4120d403a6edaf3c56833ac380d4b1c9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc2-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 105f06ed8a9465803f927edb5050656feafa841b55ab4adbdf29aebfa467956e
MD5 d1e009d4bb59d54fd2b87f87f5906ab2
BLAKE2b-256 699afdf54cd6760f657aff5b02ffc374587351e2f10062412973e26ad1b9f8f4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc2-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5f25ff81d2bc071eedfc76aaf394d410bfd8926877bda9e038b3c6f565b19a1f
MD5 50125de67d4685328894a4c3394d8f3f
BLAKE2b-256 3846b55af8f7a6413ca6bb0674e479ff6e18f7ef9da73af1973820a08fb3c7c7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc2-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 1f637e5ca7c2440a02b9a32d8076e81766dedec06d1e2ee42182e62fd8f590d3
MD5 87e1258401d94101bdaaadd8ec2178c8
BLAKE2b-256 e9fa8035a3a9cef7079b2c52d0e7ef48444fa5bedcc804c9848fdadb4f2a644f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc2-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f2625a36f34ca188c434ad628b7016db99fbcbf5d9960a048b3a47f13a2bc610
MD5 fddf9850a559865098ac3d97144fe457
BLAKE2b-256 dc462e095d2d7b22b1df167a943a9b379e597c440cbb40e46048284ae8b4100f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc2-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 7e7a1eb1c2763b432a364b7f538efd8f3a952462781218f7c82ea43586181f8b
MD5 0c033eff2a90420843d7c6114a2a1e1f
BLAKE2b-256 d4ea50ba93492742c2d18df61335f5af294436fe47d39a0330916ded67581509

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2rc2-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.2rc2-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 95da6020f533e4fb3c1cd1d7bff7d62e2b61f1e29f6914b93a221a18800cfe44
MD5 5d4fe527f272a6b80dfcca6ffa7515f6
BLAKE2b-256 fef1d1a7df9b93019b45ea7cf91e5da2ffbc6d64628e72bf9c705a6e7a65e20a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc2-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 7819e57a7dc2054b4f5148c060e625801804fb5e4c4dc69d4caf5de0273301aa
MD5 2a3d76d1aa489c806a58c6d6cf2d14f4
BLAKE2b-256 12b0587e20880ad031dd976c4d8c3c49f086857442471d0dcd66eb56d0601e66

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc2-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9d18d95a3edbcc1cf49af8fb446417403e11e0acca03a498e83cac5fa0d3441c
MD5 6e3424921a0f9c4b783c385b74031257
BLAKE2b-256 7086046a5cea995d109c3f4364afb32f4b92dca09b43bf05d5b938548841c26b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc2-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 f618faa48a78beb0ed5b6c5c0c8f897c4996acddf9816bbb0394338db2e7df22
MD5 a342c4b833e5c63a07efa2ab209cd2e5
BLAKE2b-256 1b853fa82122225bf953416c759d09e437c95c94f0fe0a56d24795adc5262b7b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc2-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 aa34df6c340c1c3ce19ac266d61ac0e386ff7db6d93157359a47077c43557ca7
MD5 b95b8cf6623c1477daeb990409624759
BLAKE2b-256 71791fb0ffe626b7cdb01ddf0791ff4a48598b54177624cf40e448803040734e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc2-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 e7eb23b5847870c2e558fd59a18ffe583e972224edbb506b6e38de090ae47bef
MD5 0cb78b067158f6b5363f9775d3906445
BLAKE2b-256 6f0d0e953aa8713b790cb9ff314955536f3df35b5165df82b83c5b4bda27ed7d

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2rc2-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.2rc2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e0a83bca2d039a6fc9ae950271c3cc52e74b871affe599838590da9eb4444387
MD5 554d23c90020e5f1b871e02e3125463e
BLAKE2b-256 100e4ebdd70e22e92e59343a78709e6359e41ea11af6124dad28f4a0bb27d729

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc2-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 94863fb713a320714586a1c362713d708a4b9c379f5a7e9d914dd4c80aa719d2
MD5 15e3d1b4c95846087ee99fba440782a0
BLAKE2b-256 dc16eb2653192d217ca3076f51ef7770c80eacb505a935b2ea4bb319ab081572

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc2-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a717227282f6323cc22fc8c68faaba54a18d2e290bf36911989135aad40a9c06
MD5 3dc2b592af2f02d5a953a4cbd117533a
BLAKE2b-256 63dedee002aeefb75bdc8e4f179c4c02e278ff5db571c3896dd3df8fdab66f79

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc2-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 1802f2df0a1d990c8fe6b8926ed2b719e3f28a73867e49c80c9661d96f2a9152
MD5 8e3ba13b11628ffd057e90576e47f0e9
BLAKE2b-256 6d150a6630e00395905fb216abc97fd964a5dde76663be95401c1e5fbd7c0d5f

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