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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

File metadata

  • Download URL: passagemath_palp-10.8.1rc2.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.1rc2.tar.gz
Algorithm Hash digest
SHA256 59c4c978fa376d65a5aa0b9387c9d105c81044de9422345ec7c4f727663a681b
MD5 737126ae1ef19b8747222659d62aac0a
BLAKE2b-256 3804fe1f77f10b0fc2105a5539860885487aa6ffa920a6c842d1bde115f83c69

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc2-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 443192295f042c375773d8042ff13c3408c5e611bca66edc0c45dbbec5f29d0b
MD5 28a8d865057fcdf1a8025226a6d23631
BLAKE2b-256 7ed67e0e74fbcc69b70c5bea24f37494723ce976d37d40ff16fec0a302edcd5c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc2-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 9a533f63b219d070b23f352ee1ce45442a34bacae002d51d6dfffc0c8d986174
MD5 2f9f98aba367c1ace3fb5f3bb755c94e
BLAKE2b-256 25190a8c080e1281f6dc744f6fb5a674498f89acee95d904f4a62d5f3a88bb4c

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1rc2-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.1rc2-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a59d5157a3bb890f03a219793d46c52c5a81c4ff40158aee359543759a269797
MD5 44316088d18a875f87427020f425e271
BLAKE2b-256 d08607950eceb82092f67b443720c150bd83ec2d67779a2a932ffc333ee3f832

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc2-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ddb153117dcf27770011c3662ee048ba8ad64d61a2035baea378dc494013026e
MD5 1fcc5c76381151976bbc0f6eaa0192cf
BLAKE2b-256 522ed054ac97950feeace0be461a3052baffca5c75fc46abd7e5d8a0554fc3ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc2-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 53aad08d7494a4c3eca3ece5fec1125d2328e040ba4766e3b197607761a812cb
MD5 8a95773f39093b2295f273cf801c6c8e
BLAKE2b-256 2afa2fd4ba8a3d0d645a68a15d908408435ba922857ce6402e4c75bbe377e144

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc2-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 9f078c20954c2a2365c4ae0da4baab75b814a4db9de1866a797a3424edc17e32
MD5 6825b0c5fff5cc04daf9b46e318e9a29
BLAKE2b-256 a57a79414608dc3297cbfbf8204e0d967bfb2bb404f9eeb75cf0d46ae35744c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc2-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c20515f1a44b3a27355079e4fed9c9d071665d5a25e44b26ad31d70fbea71bf1
MD5 69134b3c9051815d8f3d1dff19f4b3ab
BLAKE2b-256 e70fafe643b87416258a09fc91a23dc8b4da606b9a1db57588f86497ae8153fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc2-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 f8119476a6d13b222348201d51a5c678c72cfbff34c8ff5e6058e54afec434f2
MD5 c9e31fca12eb0c957c3c8bac749c4cb2
BLAKE2b-256 bb5830e232b48d2562246de62a3ab26377712b67c648263eba3d2107921bb00a

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1rc2-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.1rc2-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9d878dbfeb268e4112645091d83412fb7fd6b260ca3ea7a4bcc27acf4b9c07d6
MD5 f3246e518211671069aece9ed74225bd
BLAKE2b-256 9db5df04cd3a8a3a2c378298e3afc4574c6d706b9a4c8ea41dceaff702ce50ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc2-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3d81d603c6272ee28fd9a8c0caea57390430e9b792f4ec517c4b0a25100f259e
MD5 94512115c8c394695ffcb027a652c898
BLAKE2b-256 0e82f694e78e7b4f36be853d88180b85910c59bbc8815e6a29ecc48d811db8a9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc2-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 69aa61ae3e029f16d0be2cb1382540403ee3fd24505805309622517077fe1755
MD5 a844995dfdc74896d64b4233c9693cf4
BLAKE2b-256 56c077f8f486eb7405f4511247e2a33a1a9e454d5bf7dc0e120f0705a7a0bda9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc2-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 386775ebd8f0e3f75707e898c60eb661a7344fdf74eb6171e2aa4edde182254d
MD5 18f8e16012d8e2573378fbe0d875ffc2
BLAKE2b-256 0d52a28047cd52648f0f2a32c1dab789c2e9d9fa45a64402c29eb8be69e0a1ea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc2-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 24c3b8eb67f72bd7108d7be311cbdbe6a9bac05fd6c4cede60d9fbfd77ad00f9
MD5 767bc7947f09b58abdc38f8327608436
BLAKE2b-256 40d7884dd84c52e67792325641f3dac7d2b411aa8d8d35449708d024a13c3ef5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc2-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 58c7bcef5fa6756b34e7def8090d3f9694e8e666b3e7f8f472a9bd304e4f31ab
MD5 afd3321a04f0fd08709e8f81be09e4e9
BLAKE2b-256 7e0e35b84d73ee30e62960616ba28b8ceb060fcc2edc63ffa1cb3a56545c1791

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1rc2-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.1rc2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7d561adc0c38ac225a98920001ea7f7f752343140af224213b09b57c71af99cc
MD5 b9cc87b745eb54a45a73e107507edd17
BLAKE2b-256 a096abb03ff8b8f1844a85432d9b6653d5a79df8bdface30818126a9b3c0dfff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc2-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c972314737a4cd8f8ee3e2c69a4bbb7ea00cda1e2096e0459d2e0a02423848f9
MD5 fd522ce539b9df64e36dc3bc54a67efe
BLAKE2b-256 0ad92949c1164434a2d28b99288a6a6428fa40c0ffb92893a75315dce5a9643c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc2-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f9418b62b433c0ca6308d37d8115ed559737ec44f0d50eda894742a5417ef699
MD5 ad6c714671b749d1c2821432d7551cb7
BLAKE2b-256 cd0f3aff9788456228d6b18564051b840b245030bf998a56ba6caafc55a4948e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc2-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 9e15bb231de930b3f915e03c3bcc399a808c7fcc167dae1fb9b0f00140c414b4
MD5 52d1fe9a4fe30ab8d4d62a7cf20d19e7
BLAKE2b-256 6afe7be76d9cda437b8db193d5402e198a9b1f1eeac46d9aad4f0cf51ab5daf7

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