Skip to main content

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

Metadata

Release files for passagemath-latte-4ti2 10.8.13

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.13
File Size Uploaded
passagemath_latte_4ti2-10.8.13.tar.gz 15.4 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for passagemath-latte-4ti2 10.8.13
File
passagemath_latte_4ti2-10.8.13-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.13-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.13-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.24+ x86-64, Linux glibc 2.28+ x86-64 Details
passagemath_latte_4ti2-10.8.13-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ ARM64, Linux glibc 2.24+ ARM64 Details
passagemath_latte_4ti2-10.8.13-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.13-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.13-cp312-abi3-musllinux_1_2_x86_64.whl CPython 3.12 abi3 Linux musl 1.2+ x86-64 Details
passagemath_latte_4ti2-10.8.13-cp312-abi3-musllinux_1_2_aarch64.whl CPython 3.12 abi3 Linux musl 1.2+ ARM64 Details
passagemath_latte_4ti2-10.8.13-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.13-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.13-cp312-abi3-macosx_13_0_x86_64.whl CPython 3.12 abi3 macOS 13.0+ x86-64 Details
passagemath_latte_4ti2-10.8.13-cp312-abi3-macosx_13_0_arm64.whl CPython 3.12 abi3 macOS 13.0+ ARM64 Details
passagemath_latte_4ti2-10.8.13-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.13-cp311-cp311-musllinux_1_2_aarch64.whl CPython 3.11 CPython 3.11 Linux musl 1.2+ ARM64 Details
passagemath_latte_4ti2-10.8.13-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.24+ x86-64, Linux glibc 2.28+ x86-64 Details
passagemath_latte_4ti2-10.8.13-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ ARM64, Linux glibc 2.24+ ARM64 Details
passagemath_latte_4ti2-10.8.13-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.13-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.13.tar.gz

Download URL passagemath_latte_4ti2-10.8.13.tar.gz
Size 15.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4f1505e040501c9f283faba98ea254a46a4ebfd2e31e57191ab3987452a93b4f
BLAKE2b-256 checksum
How to use checksums
5858ef8e84ca55d6b0843b2defaaefcc40fc6eee56fea7570f6fc1c233977f8e
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.13-cp314-cp314t-musllinux_1_2_x86_64.whl

Download URL passagemath_latte_4ti2-10.8.13-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
0a6331592dd8c8c91ce30e5083a31ff30e54b99ae71befc296a1a0499b262224
BLAKE2b-256 checksum
How to use checksums
9162ff750fb59fc8ec3a8648e3992b16ff8ad930acf98cdf9f8627d6cc3dcda1
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.13-cp314-cp314t-musllinux_1_2_aarch64.whl

Download URL passagemath_latte_4ti2-10.8.13-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
cda7fa128ec2b9c411120dec9bb358a98f1cbc0368a345fc4097a2f99b11ba8e
BLAKE2b-256 checksum
How to use checksums
17a12b9246b1124c6221b3d0f5a393dacc5e89d263417067cd21106c13f26703
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.13-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL passagemath_latte_4ti2-10.8.13-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
94eb2a17b6d75f0ce4216e55ff721c8d67d30397c5c57661bb5df28800a085e5
BLAKE2b-256 checksum
How to use checksums
638cde58d433f2e48f1874cbd4aff52f5b7a59b19615bfb8899fb677a3f8d2a3
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.13-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Download URL passagemath_latte_4ti2-10.8.13-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
c4f522c085c71e32edc7433922ae2bbe1adcd002ad55c0bf4df2dbf214c4f0b3
BLAKE2b-256 checksum
How to use checksums
1ac9447f8feeb65d0134a699d36b23887a137adb0e3dd97f95701d67c5e6a34f
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.13-cp314-cp314t-macosx_13_0_x86_64.whl

Download URL passagemath_latte_4ti2-10.8.13-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
220711877c6e3944c77915efe77812a95ab77f06439009395606a77e684c3910
BLAKE2b-256 checksum
How to use checksums
960143c059ff183c4235fff7eec3a29cdaa4c96f24c9a4300c7ca0f1a9075825
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.13-cp314-cp314t-macosx_13_0_arm64.whl

Download URL passagemath_latte_4ti2-10.8.13-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
d6306f36c861f141c077b40c2df3d57c437301a98d45480fc3f9a2d9c4a7ffa2
BLAKE2b-256 checksum
How to use checksums
3b57939b0f5b9ea84403c661d84a35db1945db8d1265125d265ae0b088fa4d3c
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.13-cp312-abi3-musllinux_1_2_x86_64.whl

Download URL passagemath_latte_4ti2-10.8.13-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
d4ef48aefa473237e01bb232f9d5dbd389401916f28001a94b469bdab133ef23
BLAKE2b-256 checksum
How to use checksums
0c020e9156ae2d21b548daa35d719b94f0c800fc8dc678605046dfb9b51fce53
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.13-cp312-abi3-musllinux_1_2_aarch64.whl

Download URL passagemath_latte_4ti2-10.8.13-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
89069e11547d840b043b379c1e3bcd3094c1d599ed4518b2fe5f92f22365a022
BLAKE2b-256 checksum
How to use checksums
515ee933c908ed9818da2f8a25f1536d8c5015d7c60f0a16829dae6e05c803ab
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.13-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL passagemath_latte_4ti2-10.8.13-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
df2aac847b48530d685dcf983271e48a7692185a5ffe2cda60f16a7e5a4e8500
BLAKE2b-256 checksum
How to use checksums
2e04ed2c70225957484c3c009c72cb89f0782f87ba83e03afb2608030162167a
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.13-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Download URL passagemath_latte_4ti2-10.8.13-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
b0d4f5c4095e35a2f95f96bda45753d818efb70ad17c8566331ce04c96b796a8
BLAKE2b-256 checksum
How to use checksums
8d52ef8902ecb645d012be4641b65c8c69588fb5d0d71576acbcd30334f20271
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.13-cp312-abi3-macosx_13_0_x86_64.whl

Download URL passagemath_latte_4ti2-10.8.13-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
d65ff3aaf51659285d7ed5ec2a9db01ac345290dbb7ff4ef32f97e7394c69237
BLAKE2b-256 checksum
How to use checksums
2ad829714590e9428f4516ea4279bc04f566c60314c3691e7b6c2394315db184
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.13-cp312-abi3-macosx_13_0_arm64.whl

Download URL passagemath_latte_4ti2-10.8.13-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
916646224487ceb67499164016b6ae47afd40acaa233b3518d2ea8c63cd2b98e
BLAKE2b-256 checksum
How to use checksums
fbb3346d0613774a5c12755155792461fd353dee733bd5ed1afc02ec7d38e034
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.13-cp311-cp311-musllinux_1_2_x86_64.whl

Download URL passagemath_latte_4ti2-10.8.13-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
8e8fa46389895e427b34508ed76184d60ebca7c4adb88744b480b549f4f6b3e0
BLAKE2b-256 checksum
How to use checksums
af71b3be4149761fa74684598092101b9af81b6d3c217bf24de18bfe9e55de9d
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.13-cp311-cp311-musllinux_1_2_aarch64.whl

Download URL passagemath_latte_4ti2-10.8.13-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
a23680ef1448e963aa3ff06b68be75bb4e64caf988ca2fc02b48be6934df48c5
BLAKE2b-256 checksum
How to use checksums
001109e33e31e78b05b64a155b463948d51687e4044499c0d53515a606b6e3b7
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.13-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL passagemath_latte_4ti2-10.8.13-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
71851060d475c964953a19df2b3750f6422f767803606f080d13e3ef66184cab
BLAKE2b-256 checksum
How to use checksums
02800b970b4c2807f8197e20d4f5f157e0ee1d889c38a925a07e435cd602dd79
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.13-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Download URL passagemath_latte_4ti2-10.8.13-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
d1e1c43cb4475716acade96f185a39e0e2592b0ea3b1b0d25c5ed220c184c9d9
BLAKE2b-256 checksum
How to use checksums
d5555ce6c6441c97add5859e8dbbb15ab4350d219a04d40da2b488bd43982b20
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.13-cp311-cp311-macosx_13_0_x86_64.whl

Download URL passagemath_latte_4ti2-10.8.13-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
4528d452405f08a2e69afb3a88cbadfe3a23d24898d71c25e1b870b7525ceb9e
BLAKE2b-256 checksum
How to use checksums
688a1b3075b7c8cceea8808abc7e3a1724164ed5c86b3fb5578fd91fea32f500
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.13-cp311-cp311-macosx_13_0_arm64.whl

Download URL passagemath_latte_4ti2-10.8.13-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
540602b7ac2f61144645ac1b8967c76cdc1889bba5a6424837e652f6d49f6d67
BLAKE2b-256 checksum
How to use checksums
baca2c9a3009b307a6c2fdbb2723854c3c4fda051af879257fec05418b3f0877
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