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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

passagemath_palp-10.8.2rc4-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.2rc4-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.2rc4-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.2rc4-cp314-cp314t-macosx_13_0_arm64.whl (5.1 MB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_palp-10.8.2rc4-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.2rc4-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.2rc4-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.2rc4-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.2rc4-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.2rc4-cp312-abi3-macosx_13_0_arm64.whl (5.1 MB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_palp-10.8.2rc4-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.2rc4-cp311-cp311-musllinux_1_2_aarch64.whl (12.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_palp-10.8.2rc4-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.2rc4-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.2rc4-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.2rc4-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.2rc4.tar.gz.

File metadata

  • Download URL: passagemath_palp-10.8.2rc4.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.2rc4.tar.gz
Algorithm Hash digest
SHA256 26bcf2e718d6c95cdb1e9490c95f5a2e2dca2023230afc6fad7b2746643c479a
MD5 39b33d4fa3526a3fb79db8bd7c92946e
BLAKE2b-256 c346be28d2800d88b4207cfc4963559921ec2823d32e835edfc00462a7d285cc

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2rc4-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc4-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ccfa3e5c486e5e0ffd351d04aaaf42d42453442d74779b1051fdaf6b1d20e047
MD5 c07859ac8f288497164011baf4c142e4
BLAKE2b-256 e3f1f769118d7918de07ed8551f22655028a6842f0f8abbf9c036f3a4a4d0558

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2rc4-cp314-cp314t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc4-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 1dabc0717baac8e891bd6b8bf3f2b24ad8b0a923d3a81574deea0be0bf77e405
MD5 1de5d712e4f78168053d3915060607b1
BLAKE2b-256 a041a9b4ed5474dc1dad47b95748cfc9285c0bb930bbc633d55155087adc4b7b

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2rc4-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.2rc4-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6429f3a82f4364d0e79911017b75e4868fe75fd3585406f0fd0037dbbc4c560f
MD5 d462202f697b7def5108cefa54e67fdb
BLAKE2b-256 9d76cde7e98a56821bb803253920815ec571f3b963b48f4170ca31165ccdf650

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2rc4-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc4-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 036aebfc9295711de33d4dafcb216b09d9ef4c19c2aa33781e28f2ca1dd26c49
MD5 c9bafa10e633f02f8d866f62569dc94d
BLAKE2b-256 6e126b6eb141a8b1cc403da64756ac99cac86dbab57ad25f11f5ed9007c5ec67

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2rc4-cp314-cp314t-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc4-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 985fe710f894ec1cbaedc7e7a69e1f61f0cad8477d29e07a376a5f2246f5b1e2
MD5 84c2f95f041a681e9d7ddd1e78ca8b07
BLAKE2b-256 fb19aa7cf9bdfd59dac02646d89ade8f8c897144f2bb587d79209a0121c8f035

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2rc4-cp314-cp314t-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc4-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 73a5aa9464e83b8fbeadc8cded21e4af33b2cdbabfc2ac16d4db7fdbcbe4e01b
MD5 77ad227e68be42f09d68bcd2feb13af2
BLAKE2b-256 422416708a74e2ad4adb027714a85b53aeeec756aaa4137ea810fb03389f1473

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2rc4-cp312-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc4-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0b94151254d588e334cd23cf94b623a5e4f6db28b9605969d06ce4e33aa7d6ec
MD5 dac7af861792b482ab5fb06aa83ae325
BLAKE2b-256 754ac6f8d348238def4151d211e4f6491c30d5b705a27d317fd5f729fc846a1f

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2rc4-cp312-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc4-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 471c7d9b0a4ce03ea28bc92ffda4ea365438548c8495916d772e14416e46c7a1
MD5 d83a11d33310d5c86b869653729ed62d
BLAKE2b-256 df32ed3b34a461fdc0a6ca3c398c8d32663de2ffb3eae00b0217b5eb083aa935

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2rc4-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.2rc4-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e4b415111a859367fdafd1a194edf7b24090704f523511f0b0ca151049568c92
MD5 902e1e3c0ca2306b85408486a3041253
BLAKE2b-256 468046d27b8f093eb2f556d73072296429d00724e32e1a4818b9435a1c8d7f7e

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2rc4-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc4-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 2893082ff8029b62bcce5687b0b5664ffd0ca552d255c79c075728e3042f9d1f
MD5 a584f7dded859209310610def47aef27
BLAKE2b-256 4569ae557b450487d01607c37de0f85e3a003bde6f079efebe2ca1448238c418

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2rc4-cp312-abi3-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc4-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 715b6461c6b689a04b76a23fdd26f3d073333f345f705ee4134de2c1fa8f7d72
MD5 be3611c1d34d1484cf4066e886da4b1e
BLAKE2b-256 499a1888ab04c575fb9256428cf623581b9bc3f6be7bda3cb8749e2ef4cff611

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2rc4-cp312-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc4-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 c205efd12e8439317c8e51acc435b2d818e856a80f6e738de0ddf243acf5088f
MD5 8a86941c050410f0c493e69e9255846d
BLAKE2b-256 78a28cbd72f37cf2f273ca34e3b7d92c97a50607d141897d9e5d5b207de95540

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2rc4-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc4-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 152c0ed0a479d754d97ccb97154778c082d6e506a350a287a4196451a73af202
MD5 6e30bc7e3fb35e2302d273ceb153af29
BLAKE2b-256 b9094497bd532aa2592a893aa062146bf5efa33793f333e250004685759b5608

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2rc4-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc4-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 382495bb5edd37107f8ba752d2c3eb4b57676435891977e057cf973af498d301
MD5 398db7539ec3d3d02ddd2a6b3b67034e
BLAKE2b-256 f613e6795822cd84240e5dad4092446cea5218d4112be6860f09799e9b37f8ff

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2rc4-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.2rc4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8afda5c4187b639b389c16349c73d35730b17bfad9a2512bb8e5fc875ae89084
MD5 5e86e7d77d6adae43880f6a9135873a4
BLAKE2b-256 7d35e955436b47b04cf4603c6f778aecce4231daa9ad942db8683f0f2d3dbf43

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2rc4-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc4-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5ad1a734e77ea29ad0c3c40a01fc1b49138149305965f9ef9254b754c6d6e1e5
MD5 75bedbe600be69cfb9537df33aa91de5
BLAKE2b-256 e4a153995ee8925c5e1a36a7af2ff6441a8755fac468d8b15241e576d58e0a8e

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2rc4-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc4-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2e2820d476e39f53ee5e94826151d7a7f35816ea73d03851a04436aaca35e931
MD5 2591a85e38186673528d4ae5b403ede5
BLAKE2b-256 a469ba27aca03de9c244fb7dcfc4d56a32282a7b97a32e48c00ce3b2d6a6521d

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2rc4-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc4-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 14d94bf109023e30214b53c72b28fbc1ba55cabc1463e393da9ec5cde6bc43ae
MD5 651cc30f58cba26240cd86cabef88e40
BLAKE2b-256 89ef91d294b3a7f2489f9f758d427d7410a8b414327d868d2f4131e645f08d38

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