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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

File metadata

  • Download URL: passagemath_palp-10.8.1a4.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.1a4.tar.gz
Algorithm Hash digest
SHA256 4bea45886af73c5eceeee817b96124f16997da8e2a40465527e16f90a9be470d
MD5 1fd89e154a05c6f6c2041da50f0c6d46
BLAKE2b-256 18ec0ddb4aea3f6f3d34f6f2e58fb3075a3da46ae82d45948704d5275abf5774

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a4-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8863a99fa7a9f901ef18785edeb43302d0e96bdbfa62bafd3c47b59177781618
MD5 eb477f2accb80c485acae12d45aacbbe
BLAKE2b-256 82e306df467cca32ec19542dc8abacf5be96375257f51ef1c417b357ece39fad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a4-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 08dc98fba45f2e28ef176dc6d3716f86ee7bab37e0a6b39af00f19ec7a6df2bc
MD5 7d662e4a30ead59d833498a47116045b
BLAKE2b-256 a1ba9b189df5354937926c1dc8a42e787db833526895633ff6dc1fe2c14c8176

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1a4-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.1a4-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ea5ca50f376e676765bd3c7fb3d45ec5a159ec0ec4391499daecb1dcd5403cb4
MD5 e13bc8a0ea49e7da58d7a830d006e537
BLAKE2b-256 036fd783ed4c90e679e6533b35de99c51a34297af2a6d913c9225c9727982d18

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a4-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4da931290bec39352e3f89c52fc39b10ad23a283dc1486683273dea8d0f84743
MD5 c51a84ec0c73489a61fa03ec4ce888b0
BLAKE2b-256 12a97b37774f27338e97faa65e2f52faf192612241588cab7830ce27a94f4f29

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a4-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c303ba92b50c2b9b4e431d95e21c1353834648541f8ae97b92ea4bb6c158d7fe
MD5 b4d312fea1920a9c5693bfd2ae6e2cce
BLAKE2b-256 c6f359b26d95cde75f664cb87a3a99067f9510ea09eb21bea112747fb38d2edf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a4-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 f08d446a326594b31551e98e966603fcada5df5c5bb7a98dbae38d9291b2ddeb
MD5 a16ff5eeed6826a47d3590abdeec1473
BLAKE2b-256 7926a124a0b2131c147cb9da96f7f10705a2e1c8192cac1d05ecef8c308980ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a4-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ec96413c982d903df79bd930902bd5510c90324ef4081759ec73e340c72dabaa
MD5 3805faae4c191e0d4edda5f7254fa858
BLAKE2b-256 42ba753b8c39c7bbc8fee7006b49c3ee28e5f2c48d58da654cf63a861cc1ec27

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a4-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 fbd9c337c876f2ceb476b1218e74b36e64f57aebebcc2fff35dcd4f24a1e25bd
MD5 28d8f90706d9909d1be5c86c05853bb4
BLAKE2b-256 b9e45f37b2df292651960bb8f42efceb111e4b729ae80f9a1025735957f1f4ba

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1a4-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.1a4-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cb3a322b88b2cb5c23aca78f1f1c9105d3160d187bebc4fc9af01ccb4e880c69
MD5 f6f7be56baf7464397306cfc2f56229f
BLAKE2b-256 b339baa169df8ed64ccda27b4022e3b0202e06d43dba032484c2fc8feb23f009

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a4-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 820a5ff58d9cb6177a8d9aa6f615879f8893da3817fb048151db3711c17854c9
MD5 82d1bc1e412641eb93f2112ccabf80ee
BLAKE2b-256 0f9d213f93e26f466b9a2152faf08a9769eade2c33945e596c86f8ba55ecbcdf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a4-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0c0b01595adf2c8fdb8ca99bdd85bc1ce1d7584e6df4d4f322c1d03a5053443d
MD5 3d88ad32b90b8b3d57e4c6fbc0d195c4
BLAKE2b-256 b1fa001a477294be37930fbd50d6ee8f4674058e65aed039d657f3f807a5ae74

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a4-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 a5cd4f2c2008f411c7b76c67183be929050176342ab1cfa08932eb83c27f11cb
MD5 5b66260eb9eb1e4a39c61d8717afd82a
BLAKE2b-256 b79cb3ecc1865ce6bee2d2b514755804d2a75f80a9f5b71039c05657ddab17cf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a4-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 833a2644f691f39e2888d3e0348526e3e4efa598c7cb5dc9a119c067588d65bd
MD5 12dba15e89959d71b939c99b30f7b48c
BLAKE2b-256 827a16d2a95182976a93e666110d91f73156f2e06f93ad1cd68adce503ea12b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a4-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 866922990eb9c97ef971f35235849853b54cdfdda9e02a62e0cc5a53ff71dfb9
MD5 e0f82d2fdf49d76838b0b88e41eceacc
BLAKE2b-256 59cc9a017a787a7c802505ac2ee45396a490d9b9c367ad0d3eb997b6bc6adce0

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1a4-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.1a4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2e663d74c25b3ba679f88141dcacf2357ee434686336cc696373a5efcaf35429
MD5 f00adecc0769702cdca71e3a48959412
BLAKE2b-256 3404bca4787b353bb955b14cbec2eb5f07aef39258d03a7d5d9af1b9e4f2a209

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a4-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 64bc4df3a9bfaaef795b995c24a48129183d2adf352dc4dffe36cb71675ebc20
MD5 9e9f9c441ac19e34af7ea91868ad838c
BLAKE2b-256 51b10fbb834c662985b8743a631fc44927f8b0b19b47273eaca79beda22af237

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a4-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8fd4fff5b35fb7acb89a1a70f9e2305a2af27c012b01e760fd9c4277866433ad
MD5 3df3455870d8e2fbcb689170aeb0e12e
BLAKE2b-256 e51ef4f1fa54336e849d1c8fd2015609a6d351a47dc6f6b9b82befa0439651ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a4-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 87dcf48388f9939e2d6414e8673677058a852585ec54aea8bf61f0fd3b737a28
MD5 7900c710397dfb2c0bccded02fa48f4d
BLAKE2b-256 90cb8a2948b0b8a693fe00d2a5aebfc4afce673fd07e6498773cbd38a9e23ac5

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