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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

File metadata

  • Download URL: passagemath_palp-10.8.1a2.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.1a2.tar.gz
Algorithm Hash digest
SHA256 e53fc1574c3751df6d9443335bdbf6ff501639f7ed5881526e337b68be940b15
MD5 11fb8a755a185f34879c5324e3b0da83
BLAKE2b-256 5bcd3b60721e72e86709aada616ef67bf900fb763f6b3fb2bd54459965424fd4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a2-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d262b5989e565d253ba089b0a824c67c383fa73f05c4ba42b432a1096886751d
MD5 c55814ccc1a088e63a12326e5f4b2d13
BLAKE2b-256 cbb82a2ccf4149f30ab5bbea63d563c47f9b8097cd045aa2075bbd7ce57d24de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a2-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 2a767afbf7799da77fccbb79e74635897d63f5aaf74e3876a0c0b9bb1c684e9c
MD5 6161be43bbfcfb024adddf79d0da91fb
BLAKE2b-256 b985cbb5a8ea65ef4ae5a0c87a926ce30105f1c096e7d4439d7ec71a81db46bf

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1a2-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.1a2-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b1e9bdfa974ab36618043cac7d495c17bb1e80949b39afe08875b5792819a0f2
MD5 c09b14089120d23579b2c5fdb95612f2
BLAKE2b-256 3c3674f21c9be15d45ea521fce895a15e3f91efc8831d246fe373c9006344d9e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a2-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a14c83efd83d087e601c0676056883de1a5e1c9ae6c844b5bfc6d8f41147202d
MD5 2a68d7711e6e577e5a116ecadc15f7dc
BLAKE2b-256 aadd49eb5f53cd5fd6ac06eed93b37d930f5758c9466a4ac3b2260dfa918264f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a2-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 60a902f81bb1eff8cda850fb11803a5c5cfced2b3bec4a594ff240ebc8b5d2ba
MD5 b01807cea6b5261f3c93952dcdfc04ff
BLAKE2b-256 b63ed652de239279d9c8539395dcd6b78bfd4f9f081512292c473dfee6692b8d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a2-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 00c98aff36a1ecfc11e68905a14893c5f40a98b759dda13f0b3570c8eb8c62c7
MD5 55faebaca56269bb62da07f6f096297f
BLAKE2b-256 121472f54e003f6ee0cbe6a3f5d9f8d8b0d427c1d53495e9d1c1374912373517

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a2-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4edecf8b84fba0127a7905a7233debdb3c018d801762d9e740e412a502da192f
MD5 5d2b0cbad4267a5ef502484722fa2e37
BLAKE2b-256 2b2cb8fa342bf1761edb2a2ecc866e118f4ede84b1144039f8b1d1c75c2c34eb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a2-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 a8048aabc701a2b57cb237893646db1de74a31a819f9f512efbbf4e83cda1073
MD5 50021d64bad898791f9462243fae9746
BLAKE2b-256 1126ff85308e8f14cc2ccc9f9666c417b14b1853c42173ec2b9095d95d9cd758

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1a2-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.1a2-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 52d419350950fe7ff231a6c34509d04ced966810d0aa263b1e6645fca67125fd
MD5 b4f65803c426ae20cc476938572c1688
BLAKE2b-256 0ae098a58252b7a93e2cd3376fff920e0107dcc02c4f711d5ac5d6d9340f8f0c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a2-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3f5ee1fdc0e7b3e0b660515f14ffc87f9433fba690b7ac84c337f7dd468a124b
MD5 b43ebd22a6a5d225edb59942120cff2a
BLAKE2b-256 42c8572a4cc4561d8b395d0163dc125aac1ade54ec357b045f3afe24b6e63070

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a2-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 02d6caf762ba1e5a6b33c59afcee5c346fcb982e8a62f178f5623c49679d5120
MD5 ca875a4212a25d65f5a34e572856ef95
BLAKE2b-256 dc7cf9a9ecda08cb014ed2ed8778e200aa5a8d6dbbe0a71ad8a7bbac304b1776

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a2-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 c5772b4a9cc9eb7af064112a3bd84a2c11fa8cb1fbb98db6af52fc206e59e9c9
MD5 0845312d454d52abc68e0e0abae2ee83
BLAKE2b-256 22b99d986459c4c61fce44d5159ecbbc19af992bf52337a595053864a7b06be1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a2-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b41429d80783ce3373689e411a9e22ee7955dad1971ae07c69b6e257430376c7
MD5 cc4cbb0ff4445a9c7f4ae78cf56197c1
BLAKE2b-256 586f82132489ab55d8db9d97c4d71a98486d97e6deddbff532594f1d750a4cae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a2-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 e630fd512e89b8fe7ba47843b8c28fc8f4c086868000b3c44fb92c58bf9af4db
MD5 41767a808d29a4822461eb620939942e
BLAKE2b-256 3af939325199e58d19a331016e147e1a083228f8e33a2e141b5006cc65d83022

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1a2-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.1a2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 12c193c61e744545366b4e002c42d0907dfa35b7a25dd1b442a292e01310ce86
MD5 01247063205a1a278a436bd907397187
BLAKE2b-256 3a11d549238e73768522df7b834ef89953f572183b3078820448e8d3b8e1a80a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a2-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3b0d87548c1ea15d713a48325aa37c9722855cf3929b9839579455690255daa8
MD5 135bc29b099d8a1ffbd154a0f8d0477f
BLAKE2b-256 977b14e19d9ceaf56fe29035c6159b4c3ba0c2bf71c837422816bc7950b2b240

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a2-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 02be7258d527339a7d8141b49ddcc3f6a0897c5cb797d07d1ed5f5d79b63ca0f
MD5 fb7f1731fc9219781e24767e4b2e74d2
BLAKE2b-256 683ffc294433897594c466ff8949347f40e125a359730c4e5b327f02360b5421

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a2-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 7f7a9982ad9abdc5fbdab3cbbda8b94e0b08164460a0f9fa421e36ac6a817fb2
MD5 ca283adbaa92f1624fb1b4960144e9b0
BLAKE2b-256 f77bc629c2276906bf4a1d7b18e2d8ecaab499439e987dd85a8559d3b6fe20d0

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