Skip to main content

passagemath: Lattice points in polyhedra with LattE integrale and 4ti2

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-latte-4ti2 provides an interface to LattE integrale (for the problems of counting lattice points in and integration over convex polytopes) and 4ti2 (for algebraic, geometric and combinatorial problems on linear spaces).

What is included

Examples

Using LattE integrale and 4ti2 programs on the command line:

$ pipx run --pip-args="--prefer-binary" --spec "passagemath-latte-4ti2" sage -sh -c 'ppi 5'
...
### This makes 47 PPI up to sign
### Writing data file ppi5.gra and matrix file ppi5.mat done.

Finding the installation location of a LattE integrale or 4ti2 program in Python:

$ pipx run --pip-args="--prefer-binary" --spec "passagemath-latte-4ti2[test]" ipython

In [1]: from sage.features.latte import Latte_count

In [2]: Latte_count().absolute_filename()
Out[2]: '/Users/mkoeppe/.local/pipx/.cache/2dc147a5e4863b4/lib/python3.11/site-packages/sage_wheels/bin/count'

In [3]: from sage.features.four_ti_2 import FourTi2Executable

In [4]: FourTi2Executable('ppi').absolute_filename()
Out[2]: '/Users/mkoeppe/.local/pipx/.cache/2dc147a5e4863b4/lib/python3.11/site-packages/sage_wheels/bin/ppi'

Using the low-level Python interfaces:

$ pipx run --pip-args="--prefer-binary" --spec "passagemath-latte-4ti2[test]" ipython

In [1]: from sage.interfaces.latte import count

In [2]: cdd_Hrep = 'H-representation\nbegin\n 6 4 rational\n 2 -1 0 0\n 2 0 -1 0\n 2 0 0 -1\n 2 1 0 0\n 2 0 0 1\n 2 0 1 0\nend\n'

In [3]: count(cdd_Hrep, cdd=True)
Out[3]: 125

Use with sage.geometry.polyhedron:

$ pipx run --pip-args="--prefer-binary" --spec "passagemath-latte-4ti2[test]" ipython

In [1]: from passagemath_polyhedra import *

In [2]: P = Polyhedron(vertices=[[1,0,0], [0,0,1], [-1,1,1], [-1,2,0]])

In [3]: P.volume(measure='induced_lattice', engine='latte')
Out[3]: 3

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_latte_4ti2-10.8.5rc5.tar.gz (15.3 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

passagemath_latte_4ti2-10.8.5rc5-cp314-cp314t-musllinux_1_2_x86_64.whl (62.9 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ x86-64

passagemath_latte_4ti2-10.8.5rc5-cp314-cp314t-musllinux_1_2_aarch64.whl (61.0 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

passagemath_latte_4ti2-10.8.5rc5-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (64.7 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_latte_4ti2-10.8.5rc5-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (63.1 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_latte_4ti2-10.8.5rc5-cp314-cp314t-macosx_13_0_x86_64.whl (8.5 MB view details)

Uploaded CPython 3.14tmacOS 13.0+ x86-64

passagemath_latte_4ti2-10.8.5rc5-cp314-cp314t-macosx_13_0_arm64.whl (7.8 MB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_latte_4ti2-10.8.5rc5-cp312-abi3-musllinux_1_2_x86_64.whl (62.9 MB view details)

Uploaded CPython 3.12+musllinux: musl 1.2+ x86-64

passagemath_latte_4ti2-10.8.5rc5-cp312-abi3-musllinux_1_2_aarch64.whl (61.0 MB view details)

Uploaded CPython 3.12+musllinux: musl 1.2+ ARM64

passagemath_latte_4ti2-10.8.5rc5-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (64.7 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_latte_4ti2-10.8.5rc5-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (63.0 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_latte_4ti2-10.8.5rc5-cp312-abi3-macosx_13_0_x86_64.whl (8.5 MB view details)

Uploaded CPython 3.12+macOS 13.0+ x86-64

passagemath_latte_4ti2-10.8.5rc5-cp312-abi3-macosx_13_0_arm64.whl (7.8 MB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_latte_4ti2-10.8.5rc5-cp311-cp311-musllinux_1_2_x86_64.whl (62.9 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

passagemath_latte_4ti2-10.8.5rc5-cp311-cp311-musllinux_1_2_aarch64.whl (61.0 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_latte_4ti2-10.8.5rc5-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (64.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_latte_4ti2-10.8.5rc5-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (63.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_latte_4ti2-10.8.5rc5-cp311-cp311-macosx_13_0_x86_64.whl (8.5 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_latte_4ti2-10.8.5rc5-cp311-cp311-macosx_13_0_arm64.whl (7.8 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file passagemath_latte_4ti2-10.8.5rc5.tar.gz.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc5.tar.gz
Algorithm Hash digest
SHA256 9d56b81bd245e992054484b6c356ecbc4fb85a19d11b935bee3cc152a05ccc7a
MD5 ac092663b41c42a784f6a2177b088141
BLAKE2b-256 8f7be9e8bcbae30e2499ddc3649ee184c31d59ae9db602a61f59d5169cde91e5

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.5rc5-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc5-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 85d5dad0e4e7f4b53616a6c378cc11fdf1a892137b451e26ae17a8dcb8d34d4a
MD5 ebf7b098816708c52212a0799a44711b
BLAKE2b-256 30783bb58ac214601362fe0988d34dbaad29f09c42fdcd02130c9db42a25c73c

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.5rc5-cp314-cp314t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc5-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 600b77546bd632434f7486e4b8d29099bd0ae32fe15dd50eb8751c706cceefc7
MD5 c2e81ff0fb9710dcec9f29316bb80d5b
BLAKE2b-256 e7fac32cd65a0a128174cf2cff19fddadf2e984518eb8acfc203206fdfcf7c36

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.5rc5-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc5-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4c40be34aa83d8de9ffac029d28684b3da3c72b2fb7b329e98392a01eacea5e2
MD5 70b41d88f108543db6e4f4e6b3e849e3
BLAKE2b-256 68c94836c5869983062a4499668cd67bdd5c6bf87d4a92d9ac1ce1bc609f64fb

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.5rc5-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc5-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0fed87349d8ceca8b54334583d6342820712fcf0556b706a4d3c7f0a296be7c2
MD5 0e6472ab0cbb7905cf1d71394c8e77d7
BLAKE2b-256 3e9cdc72363203854f9943340dca673359f9319315e2fee328e4bfef919ca221

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.5rc5-cp314-cp314t-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc5-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 deb45c5c248a1cf78f98acd80ad658a75f51a83b31c0460bc792d80a321c741a
MD5 fa0e13005fda730faca16117bf3084bc
BLAKE2b-256 305050130f3f7a5276c64ef2edf1eff7af35eba246026b6d9c188ac9a5cf68bb

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.5rc5-cp314-cp314t-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc5-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 698df927f1ed89a75e41626c3e30de4d69e3c89da1d98e46266abd29a4a5c99d
MD5 7d4d55575c184316edcd1e941def368e
BLAKE2b-256 8f7fafe887487062d35d7a1b27767a49738ca408e92bcf5b6238f37a33a28e52

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.5rc5-cp312-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc5-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d919791ab40a6be9d2ccc3172beebb5733f52b1e3cc0557aaf0400e02591e59d
MD5 ce83a13e07ba58cea5d9d7aff446226b
BLAKE2b-256 63b1132f3e0b97d4077c842135d4ecddf9ad37fc44b86b463f5d8622084c8b49

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.5rc5-cp312-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc5-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 dd851a940c902ac65ef9c7a68c1fbaa39c5ba1405c3be45e98fbcc46248f1afc
MD5 198dfc3b453fbed8a87cf9d676c64625
BLAKE2b-256 544f3e54e63896215073b398b44646b1825c235973e4150e0e24083f8b08332d

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.5rc5-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc5-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4f7567c8111e2aa10ef4e3f9ed72e3aed01d9506ee03360fa4844d8a714fe9ff
MD5 5c0077093fbb1abe9a4146bed20e01d8
BLAKE2b-256 00c141358efccca2a235c39d6963da553efea5e24b215f803ed0d89988d7920e

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.5rc5-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc5-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f257ab14fcf198e92036a03c5a802ad8c6292226c966d9a2fdb448d6479d8085
MD5 f805b431f5f891f465af5ee8b1b73bee
BLAKE2b-256 ed10c5afa6078c0b6d463645dea1d819842e3fd5cd63b0be663808b59ed2eb17

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.5rc5-cp312-abi3-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc5-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 86b0f87accc5901c2ab40995012c0509daf29cc2d411aa41624d294def1a7cf9
MD5 d56a032d8ee9e042f1633bb8fb53cfb4
BLAKE2b-256 4c76d5f1c62759e873fb0d54cf0b3cbb4819e8332efaebf2164f05f888a111de

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.5rc5-cp312-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc5-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 fc474600a85a24006749d6d32fbb36446df3917eb335e34bea7a17789ac83225
MD5 1bc9e0e794d4b20e3ece95e78ac24a07
BLAKE2b-256 c75d1d4ffda8ad27a6f83f78e2a3abbb19099dcdaba84215221448013acb6245

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.5rc5-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc5-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 19b262c373fcec4b91e75bc1da9542ae3e7c5a2f7f3be37884762b613aca69d0
MD5 9d6d47b9987731eb0adcd665db9e713f
BLAKE2b-256 ce91f65aed78444443ebb85ccb29775e0df08583dd336ee94686a4423de3238e

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.5rc5-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc5-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 b44153ef4ae4975519ec73ca722d612088a56a3d36378fa951412a13809eccfe
MD5 c63bbbaeed48b13771025091e95ae50f
BLAKE2b-256 6be5cab26fd748c2ee78323749197b184a0fc77b30cb00dc3f7b364b7085e8ad

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.5rc5-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc5-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6842d5baec9d67de293398c6511d3e714c91cc07699cda95f5bc2ddf4adda3d6
MD5 c3803ba815defd15162b2d623773eb00
BLAKE2b-256 9e7f3ef6a8dac3780c0269a843461412ef8c3b55a1164c286f598b17fd0adf15

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.5rc5-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc5-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 2eab2981b836e41812233d089337f38005f250f2ec90e711a326a237107f9fd5
MD5 3c79fb1457e9d9286f48abe07677a1d9
BLAKE2b-256 c0fd696684e4edfac0e6ae45a3d18ae7792d80b0f03226a9ec95b94b1a3a6cdc

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.5rc5-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc5-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 da4e56482d465ce8810eea649f45ab2bce6940611cb13ab13f714418a97cbe5e
MD5 0425df72f04929f936ea65c441901498
BLAKE2b-256 8e1aa205e3fc1737c27bbeae7f4c7ea31fd82b3636ecbed912ec90641d2a86a6

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.5rc5-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc5-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 99f8b5a79a693606ab60d981bc2cc9eb40d9c4c4646384ef881db906b307ceb4
MD5 a19d10d8febe2f297fbc0254199fdd00
BLAKE2b-256 c5e352d916d5759d5d7b33a44ac471a53f6d23c1eb827522d91d736eb9478f0c

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