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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_palp-10.8.1rc1-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.1rc1-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.1rc1-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.1rc1-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.1rc1-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc1-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3f68c507e992f4b5f3074ca96435ac613e28d3e7a170106d711cd3aba154af49
MD5 55cf90644abd9b40ed2884cf3132688a
BLAKE2b-256 b7dd6ea6805480bd7707cde107d9b87221e99cc1ba9e406b9cdc74418ddf6ab1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc1-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 b6f4f7a9c13a2cab442525c5008d400bfd957d4eb2ef427df7c12f84933e857e
MD5 bf61da0cc374d2deef9cd5d311200a96
BLAKE2b-256 3795eae06a8654f14f60927a1a47653511982acf7ac20a4fe130b64cc57a6ae9

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1rc1-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.1rc1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 09a1738ba888d0ee9f8176b0d7e8cc37ed85517aba177d301166ca6ccc4fe44e
MD5 ee002bdf73d402ccdb965c33310bc18b
BLAKE2b-256 2aa7fbcdd85e730d17db90b3333154a182f9580dea90afca466ee7648ab5f6b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1410cccc0b010150ad136e12d7951db281f55e34c01e42e34e36edc396a6f1cf
MD5 069947f76154716750c5acdb351470cc
BLAKE2b-256 7954abfdb8f9808aa09ace8951d00580106ce1f754eb26f550fb933a5af30d5b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc1-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 bc1a65b4b82321778ffa1ab17ffa855003a505ace694b9e3e4b3091cfa132971
MD5 5f8d564f58a7bbaa449ed379af1b9c87
BLAKE2b-256 00c0dfd8aaf4fc97a31f3e3020a4b6d271886c1118ade2bf662454d28b525d5e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc1-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 205baf3ec34f885a1eb78fc86b795860299f4473e45d746dba25258db0c223b2
MD5 8bec0d4bfa60c060d0acd5e327a18116
BLAKE2b-256 031a03303ad01728a80291fe4dca10e2d29b487e0733e38cd838c730ad45413f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc1-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 88c4194e62b35af6e45c979a7f763499fde59369e819ec2d27850306bfd05a2f
MD5 ce02cc7083bb251371d1cda3501d314c
BLAKE2b-256 42ef572144bedfbca207cc88e735fac0576977df820e35612478912887ad9844

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc1-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 d636462728e3e30a41051f45f3029bf8eb6dde56dcd765b27dcda9464941e016
MD5 e0480ff9d309c7d722aa0de42fafe43f
BLAKE2b-256 66855ad13c8a6f53e53723ec10ccb8180f79db49b4d2a5c62d42261676fe35e3

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1rc1-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.1rc1-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 15440d7c796a3d1c5bb1cafb7a672ce2996080407e721807d963417b69b4a947
MD5 fcba2d797912465d040bb9ae7e3b11b6
BLAKE2b-256 a5e39859ff47aff3ebb993771a8058db2e393691ed39bd6cdc7506ce4e98a83b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc1-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c1bfde863386f37dfa07ef95647c4677a6fdbc3e3de9c9fd181753eed43f8886
MD5 ab20f45fc15b64a295bbe4965a190656
BLAKE2b-256 cd0986bdfc4a3ed2a24f77f5a80d72721a02b1a956cd908ab850b32f00755605

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc1-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e9496ca49912d4328484048a73c08ffc1a953ea02f53b73cf5fff55de2027b2d
MD5 0b1bd4ecdf319163258f2b131823d5ff
BLAKE2b-256 80d56c6ee624c60cdf73734432fe002dc554746b19df98112e4889c2caaa1016

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc1-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 fe3ab2b704997f0b9efb5f3515e7627f4b59cd9680adda120ba5b126943690e2
MD5 a18c72077fc73e7a7c82e9eb5c75a22f
BLAKE2b-256 ffb39e965ff9b1cdf5de8662ad176b14e0bd74c7f91448fb44ab1695ad495cde

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc1-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b73fc17d186a75a72df5fc4bde6bd64f3ab20291186d0c8200f41fa83b30b1e7
MD5 6809c93fb7eeb1ada7dac1338be35364
BLAKE2b-256 5eaadc13ee4852fa88cbc2ddb23e083cd3058179c3e3df91ebf5ce3c28bf98ea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc1-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 7925116e1192b927d9c0af0956bbd2ee30c2e12ac5a77eb0f5e7e425867903d2
MD5 afe30e2d2fe6b383d9ad9a5276f57d14
BLAKE2b-256 90c70f0c382b7074db777a12e3b87c9fcf716b75909aa02e7a0bc2f68482c183

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1rc1-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.1rc1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2df5f498448b0d74929b69a476d332d0d70c722290cd44bb1170c828e18b75e7
MD5 3b44d13e055dc791793aff0a5f069157
BLAKE2b-256 5f3ac78655469d887bbea36d255d8267697770ee60042be77469aa02cc735a51

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c2c27934d23150ed12ed1d81a3a45cfddd9a7ada4f876801266f22d0e1979658
MD5 c4036e518625f90cda2955639101fe16
BLAKE2b-256 fba58b00fc15c14d756db3accea1138dfc46eb3689424272f5425483ec2328f4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2491731f842eb933a3141f443de6914de3c1e58e3a0155e92e3a4f9b55205f1f
MD5 e9c1d6d39208ad2a047183460c5684a9
BLAKE2b-256 c4a8ee2ff075e51a8ff718f328463f516cec7b74678562bf75b4328f7358e61d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 3861cb1a1b7094f46ff0965ae7d80bad9cf99dccd0b6690ec1705366b4f56905
MD5 508afd484abd3b70c89260876a8d274e
BLAKE2b-256 cafa5840168480f97c6bd8ad5bbc9196793a8a1f00f64f10e61d907cfcf6b23a

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