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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

File metadata

  • Download URL: passagemath_palp-10.8.5rc1.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.5rc1.tar.gz
Algorithm Hash digest
SHA256 05a762e704035ea4dba7af84f4462d88b1f42eb5ee6c9163417111dd0ee21558
MD5 6508d57e0773c73d2f9eb6697e69b9a7
BLAKE2b-256 3155117199d075fd594ce1de155fbdb67a01eb5ae2b75c28ed43cc0662bfc7d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc1-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 bcfc4793ccc2be7e7218b3aac8de093e4ffbe7678e29cbf774e79dd4dc643e11
MD5 a57268fcadc302006746d57cdbc38b96
BLAKE2b-256 442cd37c4d64ecd0a7bc8a4a5e8b965c2f40d650d60465b4395c234b1d658d77

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc1-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 b4031331b9e1a3d254b37a6c242c523957e5ed5d8ec56e1532c6f315c63a6226
MD5 4d7ff0bc987389db10235654fca2f45f
BLAKE2b-256 e8e0408251f823fcb321a05066a528c7d34b7a6efcae0e1becf9dbccea591f7b

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.5rc1-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.5rc1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b431b66d3211e810ec386e1cb97b8b127fdb3291e58c6c00480769824cde5911
MD5 bf8ed2e160a31fa65efa4055193c790f
BLAKE2b-256 8a6ebf751d5f3a9d7328244971ea6c66218bde7782b1c41d1c633b2bc6ea7af2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 32dcaf266ac0fb5cbdab60a4337eeb5a10b8136d67a7949fbccded2d2e7f95b5
MD5 5dc99f54d53c395d4ec767c45b40d95e
BLAKE2b-256 5d1d66213ce6b313a4ebd063443235f82df6f88f71778b7424a0354a29c29f3b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc1-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 163da873f231fc06652dd3a29ee2dfd6f1b7cb38bd5a7bc708af331a47f36905
MD5 3b9d3548039191f2b0f7583cb08f0a68
BLAKE2b-256 08301dd5af61dd4340fa23b3e47d987cab1b75a1cfd73864c52f41fe0f0413dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc1-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 cf5571199708efa581aa0fbb237e15e45f94478707a499ceadb7615495d6ef49
MD5 cc80cc9ab0ac6d739ffedc679f90a358
BLAKE2b-256 0dbfd10cec81938e91fcf04f900d9f35c26c31593e7ba72effb0a91a33abde04

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc1-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 05c553c85e5174ae92f497db2183ccc16c1248cceb09eab51d5395e6ab635091
MD5 26d27ac675551a0dceed13791a345a6d
BLAKE2b-256 3040a26789521569e62986da466f92e1e4c0fbc9a03fe6449c59308f0c5e746b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc1-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 91c1213b31d1d3fc8da9cef688fad77988f48cee5821b1a15df52628c075ee5c
MD5 82d447133b6f3a5a6b91ca0ef878ef06
BLAKE2b-256 e207daa458d2d018e373dc4de7cbdb2ad1b6143822a06af88e9767a26feca172

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.5rc1-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.5rc1-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f5518ba4a3d8cc8ece2cc0fd5e358b4299d5ad8eed26f81c6810ac8af29deac5
MD5 943a03debac98c14f6b9b7f03403110e
BLAKE2b-256 4768da66fe0eb5e0197e8a7cbd3da20fe449a335b9373c8e0defe9ea2d5488d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc1-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d74809c2d8b4dd744f35cb50398565ea299c6c435f3b1d6d9954c434a3c77de7
MD5 97750ccc0d1a7fc9e684f54d540a115f
BLAKE2b-256 c4d39888f9fb1f441856011c2bca2c0586e729611dab74dd7f13d225e7788d36

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc1-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 4d85ba32e559d6582ff55cb9c71c45fb1b8432c0aeb899bb9d51cd1ea7616131
MD5 0f60a293829361b977155e769a074ac8
BLAKE2b-256 9fb2a92989afeffee557c600ef7314896c5dd6acbf60be5703c009c3206a58fc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc1-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ea555ad15006d3ba88201133d38c33ce8d70788385d58074dbfe75defa4af86e
MD5 5f0a0094a4eef82b863a60df81f665a2
BLAKE2b-256 4364699c32b3abae3e91c83341e270d81a1f4f5eed6cf8b9147b4db389de0a2f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc1-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 74456cca1ace375604c49cca45ce71e1d8c093ff70f749b2a7213b0d673417fa
MD5 9ae8ac6de7397816b946b3cf2c2f4dfb
BLAKE2b-256 892b15c4493e907b90185fff64b01e314de005c4f999ff5abd121745e5e93352

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc1-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 533400690ee8606f4466ee50ae2c87fa9fcf7cb20905813d3e28c60f987754cb
MD5 365d9931c7f0cb1131eda16a55e87906
BLAKE2b-256 acba1d9f319bd23ad228bd4ce904a85f79404d34a3a59189d12f3d7396191af7

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.5rc1-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.5rc1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0b68080afa260cbcd9315186d209d605bd934341e04561e89e52c69105a2d361
MD5 38e38d4e0d3ca3079e9747152fc861de
BLAKE2b-256 88f39ae97febf42cdd43df5eeec75e4593597e6d1bb6ed736df7a19b0a7d0444

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 466f1d08f1d11f085b92a42328739803a20449deee46cc77d82af0b6ec520f3f
MD5 e595c957e8877ed15f561f442189b63e
BLAKE2b-256 92c6b86e201620369044d4617e8863b78f7fc1f06cf06ac92dab952ead8ed969

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 cf8d4fb31344bca1f290d52004fbaab8213c6ede05a5509e08dbdbe15c4e13e8
MD5 b24ab13e40a4d8095788550ddcd79f33
BLAKE2b-256 f59c68b9f6c8efd28a15e8afa119f03eb3f7a749ac760ab30081f9b66631bd5f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.5rc1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 6640e12a7e263c8e6c68ae2c147c917a56ca8ef38bc0cf6e0f3c647d10ed03fa
MD5 b737a9c37335e0f01a494882dbb8d4d2
BLAKE2b-256 4bb2e2f782057dc4d55f1cacc4412b8e2467c31f5bcb88b4b39606d246a2f738

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