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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

File metadata

  • Download URL: passagemath_palp-10.8.2.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.2.tar.gz
Algorithm Hash digest
SHA256 9d9c255354e9ce27b96028a68e61bc1edf78115ca9c53041c319c99bb442dfe0
MD5 016aa10b314687c2ab8563683245a29c
BLAKE2b-256 36bd574fac87b22945c6a1280aeb14904b6b000d8ad4476dc37235b0f1e95ce5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 43d1ba34559e8c80b9b64456d5e68d2ec47e4a921a7d6b39c2c14b50d59950c8
MD5 37fc60cbc876cc0acf9c17248ed0d758
BLAKE2b-256 1d1fdf11ac18c2ddd906c11cb6b68b2702a32cc6f5dc51041d15ddf60c14f17f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 0dd735b250a4ccf22a55235c60aa3f81cd6033edb3e7730d4b4bc67632408c2c
MD5 ada1711f200ba3356d0227bdf8bf057b
BLAKE2b-256 d434527eaf15df026c8192775b19eeec11920f4e478860cef514fc76dafa6e61

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2-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.2-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fa7cf63c93fdbd89a7d0eb0813d7e517fcac8cec5fc2c730f1132279ac059477
MD5 a0702ea81f2d1a06ef514b878156d9ce
BLAKE2b-256 3305e8c0cf3366333ed0a6e52bbc5624fa2dae768af496b5ca06471764518936

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f9a0054913eb55dd1286d05ab555bce9a2dcda5cc404ed60d755a7e6d4e7ffef
MD5 fd6b0d2c9c299c10d700141a1dc64106
BLAKE2b-256 24ebd2d0733aa21e639fec189596e044b4bf5506e5ea1cbf06128dacdceca31c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 27db0fa3bbb88e7dfe25adbf67590db2c2082e29d21ef954605cf006f7559bab
MD5 e15d89a1e376e447981ec54e7dc6ec7b
BLAKE2b-256 37b17768fe032357eda1ce5eeb6881535db372d06b70ea3949e7527e0b403c07

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 772650d3601bd1bf2d258e94f7ec11ac34a920eca576ab52d2c10b99cfe44770
MD5 9b13879ce7b5bb89157f21489f65fbaf
BLAKE2b-256 eefb0d0b8bcc994195b9277a093052468bb39e7feb8981332baed84010303945

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3a68592cd3ec3f71e592c24f0ebbbe4e99615ce5e1e6098d2429251d7eeacc69
MD5 250e640dcaa40e29c6f4776c4a941abe
BLAKE2b-256 09356be90369376c0f1f1a28810603a9a45e992f8337103a099d435f3d88ca7b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 aa8b082457b1d44029357c86dca19c4ff34606be1823f5fb5220fb098ba17600
MD5 44328e05cecbc9ef8e4477d0a242134d
BLAKE2b-256 d9f486ea5c478c8f323f0b269ada89b23d735afbb81b6b42dd737b281e9bd5f7

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2-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.2-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a63127374cd41ceaa914ceb4ac8f372ddaa9ba2313a89774d129d6e18e18e337
MD5 1b8edfeee8c0923610be8aa562b80995
BLAKE2b-256 7b9561a5a6c9fcd3b42a12c978ac564261976f899f4561d05b8eaeb64ff4ec8b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 10c8077688663e0fa40b9a0a2e65210232312551b1cd726ad7c5c0632195cd96
MD5 fdc01803436ca6d8b7413f6a2b60b3ea
BLAKE2b-256 71fef91065fec92142a51199a40cb5d7b715c315a73f1685ceba5b7126f86984

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 86c589872084d05c7d0c1798f043fe070c190c1a8eadde796bdd4740dda35d94
MD5 bee8dd79bd6123ec75c94bd0c51066fa
BLAKE2b-256 a07954644f0a35168d5821c31b4a0a1a020dc4b449802cbe7dd578113325f348

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d896d4185546ad901a34cd65aa2fd12e82c9ad76b942df1f8f737b520981949a
MD5 1442604bfb5cab6e57db0cdb7767f3a4
BLAKE2b-256 95f1c6d8fd2a4068007b1958d41468de94981443385bc434278a01f15d706fa2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8c2f86564ccfc1cfe964203380b5b1794c307ad06279985d07f12b955e7e841f
MD5 1250d34fc874bfd79fc8a33a838d74b3
BLAKE2b-256 b10578b4e9304ec252eeb218d530c3cd18e698bb2861f5b222bcd61f0f5ada84

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 1439a75ab827f10801178947622cef59a0def982ecd2f541f5296f7608e449ec
MD5 b049eafe46852ea734968de17cb51780
BLAKE2b-256 5f8243c736f49e5a43060657c1834a4e63d7b270083586de47e346834171f65d

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2-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.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b57f92421fdb8fb6f3e36947830d02f1e26d3ae7038d3500bdb693ca2154af18
MD5 a3d38cad5b50765d555a21dc6a496826
BLAKE2b-256 7faa23cbc801e4471f197240134b848ad6592898d69b3ff9a06250dead6ae0ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e6e8305153f38a502b85c27e9f82ceadd245c814ec8674bb6dc0157d10c7342e
MD5 9d7229c7a30d40a0e8b5db6db640fce3
BLAKE2b-256 66d72915ac46a3e5a25e6f0eb2cef13d0d669a0e913d9f097090687b7a99801c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b45048002300a89606d4287f4d431f45a21cac3bdee0c7ca6e86f1b82ec4ea9c
MD5 adac045956b8e4e0049efb8f851df942
BLAKE2b-256 6942e343d59c7dca7f650f06f6426966bca7ee2ec38ac5a9a2a184a9381194c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 5919225ecf5916bf39b582d06ad8c8fdbedc7624aa5bb969a56d1050956657a4
MD5 e72b238a6aea7531860359a1c7cc9015
BLAKE2b-256 41a55572239f1ec2ca159062aad9089a0afb5e9a25c38cbb01c1c70d509325ab

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