Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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

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 --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 --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 --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 --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

Release files for passagemath-latte-4ti2 10.8.12rc1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for passagemath-latte-4ti2 10.8.12rc1
File Size Uploaded
passagemath_latte_4ti2-10.8.12rc1.tar.gz 15.4 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for passagemath-latte-4ti2 10.8.12rc1
File
passagemath_latte_4ti2-10.8.12rc1-cp314-cp314t-musllinux_1_2_x86_64.whl CPython 3.14 CPython 3.14 free-threading Linux musl 1.2+ x86-64 Details
passagemath_latte_4ti2-10.8.12rc1-cp314-cp314t-musllinux_1_2_aarch64.whl CPython 3.14 CPython 3.14 free-threading Linux musl 1.2+ ARM64 Details
passagemath_latte_4ti2-10.8.12rc1-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ x86-64, Linux glibc 2.24+ x86-64 Details
passagemath_latte_4ti2-10.8.12rc1-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.24+ ARM64, Linux glibc 2.28+ ARM64 Details
passagemath_latte_4ti2-10.8.12rc1-cp314-cp314t-macosx_13_0_x86_64.whl CPython 3.14 CPython 3.14 free-threading macOS 13.0+ x86-64 Details
passagemath_latte_4ti2-10.8.12rc1-cp314-cp314t-macosx_13_0_arm64.whl CPython 3.14 CPython 3.14 free-threading macOS 13.0+ ARM64 Details
passagemath_latte_4ti2-10.8.12rc1-cp312-abi3-musllinux_1_2_x86_64.whl CPython 3.12 abi3 Linux musl 1.2+ x86-64 Details
passagemath_latte_4ti2-10.8.12rc1-cp312-abi3-musllinux_1_2_aarch64.whl CPython 3.12 abi3 Linux musl 1.2+ ARM64 Details
passagemath_latte_4ti2-10.8.12rc1-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 abi3 Linux glibc 2.24+ x86-64, Linux glibc 2.28+ x86-64 Details
passagemath_latte_4ti2-10.8.12rc1-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl CPython 3.12 abi3 Linux glibc 2.28+ ARM64, Linux glibc 2.24+ ARM64 Details
passagemath_latte_4ti2-10.8.12rc1-cp312-abi3-macosx_13_0_x86_64.whl CPython 3.12 abi3 macOS 13.0+ x86-64 Details
passagemath_latte_4ti2-10.8.12rc1-cp312-abi3-macosx_13_0_arm64.whl CPython 3.12 abi3 macOS 13.0+ ARM64 Details
passagemath_latte_4ti2-10.8.12rc1-cp311-cp311-musllinux_1_2_x86_64.whl CPython 3.11 CPython 3.11 Linux musl 1.2+ x86-64 Details
passagemath_latte_4ti2-10.8.12rc1-cp311-cp311-musllinux_1_2_aarch64.whl CPython 3.11 CPython 3.11 Linux musl 1.2+ ARM64 Details
passagemath_latte_4ti2-10.8.12rc1-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64, Linux glibc 2.24+ x86-64 Details
passagemath_latte_4ti2-10.8.12rc1-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.24+ ARM64, Linux glibc 2.28+ ARM64 Details
passagemath_latte_4ti2-10.8.12rc1-cp311-cp311-macosx_13_0_x86_64.whl CPython 3.11 CPython 3.11 macOS 13.0+ x86-64 Details
passagemath_latte_4ti2-10.8.12rc1-cp311-cp311-macosx_13_0_arm64.whl CPython 3.11 CPython 3.11 macOS 13.0+ ARM64 Details

Total release size: 803.5 MB

Release files / passagemath_latte_4ti2-10.8.12rc1.tar.gz

Download URL passagemath_latte_4ti2-10.8.12rc1.tar.gz
Size 15.4 kB
Tags Source
SHA-256 checksum
How to use checksums
bf4882539a535f77f23da4c37916648996d771470535920be48d5718a30f2eb6
BLAKE2b-256 checksum
How to use checksums
8b6970ea339f89a5400f6f8370c0c60d2efca9b5201d527bb56b7421bdc1ee24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / passagemath_latte_4ti2-10.8.12rc1-cp314-cp314t-musllinux_1_2_x86_64.whl

Download URL passagemath_latte_4ti2-10.8.12rc1-cp314-cp314t-musllinux_1_2_x86_64.whl
Size 62.9 MB
Tags CPython 3.14 CPython 3.14 free-threading Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
b8f5c09ceb33f27642be0549c76de098627bc802dc08c91a5676d0f5300b32b6
BLAKE2b-256 checksum
How to use checksums
61de261695faa8900f867efb965476455cf3b26675d28b63a5b9d73ec5b2e674
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / passagemath_latte_4ti2-10.8.12rc1-cp314-cp314t-musllinux_1_2_aarch64.whl

Download URL passagemath_latte_4ti2-10.8.12rc1-cp314-cp314t-musllinux_1_2_aarch64.whl
Size 60.9 MB
Tags CPython 3.14 CPython 3.14 free-threading Linux musl 1.2+ ARM64
SHA-256 checksum
How to use checksums
9fe7f31d5a06569379cf28b702f30aa75853de7de574667d7c6634faa7af6494
BLAKE2b-256 checksum
How to use checksums
9249eb0d6e9ee6a1e0caf07078855320bd4a0a3b1a7fa7a04d716baeee13f37f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / passagemath_latte_4ti2-10.8.12rc1-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL passagemath_latte_4ti2-10.8.12rc1-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 64.7 MB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
e5ed095e991dbfff301e01df19fc0bb63408b1657e732827c8fef7680e80b539
BLAKE2b-256 checksum
How to use checksums
9e6baca10b59683e7558669d1c501473ddda4fe2029d66090b946337f06b8310
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / passagemath_latte_4ti2-10.8.12rc1-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Download URL passagemath_latte_4ti2-10.8.12rc1-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Size 63.0 MB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
f88c1774782c057375340fd2ac9f21ce849a2bd53a8af14e623ae9ee7fa365b4
BLAKE2b-256 checksum
How to use checksums
5e995bce3ca2487ed7f1923be76430de66495b65fe586e29177d9be76abb46fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / passagemath_latte_4ti2-10.8.12rc1-cp314-cp314t-macosx_13_0_x86_64.whl

Download URL passagemath_latte_4ti2-10.8.12rc1-cp314-cp314t-macosx_13_0_x86_64.whl
Size 8.5 MB
Tags CPython 3.14 CPython 3.14 free-threading macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
f3e9ad59abac469c50998f8b71596e6b29007ebfa905e2d4279bdaf8c9b2359a
BLAKE2b-256 checksum
How to use checksums
555d49573a5179b318db16f11210e75a064fd3e3827264c3462f35992dfbd11b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / passagemath_latte_4ti2-10.8.12rc1-cp314-cp314t-macosx_13_0_arm64.whl

Download URL passagemath_latte_4ti2-10.8.12rc1-cp314-cp314t-macosx_13_0_arm64.whl
Size 7.8 MB
Tags CPython 3.14 CPython 3.14 free-threading macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
94fe942d070ea18affee81fe8620e67b1a1d0de8090931214e0f782fd09e8178
BLAKE2b-256 checksum
How to use checksums
995fe798624df5f159c7d0e78efc2d21e3bcce07832dafafa05de28f82a48f85
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / passagemath_latte_4ti2-10.8.12rc1-cp312-abi3-musllinux_1_2_x86_64.whl

Download URL passagemath_latte_4ti2-10.8.12rc1-cp312-abi3-musllinux_1_2_x86_64.whl
Size 62.9 MB
Tags CPython 3.12 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
4e412f83664bf31cae6e3b15f566b6236b33afab7cf57e9dc221b2fcee2c0557
BLAKE2b-256 checksum
How to use checksums
f6ed40da93b1a7ea9b73d6dd3cb42e83243e999add67115ad2edf8e1dcf91a16
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / passagemath_latte_4ti2-10.8.12rc1-cp312-abi3-musllinux_1_2_aarch64.whl

Download URL passagemath_latte_4ti2-10.8.12rc1-cp312-abi3-musllinux_1_2_aarch64.whl
Size 60.9 MB
Tags CPython 3.12 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
17302672ed782b1f9f4eb6c7a8f2d4098d5efbfa2cc69ed2d0b72cf68ff062e8
BLAKE2b-256 checksum
How to use checksums
a85040cdf9bf5e2556931d1820737828dfcce3ec7207c270bc28841c0c83d84d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / passagemath_latte_4ti2-10.8.12rc1-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL passagemath_latte_4ti2-10.8.12rc1-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 64.7 MB
Tags CPython 3.12 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
cbe7eeef807373f582a8a3676afc150cc244942e6900292b4dc490f7c3e2f8a7
BLAKE2b-256 checksum
How to use checksums
ccdf052f3057bf5e989daadfa9cdacc961f1c9eb05a099e0767a258240ca4d40
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / passagemath_latte_4ti2-10.8.12rc1-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Download URL passagemath_latte_4ti2-10.8.12rc1-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Size 63.0 MB
Tags CPython 3.12 Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
9cf841322fd0ee82e05d98dda6e365793535cc86a04fc9c7b7d8e4d8186e0f67
BLAKE2b-256 checksum
How to use checksums
e55bfbb1a6c295d2064938284fe71e43c7ba441f68485cf3a563e04bb2dcc58e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / passagemath_latte_4ti2-10.8.12rc1-cp312-abi3-macosx_13_0_x86_64.whl

Download URL passagemath_latte_4ti2-10.8.12rc1-cp312-abi3-macosx_13_0_x86_64.whl
Size 8.5 MB
Tags CPython 3.12 abi3 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
3008bdf2ad95b19d1c3392674bab58d5a8defeb350e0e1bcc838c8dc920d5bb8
BLAKE2b-256 checksum
How to use checksums
ead89bab664d560ccf53c825b981583d30fbecabd8ad6dfae3f7b5c52e81c549
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / passagemath_latte_4ti2-10.8.12rc1-cp312-abi3-macosx_13_0_arm64.whl

Download URL passagemath_latte_4ti2-10.8.12rc1-cp312-abi3-macosx_13_0_arm64.whl
Size 7.8 MB
Tags CPython 3.12 abi3 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
27ce2a639c62411d455dd80607851563e619a50060dd44eda0d0abfe57ddf165
BLAKE2b-256 checksum
How to use checksums
e6a3c81f1d9a5d45bc7527159e0bc5c479a653f87ee1b306cb3c41783109f4cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / passagemath_latte_4ti2-10.8.12rc1-cp311-cp311-musllinux_1_2_x86_64.whl

Download URL passagemath_latte_4ti2-10.8.12rc1-cp311-cp311-musllinux_1_2_x86_64.whl
Size 62.9 MB
Tags CPython 3.11 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
3cb7318d231ea72600c4b96cb04ac4ba5ab2879d15efc96c917bbadfe6989edb
BLAKE2b-256 checksum
How to use checksums
f018c5248afdf3221954f6bc32c58382b3fbd7b7514ce8f67b0d175ba95b6c9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / passagemath_latte_4ti2-10.8.12rc1-cp311-cp311-musllinux_1_2_aarch64.whl

Download URL passagemath_latte_4ti2-10.8.12rc1-cp311-cp311-musllinux_1_2_aarch64.whl
Size 60.9 MB
Tags CPython 3.11 Linux musl 1.2+ ARM64
SHA-256 checksum
How to use checksums
d93422db03b2aeec234f7c6668122cbe5d3926be32755afe80c83cc88d604919
BLAKE2b-256 checksum
How to use checksums
556b540ca0e4e330d0d36008892667503f03d45969ab09c0c6833c0e6e8f8a89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / passagemath_latte_4ti2-10.8.12rc1-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL passagemath_latte_4ti2-10.8.12rc1-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 64.7 MB
Tags CPython 3.11 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
1abda6e0add3b0f89e3c95c05e2dea8a3a66c746d7edde3404ebd50c789fa03d
BLAKE2b-256 checksum
How to use checksums
d9becaf89e49c6b45d3debf8844f069bb0eb2eae6c7d7d11afe68f86b78e309e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / passagemath_latte_4ti2-10.8.12rc1-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Download URL passagemath_latte_4ti2-10.8.12rc1-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Size 63.0 MB
Tags CPython 3.11 Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
02d58e0192bea6f75bb512420bc9d38b2d311b410859d010a269e232563afda8
BLAKE2b-256 checksum
How to use checksums
0f9ebc12a07ccd57784b6d2b261a9fbda4630b583a2fa7f50c28b2e67f23456f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / passagemath_latte_4ti2-10.8.12rc1-cp311-cp311-macosx_13_0_x86_64.whl

Download URL passagemath_latte_4ti2-10.8.12rc1-cp311-cp311-macosx_13_0_x86_64.whl
Size 8.5 MB
Tags CPython 3.11 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
f065cac4ee839cb31b83db3ecd8c40a24280d7196fe5934040844e86a0c4ad8a
BLAKE2b-256 checksum
How to use checksums
2cfd35bdf219f23d0f5c9e29d1f52ed469d3bd4166ec9e38f7a173a91865b218
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / passagemath_latte_4ti2-10.8.12rc1-cp311-cp311-macosx_13_0_arm64.whl

Download URL passagemath_latte_4ti2-10.8.12rc1-cp311-cp311-macosx_13_0_arm64.whl
Size 7.8 MB
Tags CPython 3.11 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
b32c8d6ef89bcccd4ab386b7c1ef8e080fb3d5c0c369007e89404238ecb7bf09
BLAKE2b-256 checksum
How to use checksums
502eca9f901736bcee0bbfe398878ef43cb4e510bf756b6ed2da6a7417d445c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page