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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

File metadata

  • Download URL: passagemath_palp-10.8.1rc0.tar.gz
  • Upload date:
  • Size: 5.2 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.1rc0.tar.gz
Algorithm Hash digest
SHA256 0f262d09a786d78c492a140fc501db4938089465e3dd018f108e10f31ea1f3c0
MD5 e69e331f9d52ae771dcd1e59d8195dc3
BLAKE2b-256 8412a0a01800f4536d16fb3bcc92098c3fb231642cc4e1d859e6764f6d174538

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc0-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3027a256683cb445f05204c4d25e7c52c36d9bbeed837f3e1ed612a6a6ea1e00
MD5 02e3dcfadcb2de92f391881bd55f649d
BLAKE2b-256 576353c52533bd6acbc8c67fd0a881eb4d27045eb06619b7b6da1cd77a817f66

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc0-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 e8100d8a54103e7194531a97ec3268a0d75d0846854c1042aa51681809aeb659
MD5 9f9dfd772577775cf8c4e39954efc317
BLAKE2b-256 2a0f8ce1a4fedbe2885d04046d3e517b5995a6071dba3b7105da27b46bd3c596

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1rc0-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.1rc0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 31c0b4ec0b7fb0f69a689335b6bac8f57095d1f543cadf52dc77f4ec4165b7a9
MD5 af777a0185dcfa8437aea9ac9c4a7e9a
BLAKE2b-256 735c95fc038b6de0669766d3c8bdf184c00c31a5c96c7ab44690a52457881cd2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1bcce0d4fd566df235ba4e49102be520d2e34f40d9421162165690ebad4a95c9
MD5 56318bcebfed064be5daa14db53ccd9c
BLAKE2b-256 8d34fe49f0712b46f859b2901386cf3e4572e71d566c5ebf9d27dded0431f190

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc0-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3a8e3427546ef6a08a1742f89942db83651d35044d32fb1461cf2f47cc09d056
MD5 44779416a4f40bf68ecdb59d1a6eb870
BLAKE2b-256 81ae36126fd0ffc27359ef284cb1efd6e69f5b920289dd9fb3f2b20963a3eedf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc0-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 153d68727081ee7c93871c1964f54134c8af8cfb441dcbc8d5e3c11c78479d22
MD5 9e71ff45ed6af7f021789109e45c5354
BLAKE2b-256 7aea207335bd6cfca67700988eae96a683f5742541cf8123821eb50acb9e7637

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc0-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a1c36835d3d7848b0db9983c67286627ec56841b2f9f3957a69ddd37e3b4c26a
MD5 3031597ab865076bdb27a4023b61a807
BLAKE2b-256 63d4d0ad68f5d15b1e742cd54724032a0c3dc630cda7c96c600c6aac732b7027

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc0-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 bbcf527001a3c9e730d0b9270008d2aa1c579f07c57a94e85b430702768f0791
MD5 e7d6eecd2cc8b16255e779333fb5efaf
BLAKE2b-256 0e4e2e8ad70b98a004ab4a0a71de6ab93b2c6f7ee0a576f654f17b087a4bdedf

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1rc0-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.1rc0-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b0c671d41b68308c25ae01b0bada69f27faf6c4ce5959449a4c70c0d2a1523cd
MD5 01e89f515cea9dcd94f67ca5a22c933c
BLAKE2b-256 d938a8017f9c27edef55b9217c0ce704240eee96e5329740e73021e589c6a9d0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc0-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 eec00add04595c25babcd4f921e7ceaa36908038ba8a13cb10cc516b5afe5b19
MD5 2a480cdc38de3c90072e46f13b29a493
BLAKE2b-256 3477836a263258343c258da0118a3d612ef898eb39994febd3775a30a4db4eaf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc0-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 16dafc39cc14f86d9896420ccc474cf8ce96424ba1f37497a4dbcfd89f648971
MD5 82cf103628e40c62ea82e6fec12d6fbd
BLAKE2b-256 ba99b0156b987858e08e7432a5c148e7c5935a0d7337a742e6242239a2e8d8a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc0-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 afe3c5572a5a1beedd30feefe385f4166998bff935f4d640a8f32e415545cc7a
MD5 cc48883a8e6ee3e491a095aae7933ad1
BLAKE2b-256 59d363e12bae2078384dcc53f04e64b284c3cba3ce8d9063e3b929c2277d1d35

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc0-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2bf95c24fd33dafda22809c4822c56eeea0bb610296df7543b1915718d62feb7
MD5 5655ad7132b7b4e9fa545de914109d39
BLAKE2b-256 53cd7b393b2c78277235004800ca72c87e6252178fe102db4516677f3fd7c00f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc0-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 2be2c833e4d0bac9775edae4bf8031d81843e4f54d7f837d53dbebabed3e19d8
MD5 8a61d5341325f7834e38289a1d0b951b
BLAKE2b-256 3c2597cfb957804f0299669af28c55ba3a7fcc0984b43f1e157e87c32d0dd724

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1rc0-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.1rc0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4ff7d2690891c3fbf0aff7807adca76ec265cf597df2ce75276fd4e196871efc
MD5 c3be764181bbbc8162dec09baad4550a
BLAKE2b-256 bcb89865fa704473355e14964f4ac0cb67d3504de8a85f5b48197e5ddb14fce4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 7a8d5900f9960169ed98e622b3dfe0b242fc468b16513d419ae481c710c7baf6
MD5 1069a8e38022e17fe6697f13865288e6
BLAKE2b-256 bbdb0b4343354b7338623001d0a9db24a4b8af2add0792c5614cdb1cb040b14a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc0-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 de08366ea910ba148b1ba1ed7d51eaee738bc2493eaa17a15948e1ac0259c9df
MD5 d5bf95e2c95e8aca3789f695d29e67c8
BLAKE2b-256 5292bd26887703f3844411753e75f97228611f640ccac3f02a8055cc60a0a41c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc0-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 7fdafe86445bdcf7087ee2aa635022358db2314f07172cab42146c6dc7fd8172
MD5 ed54a772d5da943afd7d37b8d5d341b5
BLAKE2b-256 1f7ff9dec2f73eaae389b017e0e288e718d4cdf74adbe0e015e22132e3963e8d

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