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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

File metadata

  • Download URL: passagemath_palp-10.8.3.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.3.tar.gz
Algorithm Hash digest
SHA256 6507764adaefd6dcf004b5f7579d549cffd060542dbb85b983efbba390bd7737
MD5 01d6fe181ccf78376da77564f822ee5b
BLAKE2b-256 bb31e91e745c3e4fc37f0712d3c17352d11d7e7134b0a15103ab89d46ca76707

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 87b53b9c03782f9c5885abd3a2653148b8dd9983d646d9aa08f1fe50a05a2c33
MD5 c484290468f35cfb7d3aea1b130564ba
BLAKE2b-256 fe705f53b2908cabb1c2fde248b32bbe855c8c85e33f9f97cfb1e1da9ac2439b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 fa1e449af6e9a55a5256aa941baa9ff8bf8d3f8a6a5895e3e7a9e804dd536896
MD5 cf78420839688a4ab06362c60c36fbff
BLAKE2b-256 ae54828f56abc5624da1cbef9d37d071b0778306553b5f0f98a465da50feee6a

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.3-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.3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 806a062da4e0facf2934f6e45ef5f031f5e8e4206fad39e82b074682570a2cbe
MD5 7d1378f10ca7e0f839184c1337d104d6
BLAKE2b-256 9c1f9737193ba419c85e02dbd62e316f3be10382a6e7db559df17690006c452e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 67a3245325e8bfce44a7616bb69e9df1f7c3eb7a55a3eb488f5bc75bf594a215
MD5 0d6ee5eb119fc274c227376259b3b46c
BLAKE2b-256 142622e21d41664f053be5a0faf65bdc18a2af5b7575e51ef232ac22ff907e44

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2c023b6a83d9cdd7b817992e8dcb642f1492d7fc4c77d26f77f199fb54542239
MD5 2a6179cf74a613782e6f9624697ef2ad
BLAKE2b-256 d36d19eadbc129fb08bbbd8c489891dedaea9de3ca2a9c9d61685c94ca8cb628

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b34d2b0810091ef2ac49282d88247c5124e858dbccb29929aeb4b8655d0a3fc6
MD5 01f83e5f0b0d21ff50cac48653fa4360
BLAKE2b-256 16998d2d79107cc9ea1d0e5b5c2ffe8b60dc39d0bdc076ee4f0233bb31483736

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 72426e2c9064f83ebe9c275c32627e432a5b36bc5bf3faf25cc1aa354153d8b2
MD5 a95514358532db8dd056d38bc584d980
BLAKE2b-256 675514d82784842b1cb7d36b4e998b254efd2a6b14b04459d447c5d5e0409cbb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 21b4b1879436506a7c5a8e7e4ddf4022993e01a6834c2facfc2f8dbd3c9ec96e
MD5 fe4a107fe3616a97912fc569a6e2427a
BLAKE2b-256 7c54fc41af6161a5e9ccbf3bd20a5925aa5de96088c18080f5a06a2b94156435

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.3-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.3-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 61373bbecf1c3119bfc278e1e5ae651290923416a270ddfac5cf90283525ff3f
MD5 77d26b3ac3cfd2d916f35789dc66fed4
BLAKE2b-256 c888a2745915f68eb89a98da1bd191a642be247375608bc67d0a25c66d65abef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3e3a2ffcd413a6aed56ad3a28b244796d7170e9ee6b653266e7531e30ac09625
MD5 72dd7d9ed557312ba3c7ae65ba1bb817
BLAKE2b-256 4b3ffe33dfdf33996e7ca7daa70c5844c36bfaa35782d862f0fd7c42b968a657

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2c9e35de7c8506eb45b03cdfe5e2a830ca05c71924558e4f942b0409291814af
MD5 0940de0d5cd83068d682dc872596a6c4
BLAKE2b-256 d54c85a35604b7514de0d5764642beb3edb8cbed17e1613fa154f18bad2dc802

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 bc505ede8d9bd601a385c4f677de1a190f3d3249f513b9048decffec8a9cb4fa
MD5 512659dd8895b2301372bef6ff30415e
BLAKE2b-256 e3ee57858a032ae0dd22a658208b22eb4dac1b8270c0a6a5c6a975fc843eec8d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8c77dd45cef6ecc08a1faa8e788f90eba61e59fe5be6d57b035f08eff13f9b70
MD5 c161228f70621004b0f8cc0468a9acbd
BLAKE2b-256 4aa888821a795e91dc0bf29d3e923ae2c7f3433f6207a3a9f8ada91c81b661e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 4a8fc251cb04ab84f1c589c167db4efba1b032688b746ce7e3a28de469b26d98
MD5 e589d40c9574247a09e10a72a563269c
BLAKE2b-256 2aa4b5b125ba2d33f3898b9f0d8672405792ab4d198e536ac5eef2b1c4857dec

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.3-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.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9527958bdb1637fb423eb3c2b24ffc474d8580128a4148c5af17ccbbd73e9cc0
MD5 370b50ee03d4019063a4a13cd56d8c38
BLAKE2b-256 749c696d3b0088b63142ca977aef0917666ca51452826ad7beeb2fb3302abb6f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 839f55cfa400e00fd8df7c67805b3476410e87196d3a5b8ec5fd88e2a3536f2e
MD5 4c28a54dfb4833137a18c090f57cdf89
BLAKE2b-256 29d7d79c96bcd8653c5dad8d4f1c146f1f201f61df958d2091a4249b78f637b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c3392ba90119ad50cf49b259ef059ae806818eb529ef5c65855860e349a731c6
MD5 dbcf7095376cdf2b9ef1d8bc591f1082
BLAKE2b-256 129bc180e982d19d9c98416bb99c397e4b904737e09b61cfc3d4ebb0a21e66d7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.3-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 064406c3afda989009f424117a443941b53b0141a55da88fe37b95790d6627b4
MD5 1f78d795e8957b922c6d2ddd42377ef6
BLAKE2b-256 8f237b0e9124ca6fa52065e31c4dfd1b3fa57acd1fef777a9692381da7c6731b

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