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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

File metadata

  • Download URL: passagemath_palp-10.8.3rc2.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.3rc2.tar.gz
Algorithm Hash digest
SHA256 74f9e7cf1f6dee3d9c076b92c41b70f620417bcc34f62c9e1b2307e2b934e8fb
MD5 032c55130c8402c3d37ad3ee7f39951d
BLAKE2b-256 3380a406f350ca415d1599b923749f8b7b0d672754db2de8d6b2e2eb82731404

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc2-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d0a6c786780c94d61de7a0161d0bde68290449679d6f6d17abd99e6a30807062
MD5 3836f6ab4913c3b7bcbdeacf16e5a416
BLAKE2b-256 66b90c889b3b15054187748c6334740753c1836f7e3b67862eac7513a21d1c3f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc2-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 f2700693047ae9c6298ce013f53aba053973357548aadc46ef082fa5b4b6b88b
MD5 87fc9c62e35b5e887240301f92f9b9a2
BLAKE2b-256 24a391196670fce54b9c87b026126f7e5dba029496003f42a6c88763ff92fce2

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.3rc2-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.3rc2-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 214d53abb1e8021d5ab379d591c45479f823cd92eb038513a2c0d2c0e5be0411
MD5 52f4dfaa56134d54cc92e2b109adb1dc
BLAKE2b-256 1f040b6a25f82828ece7c3a2f577d4ee39f29be291bedd43d88de56335afbf3f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc2-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 512b93e837ea76e9dd2976c962de84112c95a80290963d2c64c4f34ff03859d6
MD5 85a880515aaebcc7c871522b82c12687
BLAKE2b-256 d0941e2eb59084ef3ffad7566dc54c1846276245202328392f29e1052103d687

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc2-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 84a077b1fbf7841474267c72e53defc2d9a0f5e28ac471a0e49e7dd9e8d926ca
MD5 a29e2eeb947f650f3835ae83a23f0c50
BLAKE2b-256 61facbecff3c2b11c381f9635c748e0eb189c742325858ae17a4d7b1df8ae664

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc2-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 179eb9dcd62d480ffb0ee8b883a01dae2365a0169a7ce72155d85221216003b7
MD5 c29b01cd862ab858f7fddee743ac7c4f
BLAKE2b-256 e18cb04d1e6b9b02ff3955f095fc6ade01124bd48caef7168940ae994f2599ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc2-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 63c6220bc7571ae4d41a56f2035ae2425a619096846a7329931638fa35bcbcb3
MD5 beb00e3be26a2e0c8e47fa9dd327c862
BLAKE2b-256 f8a199b98843e7f6d716b9b9dc4b18cfb3398b055a337e52dd72867197210e25

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc2-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 d726c1541b6b12f65f93456125b55510d84c16cd851ebd89e8acd8ab6169364e
MD5 0ee9d15e5b57e05af317a10716925dac
BLAKE2b-256 4dfd722ebc6fec3267413b6e5320bf5efaad9260c5d9e1d4f3f1d1c8727defd2

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.3rc2-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.3rc2-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5c2c6dfe9a715bf8381ce2197355e532850bdaa1a5c0ecd8ba827386b00df738
MD5 25b2d0c5cb1e52e17c325057bd33a6d5
BLAKE2b-256 2511f368d5292e63552bdd82046c9b38c3f252535dea179468fab0bfac5dbc3f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc2-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6f9afdad7eb2302c36abca322f0cf24d1ff510132ec44593ae29423f8365c84a
MD5 2290d167d741c7b10d1050a933c577e1
BLAKE2b-256 9cbc344ddc63adb57f45841865e8a76e786c36d4491371edf749f8d6d2f1df01

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc2-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 06337f0f9e80f0546e2f2cca6730de1336ff887fe782b2a23ecb067a25240dff
MD5 97883968d90a73aedb23f750a1f15610
BLAKE2b-256 d5f6038c14c05ef08f3994855aff14eaedadb8cce2c02bcd0dc46531fac91fde

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc2-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 f304a755431d4948f14cb00f7703ff532194afe888722d3e868392af0dd61d95
MD5 92d1ad41cf7f3914b6f96d7b84808c52
BLAKE2b-256 076fa0e0b6d828468beaac20a4864c72d276d838ad493d250cc73ccc2aab2e48

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc2-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 352264b65c3e72d5b3723fe5b84a26e3f0f3f9cca13b3ed3d0ad2a6eefde8db7
MD5 cf2e88300438d833c29b3ea8e954115b
BLAKE2b-256 9d2482271b9c4c20a3b7050121bae374a80ae2d46f4e5e23b5f826bd36b99ffa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc2-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 5e4ffa4c25f15c661a6b890f4d7d4e7933aa99a2cf0a7025e9ea5abe026e56aa
MD5 67079f2ac169dc7cef45e89b2118cb6f
BLAKE2b-256 9a20fa9cf87ec37f0c4c0b6c828154f7a9f347fa24eda45f5e748ca916154c7a

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.3rc2-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.3rc2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4e0b24915f8327c0ea8d21c2efd97ab3fb2d8b76d531fe279f95d39961c376fc
MD5 ee2e07976d7d8bb3c6ad5095d921e8b0
BLAKE2b-256 f1b732813e7291f2ebcd7c180cf2f0ae04321dc3c8701b7e958b396847dec358

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc2-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f39c9b89a415c32194100b020afba412b3e3ce59f27b3f34b871bbf03b633aa4
MD5 6304606803e9d223a5fbdb93d234dd30
BLAKE2b-256 b955d3d5de1922ac6d29284a39d377adda9940245c2942b2c065bab6eef016d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc2-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3a781862cbc2b07b29b418fd0e644e134ed7f59ddc426c47b4c19c80d3760de6
MD5 a92bcba3c0f3d99d64ebe47d70868bde
BLAKE2b-256 63b8a9d8f6e13f7e6c9d7992361d4efd6b87060b4a6074ea6d2bd3fed2c61865

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc2-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 2ade42da7d8bc2bc245158137fdaf8763acaee6d2f9fd0e243bb4a152fdbf2fd
MD5 2537c8f2a50ff9251c733eeba1e9ba83
BLAKE2b-256 54a4401aa7f30b0e269d1204e952705bb6a3e88df55a0e9a22008e0abc3265fd

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