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-2025 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:

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) 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.6.x series are 3.10.x-3.14.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.1a3.tar.gz (5.1 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.1a3-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.1a3-cp314-cp314t-musllinux_1_2_aarch64.whl (12.1 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_palp-10.8.1a3-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.1a3-cp311-cp311-musllinux_1_2_aarch64.whl (12.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_palp-10.8.1a3-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.1a3-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.1a3-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.1a3-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.1a3.tar.gz.

File metadata

  • Download URL: passagemath_palp-10.8.1a3.tar.gz
  • Upload date:
  • Size: 5.1 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.1a3.tar.gz
Algorithm Hash digest
SHA256 795832adc8b78d65bb01182bb835b95a86171723ad89ee32ea91ee783ceefa1a
MD5 c88a60d45877f712544dc0afa0647bd6
BLAKE2b-256 e78bb0bbef454dc759564ddb620cc6ece312a0d96eeb8688cd4221ac111d3a81

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1a3-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a3-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 52f87c31f5bc42241ee4a85c1a29c53f003ecd751541bc72c4ea65122688d6e0
MD5 140b5f7555463ec1c7db9ed8ed404ff6
BLAKE2b-256 914de92924f6c08489b8540898aacc09ed3de5e833640d9262e112ed383d2c26

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1a3-cp314-cp314t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a3-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 89c58f33c3c9339df18486b0328301d32f9debfdf5efecaefa00423dce29bf74
MD5 c7733d9b635468cedfb42ce11cbf6ff1
BLAKE2b-256 2151f4f9f2469e5b86043ab7d2088edf1b9b23790b398644c0496f6a292662a2

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1a3-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.1a3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1ee3c01da3ad121ecd97cb9c64a17626288051d8003a0cdb90fc825d6bdc6532
MD5 1cfe7585cb5a88f5aff3b0718265e6bd
BLAKE2b-256 c1f593bc2bef5bf9f41a2e7110e02cc9a6c2709de57159b037906619b787e0b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 72428b1b197e580e436c9361dda510dbda739bbe7002c40fe3bfcbf8271c0cae
MD5 bd6460136feb9ae19132202c9e5cb0d2
BLAKE2b-256 fad385eda148baa265fca358a2977a1a2f92f293ac3e007e65e041f5ed9feaa8

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1a3-cp314-cp314t-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a3-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d804e70808e00134aa6608e61ca455cb63c22398af7e728315440eee01be4691
MD5 c947cfc357c7494a6abcb05a1981d271
BLAKE2b-256 f086b953f18f866a9b77c9904e7c7efab1fc24a4959e975f6352cae00fa70209

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1a3-cp314-cp314t-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a3-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 9159f3608164eccb8f755a6f89e7b403c92328ce27ede3d990409c1ec4530e24
MD5 4a06e03908112b92abb5d783133e912e
BLAKE2b-256 ab8e38fa059291b78ca84b58753ecea7e012ecb33249bbfafe3b07afc3709e02

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1a3-cp312-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a3-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a677053280bf7170762ffcf431925e0491561172abd2ba24fd90ee10966ed97b
MD5 d13b8db124b7dd158acfe307670dbc0e
BLAKE2b-256 4c0cd0753cee12d9000d6b1545e5e268d602760397ac5dc6035e24bb4fb39307

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1a3-cp312-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a3-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 65c56d6b5e3bf4d5a264138e331b1784158083b0cf66335875a6222e4f9b7aa6
MD5 b054bb096aea055a6d9511fa0dcd5e99
BLAKE2b-256 47d843c61fa0d54d53c02e342e5344ec4c3eed241e684c52b47328dbc92489e7

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1a3-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.1a3-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4b31fd98e0dbc5199e23ad3b3d7e2de011fa63268d7bb6716798dbcf4f12b056
MD5 81cfcff76aa4b18048ce13ec862c933d
BLAKE2b-256 8d76f459390f9be869152c624c2d7d716a9e968fa1accda7372eec61c2ce3ecb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a3-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 13ef15244cf7e9a86edc3734728a20462e8d914c6f17bda862c714cabd91b4df
MD5 e1224f3f22320d19ba238b61f0b73704
BLAKE2b-256 fc0cfd21c6d3619ecc9ee4f36293dfdd61bbd9be5dbcfa8a02bcbbebe0bea780

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1a3-cp312-abi3-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a3-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 27bbee8bb23808cff89a528e576b9c82fb0da43bf82cd6b14b7638e2c08b4e03
MD5 ec622584351624f8371fce9eadebefc1
BLAKE2b-256 47cf68ae1ee8669396d1191674a6b36664a797319e45f056177d7c4885bc8cff

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1a3-cp312-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a3-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 158e2f5c3a27b994a79e02ca21693dff79106b3c13357cfc006d0bb3afec82ec
MD5 9d330dc37e4b17bec0ab5c0c0c75a3ba
BLAKE2b-256 a2b580e51e47f41d3d1714e884ae10902198e196bcbebbe879e50a7b2aeb7535

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1a3-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a3-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 fcb84e02a9c8d804876db707b5c3a6d47de964322d54fc01bd3d45294c9e3e5f
MD5 7c1e6487e19c84b8850f969d40b438f2
BLAKE2b-256 1a73c20a7847131c13f9bedc24a409dc011ce648c88fd3c815c10761544c52da

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1a3-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a3-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 afe2939793d451de55a241d2157b7371fcea99a7415e27525cba8d5e6fd073d8
MD5 a8489a113e860dc1555234f72fad99c9
BLAKE2b-256 9bd7a7fb003617b03be7b9854abbcabf5d39eef46916374f805d0066ba90807b

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1a3-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.1a3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 79fd8378011957e88177c4b34f9c815303b5383e0ee0f643d5a0b62411f42a9a
MD5 ad2d9889cc86b7f30ee47255819af27a
BLAKE2b-256 c039b96e27e5dd9a59cb08712824b79a366011f905ca05037459974001e33085

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ddc9f06309afa24c75117647b8f5869cc488801a7734b88bafc57ea4900468f2
MD5 7c8f247c9267ea9e2a4950e91bb6fd57
BLAKE2b-256 c1591573350c0b7009176791cd141659f5cf490a1eadffb3bda764860af6930f

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1a3-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a3-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0b7578547a9a3e37650c7dc7107346216bace4ade095f73d3662ee4df91ed084
MD5 faf081723b97d5ebb78a74eead497318
BLAKE2b-256 0a8ead78ec4b0c662760d98a6e5591e4654d33c3196ea7fed7eeecbd03e0076e

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1a3-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a3-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 584b3797ba57382378c0257e70026f6a2acb53402d0cc68098a7ba9a74f922cc
MD5 2cecc493ad9696e215495b60c5e54fe2
BLAKE2b-256 132b06e6831d2d185f018e2bdeb2f3cce8eaafb15e4546858f73f7b363e472ea

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