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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

File metadata

  • Download URL: passagemath_palp-10.8.1a1.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.1a1.tar.gz
Algorithm Hash digest
SHA256 0c94106165599722ce13956612dd1a0eb8a1aa23b9149e765144355b3d21010c
MD5 738f0239546b443a46fd681635ea0ec4
BLAKE2b-256 f01162abb7625678b818c5a16b7e9cfbde1566b91f6f681b4bf50caed35ecd59

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a1-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4477c4c7e5949847b751f419d82298917deedbe29bf96afe3a94556ae1ca4f44
MD5 d39cd1ac785b2864b909913b9f963277
BLAKE2b-256 9629bb01294551b3b9b3af0d89341afa7877f75e04b8a101740573b9a70f1dbb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a1-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 cab248c22a85b940230afaeb23066ddaa576299af37ea0db3b1a64822b41a445
MD5 cce6034ad07b79a302ef2ded0a50c2d5
BLAKE2b-256 36ddd82ca01a82cd1f327988efb55e713fa578277a1ddfd973b15524f0e99581

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1a1-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.1a1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 376931914571bc3b6b31bfe3eacd82452bcfc790a4cba22227c334c1410b8068
MD5 183ad19d4281af738494f10acf719d44
BLAKE2b-256 c2b391b61ccf9bfcf510005b12874c02bb9a5f478a92f61abfa22d2e4bb927d8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f5fb7685b17b62bfdf3969bc919a47e6db18c2f279b3e3192ce07741e8193518
MD5 98dc675c3cb60bbd610523517694c185
BLAKE2b-256 1396a2e4f8c1f919343293f9ba8803a7f4aef5b757dde56b3d0c2d149efae8ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a1-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ca4efe9b9f60eba14dbf280b9036c0abfa148f28be300074c84604ba25ba6c39
MD5 df63e7cf7a35fa8cb174a3ebb931dae4
BLAKE2b-256 baa71749517dff99427b016a83bd8c6fa7de02043f26d35de05f90e53de89238

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a1-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 11a888af206eba930b664c6cbb472e5e032982289baf533ca532c2c99c78ff45
MD5 8f5a75419389ae7d045972ed153bafcd
BLAKE2b-256 b5b0eaf9d6b0ad31d2fe34a7aec784e99c83e42b184ae88911d91b94909f95f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a1-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 859769f218c029af414b9816068a751c751e83f7f000af84f45c00d4f7102815
MD5 ee7c44bb652e80389ea364390d475829
BLAKE2b-256 1d5417b9c1f700b9ea3507df36fa8802828ea9e76e59ce7704915ea32c89cea0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a1-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 6461633cefa1050e2c329d829e18f2d40dac1d4c79aab9ff39ec244d1cb41312
MD5 2e83abecc8099a7c9e85640ecf644f41
BLAKE2b-256 4c3181fae451634a79efc1e3a3998e9bfd48cfb62f95d980410ad70d4483cadf

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1a1-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.1a1-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7b37024124c4afa1e0a8507d51c56fac639a32ffb98257a80d53078988711cbd
MD5 cfe2717573968b0d31fa26a0bcc683c5
BLAKE2b-256 ba617d9a37058601099e834da9cabfaf8b9f4472db13746f758911137f134fd4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a1-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 80cb1c48915eb8812e91c5dd125a4ba07db1a27ffa8932d6de117c70869b118a
MD5 f956585ad9b63865d02c75b924374acd
BLAKE2b-256 b698037faeebccedae7406c0c7bc45ac767749aea8259c2f133af784fcad3866

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a1-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 444cdfbf0ebe125bef328cbeb26dd118239508124abdca85a147b860b222887d
MD5 8a51ecd7ce78cd9c5b4a1132178c7806
BLAKE2b-256 083a759ea4de6219b278ab5c313b5f701132c2214516865715f81d00c79e442d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a1-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 21257a1b6f2e79c62a1772d09f2b9612ff6a1ecd7af085fab0835786aca09c9e
MD5 1accfe4397602e5000f96c4d8f2a2e44
BLAKE2b-256 b885221a92477e5f21db2e0ee0a2c7ed30fc52359eec66512737cb5f21d8af68

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a1-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e4e8ce107d3d860223d094c269d0a2e3ecd40d13a5eb92bcdf0cdef1cf0a985f
MD5 21e07ba51ea2b61d610486ba46a54801
BLAKE2b-256 a8b51f39b22744ced2df403326df0ae845a7ae3c65776cf598b40eccd0441afd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a1-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 2e5c6f651c9e280dbc484db4dfaa9ef4ae1cf565e9a4b0424af846f9094958aa
MD5 7b5d42a96c6b4622e66ffd6a4d4c2e39
BLAKE2b-256 0f6be40c33a61a53e64bb93a62766b599177c28eb1d4289c7bc03b2195f560bb

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1a1-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.1a1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7ba6c1a4a43e33609ca0cece88e8a89dbb01c123603e7be6b9b9592a4bbb66a0
MD5 da5b26e47021eaa3c50ca37d400bfcbc
BLAKE2b-256 dccde8fc4d375620e96f840c834acbf0e06bcd98e3bd67a3603bd324dbeb4c9c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0b7ff7748ca5b4c9626343a10aea63dcee0ec826528e662253c165e11116b23a
MD5 bd5ca74a19767082ff58967286b96e17
BLAKE2b-256 d3d58b7a406aa7a39ec698e5826ca844b44c22284b33689c50b7320750faf2b3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0efef773815eb1911e651108091d55a502fc677e1fe83b03fe29d8a2a66d5538
MD5 04211663e2460426083ea51510d341f0
BLAKE2b-256 95fce1890d1de3dec5cf335e715be95e2ead8e7a3ffd349cc0ccf01e9b7668bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1a1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0c17f9bd84550701e088b83f1d811637b82fdfafc6a42bf2fb60ba358465cd77
MD5 365b34746882a0fddd26a7cbc515beeb
BLAKE2b-256 52334a1b3c5e401b353bbee6df45fbf18c0a55580fde7643b9d9401911257140

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