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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

File metadata

  • Download URL: passagemath_palp-10.8.5rc3.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.5rc3.tar.gz
Algorithm Hash digest
SHA256 f769cb7a5b5bd7d521ec63d8bbeb942ed1ea95385483a71ba64d0b1ba9598bd7
MD5 a6dfa53cc39c6f7ecc0a47c5ea5a8bcf
BLAKE2b-256 7f5250a1afeba9c5bb07a3acf8f5e8e9ebfebcd1dd617b61204d5bd5d8dece3c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc3-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 fb5063a0a3d300131f375318c4d58f280e11f9f6c245e88716b66102dedc86de
MD5 8e55a5ded8b46b94b3027256c9bb56da
BLAKE2b-256 46651ccac366c330cd48e0e10fbfb87a48a9e24c79b0724b15660090aaa1fcf4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc3-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 5a0465cdc9e5b5bf1bc60e6c5f4f1f15c27fb2978af77c7cbe8fbccd17c356d2
MD5 735e593278600bba82c8050393319f3b
BLAKE2b-256 6f488ee537e40bb397e3a33037eb78b3e16f3c80a38367dd83b2470e393c7fb2

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.5rc3-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.5rc3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d05efc478ef6af4792b50947a27e22d111b970a42ec97b4af6dd406fb5f16ec5
MD5 0bdbfe842cc1468fccb087bb41e21549
BLAKE2b-256 689bf11dab4f04c97cde4bc1808b200d3fcc49d960283b7e4a9dc85e5d53b168

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c6e9dff7bcebd7cb6ec738276ec8068268ee7df58a4692a2fb90743293dba803
MD5 07ba51051fd4f909c8395d73a4e71394
BLAKE2b-256 2e9a8580313e122a976c0ff2bb9ad21e80a16651539387e3249455a026fd6a35

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc3-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 507a00a59587d9e6c51a7f370b68b908ef7397d30acd9047b4ae2868d112c377
MD5 6c060a8b74b3b41f312611a9235ba341
BLAKE2b-256 bac04fef658d5740d7317cac410e6effbca7562b09fa07ede97ff7aaa6698c3f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc3-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 48cab54bce9b7cc808006e3464f845988c7bfe5aad03cad0e6fc170d64ec5114
MD5 4bdac9c60d9d84f9fdd1529e818e2bb8
BLAKE2b-256 9f97cd3debb315a37645bf372dfd2a8fc92aa8950091a4b1330ebfbbe9953795

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc3-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 df210f0db127b2db9dbed904e25fca5bc9adc44630ac1f299569f275098eca29
MD5 e2b6e605266eecd4f77c365bcfad46d2
BLAKE2b-256 46955c83ddb42cf15873df4e99619dea3e858746317ddb5ba1839c6904eba804

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc3-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 3d9a52768b5f2a66480a2b718ca5a6991b00bc1a960572c13a1f4ab02c95927e
MD5 237f536c537ea17452085c8d178cb488
BLAKE2b-256 202e6f7691ffee226323a51cb53a56b7d9613c4a1f1d391526a8d0d2f2b47166

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.5rc3-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.5rc3-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c7f61c6d5397b20bcd5c616c7e6bfadbf728d08d34f13edb76a4d219df76bbe4
MD5 5d19fdc6263680e3f8432cb5b3ab1f2b
BLAKE2b-256 ec57b831374a266e808104a85896d1e65f7f94d0cd5196c4b07aac190048e8ea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc3-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a2fc0eab922cd8b6acda905f06c2b86125f0eedd4e9bf625461c89f24862890d
MD5 71387fab326c25120e9782a2a2f34110
BLAKE2b-256 3f0bfd16470c54294b78e4f60e5bc7eeb7dfb05d75aa08ef32d8866e51998499

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc3-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0505ec665fa7de42c04ad6eeba5d6267250792a489758210d3d15ec880e54c37
MD5 de212fd08f17d7e1324030048f15ce94
BLAKE2b-256 895f5f0bed12a2eb514f36938b1845eee33363b9013f3ccffc9b154e363b7cb4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc3-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 3aa0c96c67c6138d66255603fa500b19e5bd0fc731de291ac88012f3718a24d8
MD5 453f47b352ce69536a3b2a9f8956ce53
BLAKE2b-256 887542cf4cefe97cfc2e70da9c2b069e3bff21a6b222a7388c42bdb72cd84562

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc3-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 77337c2002ffab194f8769e22b6419b46be831bfeecc098f2bccf7a4afe8fed7
MD5 56a7818ac6f3723d16fa2f198a521a36
BLAKE2b-256 9c7b1d96f02d1dfe92afc2285905a31e9d25f54468b43466c3271bcac156b379

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc3-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 8d2c1ff83fd746ac2386f77d80462b140697a2ae492bfd46e87d62f3578cb5f7
MD5 f67095f1634fcda675a8dbfd4708d752
BLAKE2b-256 318541181ced99de8fdfb662d5eadb2f7306845f545713dd03d318fd9368af41

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.5rc3-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.5rc3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 92da67d19d1d7267510f0d0df142319357067cbf3b12f794d0efb265d7f8c341
MD5 543ca9c1e09a1a25e645c7fd05c6fe20
BLAKE2b-256 22755e93ed9c309c26396b2104a2b0d14d77410a9cc68d9c548d6919f64f68d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 543f0c74f106c79330025b1cc3f6c69623cadb17b9729597500f3119cfc541d9
MD5 4485e1edad42cb891d32df253dc68b17
BLAKE2b-256 2c1bbaa7a1d7136ec195517ea8480b5ac54f9900be38517df88defcb25b975f1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc3-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b1442c51e1970459732c5c4f591d52c70b8dc0f5f22557d9488107dede60e5ab
MD5 d3d297d3b1f0caf296bf1ff5d5639d12
BLAKE2b-256 7e99def5144c483fc6655206c1b1de9bd419f56962a165bfef57b2ae165dfdb3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc3-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 beb50e852ffc0bf7d777f1e1541e70654e759caf921eb66f14665fc19807c1bc
MD5 887bfe38038b2a4834803d765f6d08e7
BLAKE2b-256 7cec912495a1ef3bc1e0405c3a2d6b1b728f23eb38510ea3412f9eb094621fa8

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