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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

File metadata

  • Download URL: passagemath_palp-10.8.2rc1.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.2rc1.tar.gz
Algorithm Hash digest
SHA256 0189eb54010085232610a385738e08dbf4e15bc59b83d4f58b90cadf4d3a50a1
MD5 cf1c11301cdc38b45a27efa46651663c
BLAKE2b-256 80577c6546548650a1a2eca9a930848538e77671a890f6e7f1a9b0b70a7be10a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc1-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 29afb681d939eb3a45925c2dd514fbd4ad0c7e63cf74e6fa30bbfce10f1b8127
MD5 9555c35353280534b8ca2626b6534281
BLAKE2b-256 822a679e8bef5c2782f048984257c25411f0293f18c8c46babcb84f4b427c333

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc1-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 b43814c7e22e497f3c854ab09428bc3d2818c06b6173df706dbee7697d344f32
MD5 a4173493a7a2b929eec212608098e60e
BLAKE2b-256 a9a7c7be73506770b4534a237536de1adb17eafd75cb4fcedc53d4193ead38de

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2rc1-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.2rc1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6ffd09ea9fd9cc9d1d4e9c48c1854f1da63b55f31eaa44e42e3bb9a32e8c3edf
MD5 550ce98545c33b3b4937959641288382
BLAKE2b-256 05db0dbcb7c6c709a838e5b1393f20410f2e3fbac0ea70f6b907eb0ccdba8645

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0b304ce9d964304218e15b6a7a42931c43c9cf614ab71860f9b5f9acb507d02b
MD5 5b4b96b37905ac28ba3882f25d326452
BLAKE2b-256 7d597eb8cc585861864f158857c0a0dbbfb17d83143806a6f35d0c067c97535f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc1-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8892ae829f6dc6f92a9a72ba045fb6cad05aa2714a683fe31a94e5fa0d9defa3
MD5 0ee4023e58d41337afd4a95da58bdcac
BLAKE2b-256 04a1135de84eac9192356e50a252e460365daca3a644b90f7f5332d81229f1ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc1-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d0d2279f7f02cc8f5cc73d66a9e983f2b99e21d0a87bc23b6fc3529afda0d57f
MD5 28f41e390b2162e6c14571af0d10bf81
BLAKE2b-256 4abb3a685fe9365b6fdfd63e871d7299e3a370027120a53a7d7e9a59e194abd1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc1-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 5ea4286750e74e28dc04d641d660521fe121b02109e1c5e443605f3435212b69
MD5 47449b45f63321fcccc5c6e8ecc7a95b
BLAKE2b-256 e6a17e0779cbd3638dee316b93dbda9abf6f9207038f0773cdc776bbb6876c75

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc1-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 96a13f26f69b8329b195941bffc444e8e16358f48266638f29d204a280975c4e
MD5 6108f2e2c0382d27adf5041b9a1dc2fd
BLAKE2b-256 8a348d984cc096c87055f0e876a90a372a06a0c14b59a742eebeb2116d6d4a56

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2rc1-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.2rc1-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 db2c9ce709f11b125a62902ae6597981330282a2769c06348ba10474b403f46f
MD5 99947022e65d018310f361abedebc483
BLAKE2b-256 fd9c683533aebbea17466deb2b70edd98a3b17e303c3def534cce75749b076ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc1-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 37feb83f13795a273a025a35f16967e115bf4d3a7cfad61fd2a6a0b2d063cdbc
MD5 a071eb4b0d342d2aaac83483c4c9c40e
BLAKE2b-256 e0dc375899808d0034d3430fccf0a7a471bd277b6a87d6f59fdc7b2d21726ea9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc1-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 32efb144f250cc4500b026176268ae201f12db7c4cdaef34294f16c78ea423d9
MD5 4559574ecfabba2fa7e0adf7c0feff6b
BLAKE2b-256 bc5e500a6d4bd272a2e13ea15ce7b5f0ec5f7b4dcaffc2a0fee8f3127dfc4a55

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc1-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 bf66dbb74f3bf0e0da7110ba4bfabbaf80dafefb38aeba303e69971ddf12e038
MD5 458bba070d591745d8429e0179617055
BLAKE2b-256 6e00f4892436f5e8b38159d097ae5310df721c54a0e075e5cd29b326fbb0ee7f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc1-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b66c7a32532a3678be1fab0cd2c06a25e867d56ef70290f2b1d1d920d30b0076
MD5 c3f68ce858379c0340198e6de6ae3bb5
BLAKE2b-256 81fd6557efb897fb1cc9629c52167e0431e4e4cde22f76d9f12c5a79832bd576

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc1-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 d73a19bf34967392c544ebd16ab23a48837644f20f0c2449ed956f46b2667220
MD5 1323e8c240dd21346269de54e4d1ee83
BLAKE2b-256 452081f584922f0ce6963f6a0c27c92a10315110a26b05fe27e14060c893d933

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2rc1-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.2rc1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9e91b08f24266577f2cdeb19b351dd59f8919fdda7e2b70200b018d6ecfc6a67
MD5 4939b72a096e2354c57f1f40335664ba
BLAKE2b-256 cac00490b5eb5a0093ed7b5649009216b4a5c65aaf666b6afb1e9f4c08b7c3a3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b9806359c6dc615974123dfd9d99fc23a822481984b804172ae3afd2b3a318d5
MD5 0d85a091abbe1a3af07efbd857a83a97
BLAKE2b-256 09351949e5a656251e72311723e4b27245baf1f59b8ef7e32ad167a781375448

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 570909690a8a80aaed73f3d5c35f56a6ef00091f593e83c24e1a6e17ee0a1c46
MD5 d3308ed80e5b01832ba2f66c4ae8ecfd
BLAKE2b-256 b6c1fe6c951913e169579a2fb4dd80ee8e989c489285f1e012d4bc2478d368c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 dc5e38f43c295f79aebb760dbd4c25ad506cd0c34680c3f81023c949f53b4e62
MD5 904280d5dcfee9fa0651af639c2e5cc5
BLAKE2b-256 0b83a61fdeb0bfe2f8776358bbe89239e603b051c8a3c2084239e385b7025e57

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