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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_palp-10.8.3rc3-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.3rc3-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.3rc3-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.3rc3-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.3rc3.tar.gz.

File metadata

  • Download URL: passagemath_palp-10.8.3rc3.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.3rc3.tar.gz
Algorithm Hash digest
SHA256 d3e4098a9d1a8fde744e02515e7e074b0f05d4fd820b2540dcb9cbf1097fb8e6
MD5 5109541cb6ad201f4cb619b0b9432067
BLAKE2b-256 9fe9c8ad291eab29c093a75a10448265020c7bf99bdf0f909330c3429bedf5c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc3-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f26bb90ceaf509563939ff9b2f8f3dd0e37b9da59c4a52492c0d1b066ee06575
MD5 532b0d80b58262680866a2af71758374
BLAKE2b-256 44dc9e9b4586dfa14a19fb8bc302330f361510eba19c2b0f3415a008174afd81

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc3-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 9438e07b04d8cadf68ccc5f96b1a9e32ad02208632968ffc9b7c7406b610a43e
MD5 53483d0c84fc9da1dc87769ddd481bc8
BLAKE2b-256 778517db55beff00143b3e4d43dc5222125f1d48b6187213cb16ada0d8f8167e

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.3rc3-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.3rc3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6379abe569a77e57dfceaf2c27348757238264f01f8c360acc7e6beb47c085f7
MD5 f98fa5066c7fe4a8abd99438464e31fa
BLAKE2b-256 4970b095aead9089a44938d2a2aeff491a461ad02a83da9e26cd4cebf6419fca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3c8da209f29907b7a3c75d9542f9c2304b71376a03cebd46a3921c527caf46f6
MD5 11b5e64e17a84346da7ba1934c37abe8
BLAKE2b-256 d2793fae30c031809cb71228a25190734d85dcb2ddb0ae1bd19d325a164c59ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc3-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8baeaec0b2569571859d5ff63d549f8c728cfb7a58d3bbf996f5f74e3bb58fa5
MD5 c229cd766fe11b2f2283a73f7c789869
BLAKE2b-256 8c6c1a5534d83774013fcb8158f9b25e8d86be37d787ffe27e60e862bca91962

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc3-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 53176f85e87b37cfc957583505a6b8ad32e0b50c70e263a83208fc77b8461d4c
MD5 a488fcd7e5d9865800aa1550982cc34f
BLAKE2b-256 296820a77167111d8eb1172fb42e7073bb4ea3a2e8fd7596dccf2a2a821e29f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc3-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1ca03dcfb665540e782563d949a08cb82a61a061b3c6994f2c3c77eb11f66b94
MD5 1d2bdbf3cf662263860c472b02611c58
BLAKE2b-256 37ec8c8f624492aaa49407d6ee0c54d03402572fa182e3608961250ca88a01f8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc3-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 3a99da792638f8aa3b6ab2a3c66b2f9575df2284dc50fc4f23eb838192fc4936
MD5 ab4c2ebcf17fbe2f41775571b5c0c3f4
BLAKE2b-256 12a1bb9209d726fd1ef34470727dcf677f7b246d390e4418c453ad4a931c8a9b

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.3rc3-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.3rc3-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cef864812ecd65138734586b3003797eebbc9c0ef19d494ab246614ad02497b1
MD5 e9e7ab6feb8eda3c530f88cb0a39a696
BLAKE2b-256 b4dfd7ae72650fbe4e79d5e1f8e7810f37139b4a65dce475fecee1b07abb4be4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc3-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 bd263bb6d59568438cc18bf12011feefcbeb8bc8a60c793be136f856070239cd
MD5 a688c899b6c241c77c42bda05091da11
BLAKE2b-256 ea5440052c66438e0329d8b1f978baf6e0623c5c2ea5dbd047ba165e3b31f96c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc3-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 52baa37356a096d989fa1deb39ec785ed54a4034e94ffa61aa8d8ed23d005100
MD5 d08e56a493d98ec19fb46efea0722546
BLAKE2b-256 f74d55daf06eded01eec8208b9210550e8aa7b53163a6154e99456251ca0facc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc3-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d7ecdf4be59185aa8aaa5dedee3950a4965f53f0df574b02fcb6180a5ff06167
MD5 a8d30b9ac5e52dea6b3717ed6a07277c
BLAKE2b-256 6048c955d12950b461da8ae3a56b89a62d966ec1b4127dec40615245f8c5d3f7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc3-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 43a7b5476d1bad847d32866f6ab132a66facb0b21592251e29d31680465fee50
MD5 eca1cba81bfebdcc30a5594c1ab84d36
BLAKE2b-256 9c3ae7b3c65cab10ed62245c956baec2b52ec8744a9cb1cec4de8708223371f0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc3-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 11e04510fb56d5f5fe63619831a322776c5dde86a9743a20c90c563fc1dda781
MD5 bb04349c25334acb72e3f715b7d4e89a
BLAKE2b-256 c7048ba8e3564c35f58656dc1d0ed71528a5b812228ebc10d6a196fb3383fe5e

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.3rc3-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.3rc3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 aab6d4dfedc6b455bf82cc6ce5be5d5b022f7ac0a34f4e93d6cd9435bd0913f1
MD5 7ec9228aef38e37829a9a21493fdeff8
BLAKE2b-256 1539f9fe0c170b6a444ae650f4e1ded9177d52fb6457abdef0bee1eeb8dd649c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8cc8343e3c59db1c44830c777bbfdee571e74a5f43c63424dc3f83f1b2c5767c
MD5 f919d90722408f8a85887f4e76dc1db3
BLAKE2b-256 df78c1bcbfa0fb12b6aa8cc569a5a589ef0697882d25f798d3492bc36a9d488f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc3-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1f47899e6718bb63db4354b3191c66a893dd6fd91f3b42f970fd9893e2bdf775
MD5 45bb7f4d02a3e264668b0c68ab205b54
BLAKE2b-256 1c24e62f349d386978f0ca3a00662ea8e2ce644a2f7808cb7803f0a794ae154d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc3-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 7c5078622875c13da8791124a0bf15bf2fed186e360427b7b04fa9cb7973dd7d
MD5 78c324b1b0f225eb8c708ea68bea3813
BLAKE2b-256 d17257e6c413cbde69d9cffc5d34ce75e26f02d7dad8e613a105f71e6e1ed228

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