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:
providing modularized installation with pip from binary wheels, - this major project was started in May 2020 in the Sage codebase and completed in passagemath 10.5.29 (May 2025),
establishing first-class membership in the scientific Python ecosystem,
providing independently usable Python interfaces to upstream libraries,
offering platform portability and integration testing services to upstream projects,
inviting collaborations with upstream projects,
empowering Sage users to participate in the scientific Python ecosystem by publishing packages,
developing a port to WebAssembly (Pyodide, emscripten-forge) for serverless deployment with Javascript,
developing a native Windows port - passagemath 10.6.1 (July 2025) published the first pip-installable wheel packages for native Windows on x86_64, - passagemath packages became available in the [MSYS2 software distribution](https://packages.msys2.org/search?t=pkg&q=passagemath) in November 2025.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file passagemath_palp-10.8.4.tar.gz.
File metadata
- Download URL: passagemath_palp-10.8.4.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7cf3c20075994eb99925f29eb9e7ad65e1600db16fdc6284bb55d40114b3a838
|
|
| MD5 |
46ebcd6dd670cf0f4ae37a0c1c9b08ed
|
|
| BLAKE2b-256 |
19c9882237214467014d08f14451aa5da671365eb7dff25d1a0daedca8538f19
|
File details
Details for the file passagemath_palp-10.8.4-cp314-cp314t-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: passagemath_palp-10.8.4-cp314-cp314t-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 12.3 MB
- Tags: CPython 3.14t, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
841fc1baf11a200da2787ed21d14ade00520cf936d020762cf4feedd06013be0
|
|
| MD5 |
036299b8f24cdc67527f947865887189
|
|
| BLAKE2b-256 |
f97f062ce8a594fe893eed2266bd2e13327f25de788024e708a2ce0aaedf43e0
|
File details
Details for the file passagemath_palp-10.8.4-cp314-cp314t-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: passagemath_palp-10.8.4-cp314-cp314t-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 12.1 MB
- Tags: CPython 3.14t, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
79c9ce5832ef12f098641aa8f607a5159e6e64e0a7e50e7cebb6050d1e7ca101
|
|
| MD5 |
9e975ebbbb9f26b1c1255ae10949434e
|
|
| BLAKE2b-256 |
f4251a215deb06e0eae301426056d4552a706cb756e8b9e936b440007f9ededb
|
File details
Details for the file passagemath_palp-10.8.4-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: passagemath_palp-10.8.4-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 12.2 MB
- Tags: CPython 3.14t, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4bb5ad1232ae8aa20b8e2369e33fa25451cb715b4582f9a5e262a9c5e40a89d4
|
|
| MD5 |
7f2d8b9b01ff6a342adde46ca4d796e5
|
|
| BLAKE2b-256 |
5219998ed346dd4de6442da81dd77e452a92f4f35fe24bb43885fce060abee8c
|
File details
Details for the file passagemath_palp-10.8.4-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.
File metadata
- Download URL: passagemath_palp-10.8.4-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
- Upload date:
- Size: 12.2 MB
- Tags: CPython 3.14t, manylinux: glibc 2.17+ ARM64, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8096dd758d65657d4d958b2ddd19d941b0549a4046296665e8da37e920ccfaf
|
|
| MD5 |
7033c8c1ad8082971e5ecdce6c517d1e
|
|
| BLAKE2b-256 |
ca6538e5d24e684c81a90f0c1049606257ec961234da3d112524f0d038e872c8
|
File details
Details for the file passagemath_palp-10.8.4-cp314-cp314t-macosx_13_0_x86_64.whl.
File metadata
- Download URL: passagemath_palp-10.8.4-cp314-cp314t-macosx_13_0_x86_64.whl
- Upload date:
- Size: 5.7 MB
- Tags: CPython 3.14t, macOS 13.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb2751fe8070c2f090690bc80e54bbc49516e1b2e7044385938ff4bb41ade309
|
|
| MD5 |
c41b83105f53ea93238f1722885d1451
|
|
| BLAKE2b-256 |
8983acc6711c4d819a6ed0889558f8bfffdb416545a93e1fdafaf7efce009821
|
File details
Details for the file passagemath_palp-10.8.4-cp314-cp314t-macosx_13_0_arm64.whl.
File metadata
- Download URL: passagemath_palp-10.8.4-cp314-cp314t-macosx_13_0_arm64.whl
- Upload date:
- Size: 5.1 MB
- Tags: CPython 3.14t, macOS 13.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c11382a9e217a671f1f4e1f40256009b570fd3e0b2709745a474d85740f4fab6
|
|
| MD5 |
207a54a942e5e26cbc7d8223c6fd4293
|
|
| BLAKE2b-256 |
74e29a0f257197a76138b6c2f6b2eaf8f43a283e6971c0bd59260a460e05cf41
|
File details
Details for the file passagemath_palp-10.8.4-cp312-abi3-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: passagemath_palp-10.8.4-cp312-abi3-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 12.3 MB
- Tags: CPython 3.12+, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16ed6527e2a5def5253e0974ad3a2f840653c5e496ea6e691fc1a30d10288972
|
|
| MD5 |
5dc10bd9c346c57c22b8e7786b5ca722
|
|
| BLAKE2b-256 |
bbd32d8b7c0d623f63ea6f1a8688305de975a688a08bd494794a16b44095eded
|
File details
Details for the file passagemath_palp-10.8.4-cp312-abi3-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: passagemath_palp-10.8.4-cp312-abi3-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 12.1 MB
- Tags: CPython 3.12+, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be8acf26e2da781cde4edca2e5148124099889134bff225a09589edc91bd5496
|
|
| MD5 |
041284e5be28f205d29205bd8ddcefd7
|
|
| BLAKE2b-256 |
716804c12a2d29b897b019b898c7c7d8de9beefa5d89451fedb3c63dedb3f9f3
|
File details
Details for the file passagemath_palp-10.8.4-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: passagemath_palp-10.8.4-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 12.2 MB
- Tags: CPython 3.12+, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84a3752ea3b0f01774ea31544fef6e6d9457149db978af45c46fe7cb1598e680
|
|
| MD5 |
0758c6bef0667b529699291a348df1ea
|
|
| BLAKE2b-256 |
531aa518514a3ecb48a12d3bc20439c8b8bc40fab369cba14c2d52f052ba7aee
|
File details
Details for the file passagemath_palp-10.8.4-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.
File metadata
- Download URL: passagemath_palp-10.8.4-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
- Upload date:
- Size: 12.2 MB
- Tags: CPython 3.12+, manylinux: glibc 2.17+ ARM64, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
83bb53628831f6bb8b933168142b97b5081ab37e4d696b61568c9a1153dd0d9b
|
|
| MD5 |
bd16b9ef02ccd068f74a509d5d42d208
|
|
| BLAKE2b-256 |
e48e0f8e3d00e2d27464110681e58e45047da54e1f136c9613903ac8942f828a
|
File details
Details for the file passagemath_palp-10.8.4-cp312-abi3-macosx_13_0_x86_64.whl.
File metadata
- Download URL: passagemath_palp-10.8.4-cp312-abi3-macosx_13_0_x86_64.whl
- Upload date:
- Size: 5.7 MB
- Tags: CPython 3.12+, macOS 13.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73882058b07aec10b82779eadaa28b1ad9bc59fbe83b25eb8c6f613bb03e5c5c
|
|
| MD5 |
71c18d7a2ee2851ea05c9d145e9771b5
|
|
| BLAKE2b-256 |
5b30b0d84be45d12595bec5520296f07a6c5eb491965b0fbb7a570b0002e6d40
|
File details
Details for the file passagemath_palp-10.8.4-cp312-abi3-macosx_13_0_arm64.whl.
File metadata
- Download URL: passagemath_palp-10.8.4-cp312-abi3-macosx_13_0_arm64.whl
- Upload date:
- Size: 5.1 MB
- Tags: CPython 3.12+, macOS 13.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96882f939eb779007fa50199c6bb1fca33861ffa98617b9c1ac9e59fe879c113
|
|
| MD5 |
6150de5034954507e90ce2dade68d580
|
|
| BLAKE2b-256 |
27eeab367ea0f602140ab060f96238c276f0e07d3208c75ef92f58010e3f1a85
|
File details
Details for the file passagemath_palp-10.8.4-cp311-cp311-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: passagemath_palp-10.8.4-cp311-cp311-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 12.3 MB
- Tags: CPython 3.11, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1729212dc919907ca51b107a67978a8a94d7ba085054b9f86298b9fb693b014
|
|
| MD5 |
d837e2717caa7d661394d16baa8b76e9
|
|
| BLAKE2b-256 |
3ea0a6805961e50808bfaa4c84e32aeb1c42a49ee288fe5eaef02e3793008f42
|
File details
Details for the file passagemath_palp-10.8.4-cp311-cp311-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: passagemath_palp-10.8.4-cp311-cp311-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 12.1 MB
- Tags: CPython 3.11, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1b41950cbc6a145fffc98b97cdaa3340a4b836d66cf39de5bf9a0fd609ce92e
|
|
| MD5 |
9f13239d3158f12b959d37d04467217a
|
|
| BLAKE2b-256 |
d58915a651945e650eb8ce9b3bb2e2e8b6803b906b9baf59a23272acd40ea942
|
File details
Details for the file passagemath_palp-10.8.4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: passagemath_palp-10.8.4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 12.2 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e2677ee98b20ddb345bfaefa47e8e45ccbfc0249784d7cb04a2e19bd4e9dd37a
|
|
| MD5 |
43e519334a0c0bada7008273463bfc66
|
|
| BLAKE2b-256 |
51c0adc82f8463cd832d16a18dea92ad8ea33916ca36489ce1495108c2e876f4
|
File details
Details for the file passagemath_palp-10.8.4-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.
File metadata
- Download URL: passagemath_palp-10.8.4-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
- Upload date:
- Size: 12.2 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ ARM64, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5db64f45e17a99bb41f38b7a1995ec0fd8b00eae04ae94ba9be287d4239560e0
|
|
| MD5 |
28aa3f49b64ef741c4d908f1eee308d1
|
|
| BLAKE2b-256 |
06cb437b760bf7d4187d339d3f346204ca2da5174a8762fd1532d58820536e79
|
File details
Details for the file passagemath_palp-10.8.4-cp311-cp311-macosx_13_0_x86_64.whl.
File metadata
- Download URL: passagemath_palp-10.8.4-cp311-cp311-macosx_13_0_x86_64.whl
- Upload date:
- Size: 5.7 MB
- Tags: CPython 3.11, macOS 13.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71550fbe03e041f51feb28d4f18b85f057d7383a7efd1c3d8d5a90e682e61d54
|
|
| MD5 |
d47742f5ab92a7641497fb90917746f6
|
|
| BLAKE2b-256 |
6224ab8220949d75cc71581602adefa062aaa95af339b019f922ce97e0a515a7
|
File details
Details for the file passagemath_palp-10.8.4-cp311-cp311-macosx_13_0_arm64.whl.
File metadata
- Download URL: passagemath_palp-10.8.4-cp311-cp311-macosx_13_0_arm64.whl
- Upload date:
- Size: 5.1 MB
- Tags: CPython 3.11, macOS 13.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fd4fe7c2b54ed61309836464870e5902387dd84cafb31b90ea5fa0e46601d714
|
|
| MD5 |
b69b54ff78a5bd9c3bcfe0ab7b914cc8
|
|
| BLAKE2b-256 |
5358c5ee49d4c41d7f8fd711a4562930c5fa8f01234c521e9eddf95c96cb2b5d
|