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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

File metadata

  • Download URL: passagemath_palp-10.8.3rc0.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.3rc0.tar.gz
Algorithm Hash digest
SHA256 e29b323157a357a32cf9749eed0038694ab4b164ecf85e28a27ec8cdbb525e6f
MD5 f7ae251aab808646f91adc0845bfb292
BLAKE2b-256 df2d9ab302284f4b84a9f82bf3ccf8b6566739feeeace4af5aef6f8562359ddc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc0-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7190abd79c0970d48f9feda95b5f5a996a1bf63f2aeecf09ff3cec435788e260
MD5 dae249dcda36e5d3ff3b7435b6f70cea
BLAKE2b-256 cac7d8c37de305d39c107a8d179961a4eac27e0fc166c4eebe4d311b0cfa0ad5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc0-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 deeab66d889080d5377369b7a187ae7938fefcded61fa7919cdcbb1ff9e939fd
MD5 86090bfa51dbc81d6c71a8c4454801e8
BLAKE2b-256 2556dd58ba519df1610ede57fee2dabd155fe45e4508a37f6273ad85787c1c39

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.3rc0-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.3rc0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b924a8d7ecaf8a1e8e3110cfe6ce90ffa13e1c68ab3bc546d6248fd9c14c730e
MD5 424c94c4af939e6c4025344d6e3e40b0
BLAKE2b-256 7c35a9fad7cf6385302ffb5e6684f6004b22346e052fa8ac183a87ce5734ba21

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d678a5327945e15a583c30a08717184992540e07724a35293c11a83b4cb713a7
MD5 2f181e1ae9d4da58d141b7f6cb01f661
BLAKE2b-256 89d5a0d74f7d8aa220225f34b98c5f9665aaea9b5c2c065bbb32a06f2140ed46

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc0-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 60c4f4fa761340179b9a844561e77d6c564ee75be1c9c7006151ba908477412d
MD5 7c6bcae9ab4d64ca9d005e4c4970b015
BLAKE2b-256 121e267de39877e0527684863d1ad630597ee29b5e7f2f0ec7d0313838aefa37

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc0-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 f5202fad45168b39c1ecc2e33a6827a793765a2b54fa9a123db58b7f268a838c
MD5 22a8fa6ef80d066146f03ae57e3f92e9
BLAKE2b-256 26accb9e33289660a9a5e414951917c6ce189a033adfd588af192f14e8d10e29

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc0-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 bff644f63bf84b355dff952186226cb86fc12908d87da6e8e91be485a7f5ba7a
MD5 483a7c734b36f7062fad0213519870c4
BLAKE2b-256 10113fc9bc81948c17716df7418808a879064c2f18c3866eafdf9fea4192dc67

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc0-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 8b5229ebe2535f4033d134736f2a073a69265d6af6f52e3e1964d233669db438
MD5 3ed1f438d1f6a198997ba73754711d8d
BLAKE2b-256 afcc6491c2034e324d3844140e44a2f0517c2314bad4325afa7f0c2d8b82a35a

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.3rc0-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.3rc0-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 25688214f911734fee0569748d8bcab552f7ede741bf1d30261b9105da6e000e
MD5 60ab2cc1c505501ea9e201d55145c9ec
BLAKE2b-256 13667d9ef0a1b0e203f7c6548488db536ce883042561b5ebdb3c0c2162a741d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc0-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1dcee5521d1acd81fb36ef5077b5da772b6b71be85fba35f4f4dfcfec0819303
MD5 6ee622f558c05b28a29f4f78c298ccdc
BLAKE2b-256 526efd47573e577b78e5419399d355b7631f6d2fd7b1a993399dfb87e17be179

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc0-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 484660aa8bffa101c3ecc2fe95858aa9cc198e5b7695c6ec7c4a667413ff1e76
MD5 79fa84612c69991a4dac6b1619a99929
BLAKE2b-256 bf92c5c7415787abdf2f016420969f042d32a6b83b82236dd89786dfa919642b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc0-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ef0dd4884a8e5a9b9ba3c43fdbd8a3f81ac92489be45bd96834293969436382f
MD5 673d87ea7dcaa1e15764e76c16a2a84f
BLAKE2b-256 cf6a22314187a25f7e7e5d119f18d7941ee9e606a35401cc35072cbe8cf714e6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc0-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f214534f3f2cdb11ab6ea5ce4fb9a7c4d5035b28a4e37094a19e8816e763babb
MD5 d04e199804a325989650c3fb37ab2d1b
BLAKE2b-256 e35aa9dd14bdf32963ab91e2fda2ff83cefe5962b73fb403db2d2c08ea774821

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc0-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 1f67a2ac7c393297178f458ed5023f43ca09e7a7cc0969161bfc217716856e30
MD5 6712cb6364b876d85474d9a17c1160fe
BLAKE2b-256 4acb0446d20394af754b088354f30e03bae8515ac22d5aa0531d2b1df08ceeca

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.3rc0-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.3rc0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9d3e7de958110618d07593c5b2666756ea624a1d4dfa015a739dd57773357f6d
MD5 cbc5513369b59c244210a2da6a597e6e
BLAKE2b-256 4af9802a69e51f908663d8c278ada43f78d23cb72722566be5d20b9553e5d704

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 63ba45515cfacc1aeb287e0612ee94b7c4a1d40c4ab29a7f7094e5e8b0598f08
MD5 b41502f6e1fe366ae8e9485b4a3b84a9
BLAKE2b-256 c5992744696f3e7b89cbbdc6b1262a85d367d4b3c62220a5dd05a1285b86e1d7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc0-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6888d4560d604313f288690ba6517d9af22e6701768fc59321dc2f7cbec95eff
MD5 48c88aec1ee620f2bcb52b1332d78f2f
BLAKE2b-256 cfc71d5336b7b0edc2db2724e569506728f9ef9dee59a377fc59ab8ee2ad327a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc0-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 cfc4f5efe2effd0664cd8bb7aec8473ebf2a5ca2cf7a3e74f5e74dd0ad195ecd
MD5 34aa7ef362e22a75a5fa6c99cc5334be
BLAKE2b-256 db135c3e588ccb6631fe2b26cc887ef97f80924561e42bd699e1aa0ae05090e3

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