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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_palp-10.8.3rc1-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.3rc1-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.3rc1-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.3rc1-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.3rc1.tar.gz.

File metadata

  • Download URL: passagemath_palp-10.8.3rc1.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.3rc1.tar.gz
Algorithm Hash digest
SHA256 7157ed0df0dbd89ae2982c006fe27bfd6964c338ca6e2214d7c15a6567bca601
MD5 09f453bc643c88a54eded8ac7220d9eb
BLAKE2b-256 151f0c68365a78fb0295793ff11c6f3e3ab03ee99ea1d11596edcb6b247953be

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.3rc1-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc1-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ac4ef07425acda0d489651b600139c039d02a9abdde2a3fccc385ec69d75d5e8
MD5 24795bd46629811aec22bdad5013291f
BLAKE2b-256 6b02b7fe073b41f82179c7caac6ea04fc2e3967fe0c599b687118630b7008d68

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc1-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 1229e4a64bdb2ceed0e76051b3ae04c2ecfc1d0a4c7b878fc5feed755a3df0a3
MD5 53b3ecc2d0fb4a11d641ba543a57f60a
BLAKE2b-256 f98d3d533224b3d11ae12e1234e02203460f50dfa95084cc1a0e9b64c38c9da1

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.3rc1-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.3rc1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f6b10fa89bb8716e00e4a7c1c1a4fc441271383c27754e10d302468bf5c075ca
MD5 a7b6ced7fd7017e567235786ad704376
BLAKE2b-256 3e9a07b623109369f1bf807411dab28a7abd651b800cf4696a6056b7a8d61eab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1412b47a93b5bb14d0ccdabe6ebf48740bb2283ebbe8fe973fc6b02cb5143bdc
MD5 7974f26071bfe3ee5b7cde43c68ba1e6
BLAKE2b-256 cd89cfdb7250ebfa535bd64ecec2794b70056cabb47800de5e39208182aca3d9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc1-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a83576e480644f7aa123f5fd0b2c9c9d25c6e91ed5b3d06825782a38b7f38c1c
MD5 2519b8d343214f2a576b55c8bdf3f2c1
BLAKE2b-256 787e5360e971c3c6b12aa6c056133f2fa6425531e6f668a313f3893e16e5b73d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc1-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 cb24616c6f458e72874ee9c38d76cec20b268dd33127a5b474e5e3ecad3d3217
MD5 2e83b37955d2ef5b24c2a013827d35ae
BLAKE2b-256 289b3810a453453cc6d28babd859e7670b90ce64e990ed30a471457736e33586

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc1-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ae2a0a8338a7ca58b311ad080797e9d573f1a8e71f756c8176c34df101e59801
MD5 39dc36a995d182eba58708f4bf38df60
BLAKE2b-256 dcbfe15d80147b1700e82544bce05422b8e3baa3bfadfdaabe6baeeaa8e90b6f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc1-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 0553e4920b277c002ebddb957b74b4244d0cd6356e8bb1e1005f95a793e41daa
MD5 b04e2cc5e59b859bff0d7e7c2479069a
BLAKE2b-256 d5b18b81ca3e785636b3afbc17ab0df061b2af583ba7773499c6fd161caee7d9

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.3rc1-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.3rc1-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b13cd8188d9ca9e1516b9965b0fb71428214a172a81f89f1d8cc654095c21115
MD5 c3f17ffab125354d9567555d7189f3ba
BLAKE2b-256 79ae0cf76b81aa28a2480ce082ff43bd6f40a1610bad99d9ed93d3d6b0e2f75b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc1-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 823fa2becd2cd3786302c24964700bba8b224b9a97762db814e3ac8bca6b743d
MD5 5df4b81c7398c4f2687b27d1dfcb3b55
BLAKE2b-256 baa4954f36e21de8901f31d6014577fa438ea657bb2df0d29b2ceba325c41a46

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc1-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7756637e7d68b645870eee58ea8e51b65f9d3a5186a95527b510cd7a7e971c57
MD5 955b87b0ed3e4271d4c076b7d6a0c066
BLAKE2b-256 4a2079091aab5adb8fa8b321a2236270e774f99a3948aee7b44262405668996d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc1-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 22a7c1b302b5eab754137628a694d07e89b1982c7514e80e6f4c684f36b9f13f
MD5 570a21eda202cad9057d7e16e4baec9e
BLAKE2b-256 ef491e44731922183c08e5ccce326614085757a88b0a95e7e63c40dfe51d75b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc1-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f0cf7f6c857c3e3a08682793517c88419b5434a07e4e96b61a70f30f16852082
MD5 abdca2d0d18e495331cc0dff77324914
BLAKE2b-256 cb61eaf068bf10d976ded822b168f188cba347534bdd2b9a4284e4eed1ced7c3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc1-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 5f3b0124a7e0baa5ed27dff71e3b0dd6987fa504ae10a1ab3a7d74ef9c299fb7
MD5 108da5395b66beadd97b6fa46591c6d1
BLAKE2b-256 a1bfc433b82500d8d9cd8f4ff4c5a6d0f1e3ae823418e9b6e7e57f4d4656f10d

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.3rc1-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.3rc1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7328690ae47956f0c34915ab25de9e84c968a3affa5b69779e7ba0f56efc5f4f
MD5 ab996aa7fdfe1eaa854fdc075fdf3020
BLAKE2b-256 62b34f63f4a2d35f1915ea8dfc473b7997aad285efa383c2baa283e8689330d7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 7e0287ca4335744296d9721373383141461d4b59f85e89c617b4cb7bb933d980
MD5 a5b76154cf625ad97c315c9c7858d512
BLAKE2b-256 56804a78fab53d49f4d9370b1fbc2b9d384835fe319d43b764495b93f501dcc7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3a5cd5b1b3edf5261674d3311a315b7cf175538caeecc822648a931e819030eb
MD5 454b30681ed489956be2daad3da1f3f9
BLAKE2b-256 acf4ee3d61956befa4d71ca37c36d419b23e2bea891782765ddcc980df9e08a4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3rc1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 73afdedef95842ee5bd6911122513ccc015ecc9aeb215c5c6b2b5ff99c3fddab
MD5 f994c02584ad240a3ec58e1e287d08c7
BLAKE2b-256 697b94c1bc0063339eacb2090fa7c157bd9dd50c341902d031b29ec624878356

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