Skip to main content

passagemath: Lattice polytopes and applications to toric geometry with PALP

Project description

About SageMath

“Creating a Viable Open Source Alternative to

Magma, Maple, Mathematica, and MATLAB”

Copyright (C) 2005-2024 The Sage Development Team

https://www.sagemath.org

SageMath fully supports all major Linux distributions, recent versions of macOS, and Windows (Windows Subsystem for Linux).

See https://doc.sagemath.org/html/en/installation/index.html for general installation instructions.

About this pip-installable distribution package

This pip-installable source distribution passagemath-palp provides an interface to the Package for Analyzing Lattice Polytopes <http://hep.itp.tuwien.ac.at/~kreuzer/CY/CYpalp.html> (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 sage.all__sagemath_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.4.59.tar.gz (4.0 kB view details)

Uploaded Source

Built Distributions

passagemath_palp-10.4.59-cp312-cp312-musllinux_1_2_x86_64.whl (30.3 kB view details)

Uploaded CPython 3.12 musllinux: musl 1.2+ x86-64

passagemath_palp-10.4.59-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.4 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

passagemath_palp-10.4.59-cp312-cp312-macosx_14_0_arm64.whl (4.9 MB view details)

Uploaded CPython 3.12 macOS 14.0+ ARM64

passagemath_palp-10.4.59-cp312-cp312-macosx_13_0_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.12 macOS 13.0+ x86-64

passagemath_palp-10.4.59-cp311-cp311-musllinux_1_2_x86_64.whl (30.3 kB view details)

Uploaded CPython 3.11 musllinux: musl 1.2+ x86-64

passagemath_palp-10.4.59-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.4 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

passagemath_palp-10.4.59-cp311-cp311-macosx_14_0_arm64.whl (4.9 MB view details)

Uploaded CPython 3.11 macOS 14.0+ ARM64

passagemath_palp-10.4.59-cp311-cp311-macosx_13_0_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.11 macOS 13.0+ x86-64

passagemath_palp-10.4.59-cp310-cp310-musllinux_1_2_x86_64.whl (29.4 kB view details)

Uploaded CPython 3.10 musllinux: musl 1.2+ x86-64

passagemath_palp-10.4.59-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.4 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

passagemath_palp-10.4.59-cp310-cp310-macosx_14_0_arm64.whl (4.9 MB view details)

Uploaded CPython 3.10 macOS 14.0+ ARM64

passagemath_palp-10.4.59-cp310-cp310-macosx_13_0_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.10 macOS 13.0+ x86-64

passagemath_palp-10.4.59-cp39-cp39-musllinux_1_2_x86_64.whl (29.2 kB view details)

Uploaded CPython 3.9 musllinux: musl 1.2+ x86-64

passagemath_palp-10.4.59-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.4 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

passagemath_palp-10.4.59-cp39-cp39-macosx_14_0_arm64.whl (4.9 MB view details)

Uploaded CPython 3.9 macOS 14.0+ ARM64

passagemath_palp-10.4.59-cp39-cp39-macosx_13_0_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.9 macOS 13.0+ x86-64

File details

Details for the file passagemath_palp-10.4.59.tar.gz.

File metadata

  • Download URL: passagemath_palp-10.4.59.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for passagemath_palp-10.4.59.tar.gz
Algorithm Hash digest
SHA256 c0d05f0596104a3d69253efe505a057933e5e4284aaf95f42320bcfbc3b2a455
MD5 988e23f32c9bf472f613d5a007446eb6
BLAKE2b-256 10a0c50dd5d8bcd9d96eef89fca46f89d464a1af253d6123d4d7deed15140c2c

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.4.59-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.4.59-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 542345d4eb45e8f2480bd94b502e797427a0e3cdb77e75ec0b3b616c0e71eddb
MD5 2551674c741d32fb5b51eae3f7f2fc52
BLAKE2b-256 3d5f110b68102b9c13371c7e72e7a0f4c5a600e5f8dcfcf3ba84f7e2131b5516

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.4.59-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.4.59-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 38071f3ad3da760cc75bddc6e5dd00d907bcd4b2cfaad55bae22897f76638ba4
MD5 6bff642a794a2cec55aa77d56b2b218a
BLAKE2b-256 8772b069069afb4646811421a27c62411c39d5b05cc4f63e97aa660f31a968cc

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.4.59-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.4.59-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 4f250a56b429ec917b9433dd9e8fcc99f49d930e727909b35c71efb1c64dd9ee
MD5 ef64f8f55ca5f1a70b5fde92cf47bb40
BLAKE2b-256 bc02809a8b0fafe3fbee207b6caa4ffa7fb5d55caa3c9f36f805ca8f8d73fec6

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.4.59-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.4.59-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9c260db7ff771705c3c8ed6acde4d86ee654f70fa5648d96876935fce11616c3
MD5 a0b5ea33ed8a07c887415d27bcb21179
BLAKE2b-256 4a7affa58c9ef98f90c06c0bc86dd18f5deb709efa9a60c32473cbd319111ee2

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.4.59-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.4.59-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1ed3ee166db8f8ac73befd00f6c82f74c70a82a15e85ed25ed93ce6fce08d31e
MD5 e6a54dd7c5e92e2bdd2d1729e5c21524
BLAKE2b-256 cda53ada3968c30a762e512e335a41e69cdd34e0adbc89df1e0d3f45a3f93093

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.4.59-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.4.59-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e172b7d08b225c4dd115596590dee77f770ea94d1b431a367528cb7332fb9c92
MD5 e6a46f87d828bc6976f11cf581ffb585
BLAKE2b-256 d5005d3575c805da6172125e87b4a06ef156276ae69ef1814fd1a52b414df434

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.4.59-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.4.59-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 9daa2b4b8b7eb7608f1e2cf836268e47f49201e54440e0977fced6d828af86c7
MD5 578371ea60acd1523a302108ccc7c41c
BLAKE2b-256 fd616da6db90e92e886b86254891cb4a97d67925caac183ba867dde4a1deb486

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.4.59-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.4.59-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d3856364271401d72b31840508985f155716c9cf95fc0216b686172ce10aece4
MD5 7dcbac18ef9725d30ec6af7198a221fa
BLAKE2b-256 443da578fef29b205c2cf524f9fd4838a3c8a3b210568c3a2e204bc03299592b

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.4.59-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.4.59-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ef9714a617c0c7e2508bec4ea220e51be94e669bb09db346e6979928924de218
MD5 bad23587e76bae56f6d40ac168505ef5
BLAKE2b-256 0971dd6480fbb452960a1f69194616c488c393356b5c0bc46cc7d839a9be1f7e

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.4.59-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.4.59-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0d692fad9e78a37979d26b46e53cc4d606908d5febd5c10a0bf6025833e6bde7
MD5 d81a40fb03a4f178e8161799d8453047
BLAKE2b-256 a9a6841d5450794933f2abe5d9edd83699184d21a2385ba25421da4298a12d69

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.4.59-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.4.59-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c77e0d9955db221ab65ef9205edb5af3f2b4e10fb79966b51a384c6f81934f4e
MD5 a9f615daee9edcb529c14c72c5aaa842
BLAKE2b-256 509d70d4e3ff7a8145a06ee2ecad8395c99b6c5eff68bbfd548eb47cd95c4b09

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.4.59-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.4.59-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d948084847953ea27754acd5e4ca984a3535b5bb460980e5e1eddd9ea30d8e6c
MD5 199f4796fdce825a989eb708b8f4bbeb
BLAKE2b-256 4374f6f24d49a08feae3d485920a07b61992315640fa02eb901f19b90e3e498d

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.4.59-cp39-cp39-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.4.59-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 86c6ade465cd47c0f33e48b21a89f8254602dfcb6dee3e69f5c54b1b2940e4e4
MD5 515d3743656ca0aaa4f85bc732e74ee6
BLAKE2b-256 9e7c37dbe59338970617560c395cf7a978c92a169630ee8a178863783e2690b5

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.4.59-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.4.59-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c725a857d65d6f540eef386a2c41701976c0615a552a3fd6e3797bdeee40e055
MD5 0cae933795737226862a308a14b9782b
BLAKE2b-256 6a58de486872508631d3ac540187da90568194bc048548b13e804d21184c657b

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.4.59-cp39-cp39-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.4.59-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 e6a0918c85f5640331816ff7e1d64b30e3ed644a8f16c323a239b79dd78f7cb1
MD5 5560756342e1e380b482e2dc137afad5
BLAKE2b-256 57ed7ecf839071838ac20efb3cde3b9bf7e1bffc49c60f755d95bd2685ce3a9e

See more details on using hashes here.

File details

Details for the file passagemath_palp-10.4.59-cp39-cp39-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_palp-10.4.59-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 504473ef9236c90609f6c9b0d276dec4aa53d0616bb1e2d032fbce3f5695e30f
MD5 8bba5423ab944ddc2661f4739224dded
BLAKE2b-256 f10c4138556b4eabd2361f2362832f89d4b11a2b0127e21350fa4a3558d31fd3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page