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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_palp-10.8.5rc0-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.5rc0-cp311-cp311-musllinux_1_2_aarch64.whl (12.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_palp-10.8.5rc0-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.5rc0-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.5rc0-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.5rc0-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.5rc0.tar.gz.

File metadata

  • Download URL: passagemath_palp-10.8.5rc0.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for passagemath_palp-10.8.5rc0.tar.gz
Algorithm Hash digest
SHA256 a355d1533cc5f2f95108619e7634aa9b9fc463f8b485cda11bbc0e19da849079
MD5 e0983980657b90162ca7f3728cddd7fa
BLAKE2b-256 16c4e638ca953dd3bb03eaee148d5f98fbe5a82de5348d641024772159ba4f15

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.5rc0-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc0-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e4ce929ceffa7c85b70ef83cb60fbd8eace152ec62d62e928d88c55710d3c51f
MD5 61732a2f307b53354d345ae462f530db
BLAKE2b-256 6bde6eeaeb0fc830d6177952e31d2d6a34c582dc5c86b2f126ed03dfff63c6aa

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.5rc0-cp314-cp314t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc0-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 1fdbd78ce2db09d554024a289edf66295270ec5dac267ba617b5113b7b2ba7c6
MD5 31c0e16bda5a432d8f2f0b3262e8db7d
BLAKE2b-256 2a5d09f1068e776162e4fc9c2b632ba39fff2360bb83136df83258c3e5a35128

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.5rc0-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.5rc0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ce34e0c336b8618a26e446301460d49f7e280d4b108f71caa039d14299a6c1bd
MD5 7a8fc945773c0567e7a0b56a04fc03c1
BLAKE2b-256 e0ac6d2e44bd3769e63e217d5ab8cab64ebe8dfa66812845dc17b6f8c38a32ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 36e62a693338b8d7bd55d3cd2866d1c2351ddff828fed159dc89fe465bc9b43c
MD5 a77ebfc0ffcc81fd264bef0e37cb1dd4
BLAKE2b-256 4b74ddd57a7d687121df6a2f3d12d2e73b18bf001d71ca98353dbcb5d9e92b00

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.5rc0-cp314-cp314t-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc0-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b3c0e8142381f93029a2289ee2c8eab41ca86926ef90206249d377e140fd62b4
MD5 aeccac75c703fcc0f7894301023c7e81
BLAKE2b-256 a009ac259d412efb56725eb0573b92c6dbc7aa145865c0815a21b3d03f38b84a

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.5rc0-cp314-cp314t-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc0-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d0501b984ad07930c6412f5fcd338e3ff49930bd1f5a0114a8b6d9819be67bcb
MD5 1e59b0d98f14981249f111990d7f982b
BLAKE2b-256 5ec462c67b3766753df356aaced8e8504a2523c1075027c8e47ca4a5b3a55fbe

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.5rc0-cp312-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc0-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3cbcd4d1d6c69f3e098d847988901e153f85ff75aed0b10111845a5a455a924c
MD5 563d78ac92c06f449c6cb3e7b21cc7db
BLAKE2b-256 74e137064027ea4c8372c631a64fe01cf22d054aa59fb4744ef6be9356c61262

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.5rc0-cp312-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc0-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 c5b2b7b4074591d29881efd36c98e9b42d4b908f1a0c7387c95755c34eb245ac
MD5 9b729d6f0700f2551790e44600473735
BLAKE2b-256 ab39b5e44f986022c7c3db93f34a75548c5b19c538f879e4a27a0fe16eeada4a

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.5rc0-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.5rc0-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 572e15beb07f24355e9be21e6a17a12a8725340a2c7223439314f050a686f270
MD5 7f10e4daa2e4bd5c8eaa0a96718fd1ab
BLAKE2b-256 47a4259a2644e07a76bb22bb3c923831f757799e883cbcdfb062ae09d8964ab1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc0-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5558cb86c1b627313e76f4fc447ccdd84a9ad0f65dc396c17823761e77b2813f
MD5 6ba66fec56a4b30b2787cee03da53f5a
BLAKE2b-256 2ce94f279006f52d3290863e27237291854e9b387342ecce1cd8783bfac60cf0

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.5rc0-cp312-abi3-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc0-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 626255e9762e153e2046480bc003453263e042fd2b554cd529c80313cb540f14
MD5 de11506b9f84b3e8f8014b824e6c89fc
BLAKE2b-256 dae8bcd25c5e858a8488cc5fead024c4f092fae547c3df3989cd1511219ca618

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.5rc0-cp312-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc0-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 1e7b6b5d3697500910b7da0a0d46af3a6cd09497bcc941d944a11b9f1419b8d0
MD5 9e30dc13ff595ea717812f023014ef43
BLAKE2b-256 a34496a00d64895dcdd2ff98ac7310f1b2bcc49913f899e79a8f1374f4330bfd

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.5rc0-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc0-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8fad5c38e96330db685e661d8a05b7735b7d1ff65f21ea3e3c5879abd5ef91c6
MD5 5d6dc693f2515bf99a6ab98ecbedd248
BLAKE2b-256 44f099f6c4efb5825e95e5cf48c09eb587381b048d2b31312280d41369f8d11d

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.5rc0-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc0-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 cc6d180d05ad18b4cb9e8c50149e85a9d008448a9f1f44d1e6dde10220f32957
MD5 dec30bab2d517b4fd2710a16fcc5cf3f
BLAKE2b-256 3a58f0046932603e55d7bc8e23a92ab9f2353c8f09085a14a8662fb52fe417cd

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.5rc0-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.5rc0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 97c2414ff83d1595e4ef4de4c6a3076bcfbc7b79105e7176a4540fc95a94ebee
MD5 355cccb8546c42cea6eba661fba69a13
BLAKE2b-256 d411bedaa6f822a2148b95de4f67c1d871c002ff63d5044542bb4965d90bcc74

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9f845a9eba5ed5804b7f7b43cc719c4c9bb35473f2373497d54ad00f9a2ada61
MD5 80cb3ef2852ddccd19b083d7c54d7b6c
BLAKE2b-256 659235d7fcaa1c9d8091436119ed52b5681b4c37fb8009a3993ce880d42c8dda

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.5rc0-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc0-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7c4fa008fd88096706cea6eafa9a36213629982341e38f4e7da182d28d1d4a4d
MD5 754862752a79c176a7f6c0c37f6f92da
BLAKE2b-256 ff5860e4183dc903d0b2e00743429678e3e177dd728fc07458c9a8829ebde857

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.5rc0-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc0-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 1244b3960d54568d91631527019c518bec10addf234a2cf68e67f9632e2f23cd
MD5 3f00d182fd703d22c44d9607dcf3f6c4
BLAKE2b-256 dc174ab083d78eff9a667cdb32313d22b9723c50916e24b8e6e079b1557bfee6

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