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.3rc1.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.3rc1-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.3rc1-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.3rc1-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.3rc1-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.3rc1-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.3rc1-cp314-cp314t-macosx_13_0_arm64.whl (7.7 MB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_latte_4ti2-10.8.3rc1-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.3rc1-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.3rc1-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.3rc1-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (63.1 MB view details)

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

passagemath_latte_4ti2-10.8.3rc1-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.3rc1-cp312-abi3-macosx_13_0_arm64.whl (7.7 MB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_latte_4ti2-10.8.3rc1-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.3rc1-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.3rc1-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.3rc1-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.3rc1-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.3rc1-cp311-cp311-macosx_13_0_arm64.whl (7.7 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file passagemath_latte_4ti2-10.8.3rc1.tar.gz.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3rc1.tar.gz
Algorithm Hash digest
SHA256 b05be41209ea1954cf6fc89208cc4c191d4ebd4952c1606472d8287889541727
MD5 5163a2e443f03b3d8846027fd435c2d6
BLAKE2b-256 4313624ecbdca324af75df53c7d734704711f7a6f06ede46f227acd5766f0494

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.3rc1-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3rc1-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 33ac917c4f75921e798647bb6a80c645a4d224b1c5bbccc65a58ea185026e480
MD5 043b836ca733807b78b91379207d5211
BLAKE2b-256 c7ec88827d1ee52a6ef3ba796fb3fec3d14759bfc7df05bda46fa99e1738da2c

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.3rc1-cp314-cp314t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3rc1-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 aa0eab6afaaa6f4d087068825fd3a60fc6d2069c8f0d84bc0ee7a13c24670b91
MD5 0dc0729a4045ab03ac53347918f4b1f7
BLAKE2b-256 6d43f9fb9c1c7a769dfafbae491ee4661fe2328d4d83eb4ec33ce307c718b927

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.3rc1-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3rc1-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e3467fd7a291e5671f3135d417f20abce33ee067cec594a2765c7571a1315ca3
MD5 1a8a3f6996735beeeb9c12928db0ca80
BLAKE2b-256 384bd191c1f4d6148f8dcbda587c7dcfa96329b036a9f1c80e6ea2e061453d50

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.3rc1-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3rc1-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f8dab243064168ad832f3db15d3d93253c16b27f52db2b8cc8f18e5f73b7ac69
MD5 46f171704e60d8f965fecb892ed46d8e
BLAKE2b-256 fd21451bf55b60a2bdeb3de0d3190774cae3f9afeab0ce5c6f13a36ae3c497b7

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.3rc1-cp314-cp314t-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3rc1-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8b9badbed5a5a6cff1ce4008015846c94e77f1799d0cc08eb373c5e07f692d9a
MD5 996e16e845a9f74e09d0bebf7173da34
BLAKE2b-256 ded53d3d530ffc3cddf1e47d66043ff09914014da0552276d669f3226a00ce64

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.3rc1-cp314-cp314t-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3rc1-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 4fa784e9bda61da87cfda5bff4d7ee68c713d1a15b786cd08e34561ae606ddd7
MD5 06cd066db8ba7ae2450b0a0925bd6805
BLAKE2b-256 8755c633de3bc0e66ffbfdf278dad37cd0b43e274391d09fb1f0ae9cd619460b

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.3rc1-cp312-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3rc1-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ec8b1d0d57db53a421415e77deba1559867fb3227c054e9858c5e3235375f4b8
MD5 375e1c226f9aea238f9a58db51f886ad
BLAKE2b-256 0acb4a733c99956f0de34cc97cc5e029645d0ea887e259a169b2073767fb0f06

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.3rc1-cp312-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3rc1-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 c33922ad31250aaa783e7b612c79686d540105e6933337e4de23b9da18cb2cea
MD5 e6bfc6d03e59261cf135dede31a604e8
BLAKE2b-256 38e7b0ab62d8e08314a890f63c8ccbe80ebd9a8d042fae8cc466024923c08726

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.3rc1-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3rc1-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4ef2e574efb1c51cc950887cbc9367aa39a4424f92e7e0965af5b788a5c7f0ba
MD5 c8ab2ddf89a6738634e6db99df93dc87
BLAKE2b-256 0017fb89b772403f1da09af9a8e0be0808ae9fc9ceb45d460354927375c5c608

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.3rc1-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3rc1-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a8adecf9bf97a3df58dead738802f3ced81ca8a676e9385292ccec6ed45a7bf9
MD5 812a277dd2cbc14292a1cdc0027e6fd6
BLAKE2b-256 8c445286f322296a29df892034d44d24c7024a0b9fa7a1625b1944f2262ea5ea

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.3rc1-cp312-abi3-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3rc1-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 236fabb49e79100af9c31cd14c1130bb4dee29fd578accfa4e37dba87ddd4a70
MD5 665c97f22c26140d8a537907d47ee2d0
BLAKE2b-256 4c0a25f8276ddaf07fabe9dc3a1c3b7209aefef724e6ede06fee64cc92647ad0

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.3rc1-cp312-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3rc1-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 cb5dc96d2f0d9ed5f63912bcb13fb1b4162104c23a7b074eb9eb68f0d633f370
MD5 fb15000c0ccdc98cf440f3a7d6262f0b
BLAKE2b-256 9b7e91cdced866334531bbb1474db3a3519e25f3858c970d734e5f9aeba2db4e

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.3rc1-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3rc1-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 81c5cf693e45d1841077d5093b81a8d9509dbb8ba41ee629ec2c9b0613a41540
MD5 6ad9460a56268233e7a5adcbc77fbb12
BLAKE2b-256 6df292b99016a318b9c3f3683eb3f2b428455ea565c52123ddaf807eb0193b09

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.3rc1-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3rc1-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 8364d8f718452065f071bc340030bbeacab6ba06bf4f49ab9a4ceb1443f68b90
MD5 5d99d718fba6571d7b810e1ce563e726
BLAKE2b-256 57608b3e0dddba0f74a14796fae1b2e914b3391fd9b1031c952698b3deb3f7f8

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.3rc1-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3rc1-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f5dc2167d696b0ad2ee1e57db5312b5ea6a4c2485a8c61f93926769d4621c8b6
MD5 3aa08f768798c20a5b04fe65aa7ceed9
BLAKE2b-256 b1aa8b75cea8c822e42e68d7a8c93e0d00a6c939c7a0439a6094102298714d77

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.3rc1-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3rc1-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 961b7ff9675564138c935aace980d58842caa766c25668b677f575c741422533
MD5 29ccbd28f97aacea13fa956b18cfe327
BLAKE2b-256 8b9a420609496f416e2edac25f40263fa233dbb8d92dc0044098e8ef89f19119

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.3rc1-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3rc1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 aaa5f30d64cc1be997edc439e8e0a1daecf195a49900e77957c3c6f9d648284b
MD5 fdb7b2860d78b0b4cc23852e5ab75ec8
BLAKE2b-256 d1a6016b3e39b72c924a5d11304ada829051426b8a94948e7e05c01083b18fa6

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.3rc1-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3rc1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 8bcbbeca1d09159a5c3f2a4a8c3d4e87bba14bf62ca9789d1564dae9712559c9
MD5 ab6d7bbd1e59ff0fafafcadee5e136fd
BLAKE2b-256 f75c10c51b86d57e43f202d2483904f14b8284407d229f3b3727adc0f385913b

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