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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

File metadata

  • Download URL: passagemath_palp-10.8.1rc3.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.1rc3.tar.gz
Algorithm Hash digest
SHA256 e230e974fb99ea987186598bf41205db8bce638a8842095f48934e3093b04aa6
MD5 867b91a8e45747da123a7e8d2e1d6717
BLAKE2b-256 00a6e9ca599fa19737473483908d11a893122ed1f01caa8f9981ffc2a840a2dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc3-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d8eef6b30a8156486f6bfffe02a47f1338efeecfb595db0a5457f3b70fca9283
MD5 ba1652f682fa286f729e196109dc5161
BLAKE2b-256 75d23f803635e01b0bb76b3de2c2411fe6ac65022e5b6d192db9f1a95a8bfa28

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc3-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 2a0730e0e650973101a36e5096ac522dfe624f207ae251b4dd7404cb4a2eef70
MD5 0edd59c201741eb37a42b7775c3d7831
BLAKE2b-256 9a874418bff58e8fe20e319c05bd5cf45e00c637bb2e7efb0919d70038dc92fb

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1rc3-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.1rc3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 af0dee727aeabe022e5b55870440bed7a846d9c4dd8461dd575ad26362c0f3da
MD5 baf2563dfb0297151c906d71e729c881
BLAKE2b-256 bc722dec96e34462a6f7f2e52e12447e78c2a0509bbbdbe77c6da0f4f255dd8e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9ccdfcf3270f239f92fa8209951aa8b432df3aa3a6fa7c1e8511d34786908754
MD5 60104c687432cb6ee3c576529a962935
BLAKE2b-256 fd8d60a98e113ed52f9d4b04163e4175845e2d469bbb6a1ffe90ef1b806ed33d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc3-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 77402b63d9109dd717f309e4c56dffc982c1bfc252fffaa18893d5823616a7ff
MD5 265610994caa7a63b04690b1de5f2e30
BLAKE2b-256 e88713991d0113cc7ba8a5d1cf47d28248d902942eac929688ea2ed35db7b57e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc3-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 a3ba8bafe65769e02bdb167767ebf48a5a428856c2488634e25cb2fc314dace1
MD5 a9f31a7ca2c9b99f04b54cef4149e56f
BLAKE2b-256 9fcf2c1aa01e45e3a8a2bab5db86679e5d0fb69f43e3d0ae3bdf8efbfb1a8bb0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc3-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0f6c7af95df0ac711d9680086081aad60203f176ef7432ccdf9977e77afec83b
MD5 24c841faf88a29c1f822b5e68370368d
BLAKE2b-256 94581031987575523ce6fb39a12a7381a4cb0408a5f38416c1ea2ce12a0c480d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc3-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 8deacf9f37b22307c84e0a3a232b1a6603fdaa5dbcbd6643a291e3b04a4f5748
MD5 6776ce69c574deb4f1ad9d7cd6b2e530
BLAKE2b-256 ab98147b5f2ffa0c093d6c1d2932a8f8d97e7e1cb4cbe10493a74a4b6775d0e6

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1rc3-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.1rc3-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cfaec7b6b5a441d621d8e950a7cefa62526970ed28baba242e0f0abbc9a8e734
MD5 5bdddb475770c08aadbf5f3b63a1b428
BLAKE2b-256 480c3d99069367b8ffcc9fd43cae87b0b781d4a6fbca5a42c2ceb35387a2697e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc3-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 04635129e8fcf76617dc4be13af28fbb87e9fc7e5e2ce4795abe84b63942c4be
MD5 d526191cbf283e623ecc6a393145dc8a
BLAKE2b-256 7ff60dd7cc695b1d644d0b4b040af5de5de000ba448086da0e53df4634b55b31

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc3-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 72290d5b229db37d8c68b8071ad74363a708e73da9a96e1e374627682868091e
MD5 c5112e5a8892f7592fa37fc70e5c8a04
BLAKE2b-256 7771e3c18f76098c76d450e705c92bca925decba452371cc83d8ca0d5594d2f3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc3-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 dfd143c9943fefcdcd7f809c3da50a65e1aa0a2889f3191a4dad8a256e1b9faf
MD5 477e1d3810d598fd31cfc82a156b8e80
BLAKE2b-256 e2257799fed700a2e8d7b7f510a3dd4362ca91faa51127041d268c2fa5a3a1c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc3-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 33413a882116919d124f87d05c680ff78808f1286205ed7c7600dcaba4d0f6ff
MD5 621843dddfdaaa82dc7cf3ab4f9e6ad7
BLAKE2b-256 45bbd6c30443fdfc84673e983c48606e7bce79dc49eca90b00d6e1621a7d08e6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc3-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 2e98dfc2c626959f45d9569f005f7965060d01c437dd2000a530a98104579552
MD5 b0c9a6807afd436e89e40691a1105449
BLAKE2b-256 57ca8f88a0f5733a262633f17a2f9abddfa3b8db5e6dcf816dad4ecf23121abb

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.1rc3-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.1rc3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e7cf31c3429d303eddbdaefa704f59512b08e3fbaaa7068c975b5669debe8b06
MD5 c17b1ff66fd016d08bb2fd2929249ce1
BLAKE2b-256 14cae468acd9a0112b25682b7790150603b7c022d5d9e690de91edf8f219f5d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d0f63425d8f01d8ff9dba4f212539d9eebbf8189a1e3c5e1a4e415f4de18114b
MD5 4c87c5117ad3917cb608f360fda9d728
BLAKE2b-256 3f4e7229f4a50a57186503751a5344729b478db3ab5145ec35d10b270c2a5a78

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc3-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a375104d1bef47bfa71440fc8ebd75bebc3979a3f127527ba00c8aa0a652f95b
MD5 d10d95a37e290234201733bd935bb4b4
BLAKE2b-256 6dd64c15a26330d70564b1943b80b83f40dd9543865676eee46b347b76b95172

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.1rc3-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 19b4db459214ba53ff0fd983308ff3de642f2bbc58a74aba11b8840aa3546f44
MD5 7497866aa339058de07cfb276aa37656
BLAKE2b-256 7332c607496dc65ac59c7e33f3061b9eea12348bbb2fabfdda58625cf7210bf2

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