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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_palp-10.8.2rc0-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.2rc0-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.2rc0-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.2rc0-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.2rc0.tar.gz.

File metadata

  • Download URL: passagemath_palp-10.8.2rc0.tar.gz
  • Upload date:
  • Size: 5.5 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.2rc0.tar.gz
Algorithm Hash digest
SHA256 06fb6c60da9c2b49b6c41b687258c7afb97f5661940bb1b15f55593140541763
MD5 943d0603afaed1a313cdefb774cf6c44
BLAKE2b-256 08bb708121fce86429ae026a28611704c0bb076cb3247953c0317d39a6a44c47

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc0-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7e54412e5db9f4bbd8dae4a181452dc1d78a89d542c974f0d0ca8752137086d0
MD5 a2829f319b0d90deb58bb0eb90a35b8b
BLAKE2b-256 44781667dad3d6df6f84de63147b3adc7bce8abb0890ce2dff15ec437c15a2da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc0-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 347b7c6cbd2a54b0cec9fcac862d47ebce1c037f31c707481fa62dd38410e1c0
MD5 fdcccade772332bf297d882ce74e8905
BLAKE2b-256 f6dda92a2cdf546370a0b74476d6358db4959302f71bd7e814bcce0ef4534989

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2rc0-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.2rc0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bdf9c84085038a738d5457ef79abd6e5969718cd14d7c50475bf60de5f077276
MD5 480a86914f0cda21a0aff7407a73f37f
BLAKE2b-256 cd8b0abf9c4b97c25397d839826f269a48b9e5c33960ad6d149f7cd19a6f3ef3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 49c7360c74c71dc9d90554051106084bca6f4c2eb5ff64705291722bb85d76b3
MD5 3298f95a22176cafe9ad0fc845c45738
BLAKE2b-256 27f60559b7fd48d0fcd064323943d954852b755b32adf8e678ee3eaacc73ce17

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc0-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8adf96c57fc0d66f91f22d1d06b539424e89d5a03bb791c6c2dc7928a7ddb7e5
MD5 7717ea87c5ce0c1c5635f61e7bf106c6
BLAKE2b-256 c370676feb538fed994069ec143f01cba118d9f45c43071328489a11fab6afc1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc0-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 2d2b851bd44db563109b197810a51a0a42c1f5c5cb057644269bc7b545a99538
MD5 dcc69fd0b0a76391a580d2f930a9a66e
BLAKE2b-256 3d431a744c131b44e570758ce71c6953a06339b001c1897951701c952f222941

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc0-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 605638919e97bbd472fea4554415c71c5a561df25ad502e88f6d5cd85388a937
MD5 a23a5680dee86c1ef44aa4c316b05c29
BLAKE2b-256 b738fccc76c2e9ed0389d8d9408dbde3d1696bc5be4f5a850e4a67c8115296b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc0-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 6d090673b1d5779280812df587729016b28d0513afbe45bd4a21e5f8f2b18dd2
MD5 32dd28ebd8b5187c59fea14714d7ea77
BLAKE2b-256 7a3d590ddfdbcaeb4ee97fd54683b9f081db0fd0cd105d41078b89108030d14d

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2rc0-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.2rc0-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ca43eff980934e6bb4b1e23f331a40e20fa6dc98f8231d7a9b802698393c1993
MD5 cb34d6e1dffef49412e5e9164543c2ef
BLAKE2b-256 ac206223125a84b0d4a6d7761540013edef2fddcac2bb0fef8d45e5c3cc891bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc0-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b21ca94692956869f48c69785c72bddacab002b55d9bd20ea257c9e907d1a3b5
MD5 15058797a8734f3f5c89e119026ed164
BLAKE2b-256 85bc7e45fb7732c426ecabc107d841f4d6e6380faf4ac23586671e3058b6d0cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc0-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d18ca88937afc704672b0251dd9089828220fc760e7609a0e2e8ac8dd5f14678
MD5 2ce0eaf7d0d00ed92e88aef57e2fe454
BLAKE2b-256 0ea4e6ee0b4187a5082a2d4e060f122d578bdabc7a990527331ea6614e6a8bee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc0-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 4827b77f23d93987870cc7e2446abb1dbc5f74f18ce2f6a2027f4c719ce96a59
MD5 10c3666aea67302b399257a45e9e8b99
BLAKE2b-256 c48947454af450677b4e80320e9d9270662525fe60dd125968ba8c3333e7aedb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc0-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 129c573b204db2fe1865e350b7eed38a8c25a486174b5e9f20423215b92e2a02
MD5 248421343e005236e74387608aa47ea6
BLAKE2b-256 954741c37197af6f6dc8459ba2ff32ade5121d4dd8d4749d044c8428e0610a34

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc0-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 5cb90f64c2eef6af3f0d630c910b754d605aae4369da4867be3d35c4a7229bcf
MD5 4af69b8377d98cab0c83a8848fbb02f7
BLAKE2b-256 5418862e27c0aa7c3b5bb2779f296c2bc0e7963a4973fe8cf98a7889c6bcdbae

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.8.2rc0-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.2rc0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 665c70816285f45387fed8a6db6419531e4c3e1994ada0e72bb4c95e95a4dfcc
MD5 32f1e2f714cb6b640cfc0b9c1e4d629f
BLAKE2b-256 d8867cdf5907a25c0d93426846cfd6eede8d9a017c1cf052dfec54213bfe340e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 23403aa66fbad15bc29c7af001cbcb183f866d30c59297178b223e2beabb3e21
MD5 775e55f13686ac0d82d90f41b3847085
BLAKE2b-256 a09e6b502b88a5771ed19e06c1c9619fe09634a5d7cd6a5015ec77b7415a228c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc0-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2bf5383e41bdb0361f6373e9574178715d91d790d299bc9b2331d0034ebe996f
MD5 b565c940311f42a68476d361fa1043d8
BLAKE2b-256 d48da2032d7b59352be189b74be66cfdeb5a38bd67cd24d2f148e57386fbf1fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_palp-10.8.2rc0-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0c6b57bb29042162c7e366eccbfb4d8afed3f48076fcdaaead81d7f7d8953cc2
MD5 ef2715d6b6112531d34fd09c41c5e716
BLAKE2b-256 0581993d72068968d3064d0c5beb6ed105af6a24d3ecfe01567f1e982a8536d6

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