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

Release files for passagemath-latte-4ti2 10.8.12

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

Built distributions (wheels)

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

Download URL passagemath_latte_4ti2-10.8.12.tar.gz
Size 15.4 kB
Tags Source
SHA-256 checksum
How to use checksums
fbb3b7f14ffbf4cd6fc054149847d0e5319c850597aae1ee84791b5257709ad5
BLAKE2b-256 checksum
How to use checksums
4f82cab68d031c352929b49f7c24ad6c96ec2241fb68bc34876c36a7c1bd5679
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.12-cp314-cp314t-musllinux_1_2_x86_64.whl

Download URL passagemath_latte_4ti2-10.8.12-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
f22ddad268c065b1783c73e1ce5e9de18b7f99619b57d91ec6d12b5d1748ee4d
BLAKE2b-256 checksum
How to use checksums
4f64dc70ee32f24767b5a8bf602a8a7c5245f2cbde4753201124c03490545297
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.12-cp314-cp314t-musllinux_1_2_aarch64.whl

Download URL passagemath_latte_4ti2-10.8.12-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
9213abda02a9a457bd5d08e01642b0758f6ea4b3caf0752c509a04e196ba42bb
BLAKE2b-256 checksum
How to use checksums
f04d2824e33ba6f01b710999858f7f9bbfd78ab420500b6605e0dcf110af7376
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.12-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL passagemath_latte_4ti2-10.8.12-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
ea7d7480e19fa39ceb86b5590da29c453d4b0107d62377e6363fe7f1e1c6d7e8
BLAKE2b-256 checksum
How to use checksums
95b035f8d66623a179d4976d23f138472f8d05703180dce6a4a1cb83156f8468
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.12-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Download URL passagemath_latte_4ti2-10.8.12-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
a082aa8e17fb80d433f15f22315ee121cbac08721873c1fe195c95b31aa9b8dd
BLAKE2b-256 checksum
How to use checksums
4881ab4e28b54b9002d27fe73a00c3f92dc08e1812d38b1a51163a1c24bec63b
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.12-cp314-cp314t-macosx_13_0_x86_64.whl

Download URL passagemath_latte_4ti2-10.8.12-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
78f71b24905473907093d6fc828ae05f73366379b57883466698587ae5abd0a3
BLAKE2b-256 checksum
How to use checksums
d53fc7774dfce78d48ea7ce3bb466d4b15fdc26c571a0dfc6aaf02ba644310a4
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.12-cp314-cp314t-macosx_13_0_arm64.whl

Download URL passagemath_latte_4ti2-10.8.12-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
e2638a96a1e1e50f036f753d89b3b08960f766fd4b1ccb63b5d7b090e43bd2b6
BLAKE2b-256 checksum
How to use checksums
8bc37d500c9f7eeddfa741672e571547220fb0b9461fca99d37b705bb9c29419
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.12-cp312-abi3-musllinux_1_2_x86_64.whl

Download URL passagemath_latte_4ti2-10.8.12-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
417f18b031460d876a266c6a57c9a258bd7f19db760ff765be67eb6540e85a28
BLAKE2b-256 checksum
How to use checksums
9eb7b768bad651c1f5b9665591ce25a48877404df043bafaefdee2517e99510f
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.12-cp312-abi3-musllinux_1_2_aarch64.whl

Download URL passagemath_latte_4ti2-10.8.12-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
73fe9a099cd47a9b4d852e39a1621c8584cc7cc34fb91a32d2fadf932f1873c4
BLAKE2b-256 checksum
How to use checksums
a314446e17d2d52096e7ead9999b320290ba250159ed3c2fb582311ac89a5398
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.12-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL passagemath_latte_4ti2-10.8.12-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
df49fbcba15134e437df1ec0c6c4156c88d78002711792b5294c81c36f49383d
BLAKE2b-256 checksum
How to use checksums
926321d9a17fa3960018e6a538bfedc742352812f04057f1767ac2af3e7cf87b
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.12-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Download URL passagemath_latte_4ti2-10.8.12-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
b2f1abbcc4e1475b17a0e3f6f058afc6e4694c70f0149f1b00eafcd722deeab1
BLAKE2b-256 checksum
How to use checksums
553574aaf2b1f6cab4becabf36725021252eb6f048e8b4d1805d9e07abcf7f75
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.12-cp312-abi3-macosx_13_0_x86_64.whl

Download URL passagemath_latte_4ti2-10.8.12-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
5973e24f479a80e31c85a083a19d5aadc84898a818805b7ab914e50d0fc08643
BLAKE2b-256 checksum
How to use checksums
e9871f5424aa4cebc0a1eae7a6b7410c9315c2411828ec8d031a84d662ede15c
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.12-cp312-abi3-macosx_13_0_arm64.whl

Download URL passagemath_latte_4ti2-10.8.12-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
a7b226232f3b53527b75c8598057dcabde4daa30c85eee84083e60152feed618
BLAKE2b-256 checksum
How to use checksums
8b01101277ab5f1a7ab59a74a691989c32c53d2f02f7fa9c7b4255e92973dffe
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.12-cp311-cp311-musllinux_1_2_x86_64.whl

Download URL passagemath_latte_4ti2-10.8.12-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
3c596befc68bd23834050a63892f942ab3ccdae39890234e9c11dcde1b1059f0
BLAKE2b-256 checksum
How to use checksums
abdd745eaebab32cdfb62fcec3a6a0b778118ffcb372a31561229151fa2f3e18
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.12-cp311-cp311-musllinux_1_2_aarch64.whl

Download URL passagemath_latte_4ti2-10.8.12-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
a7687e80975b8975e07934728fbc79bb1eb9efe71db9fad45c25edc959e0d61a
BLAKE2b-256 checksum
How to use checksums
731d71d1669fe651775edf8f737d24c173e07058f052b7ea6a90bbdfcb5a1d02
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.12-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL passagemath_latte_4ti2-10.8.12-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
67709c05d1e8b5da7abe01c8eaca6058959956ed4f4f12f7bbef5ad2ebbfcfc7
BLAKE2b-256 checksum
How to use checksums
781619d43cf2b5697bc85b9011163ebce253c2c01b6a8ef6d5d9d23140b6f3f8
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.12-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Download URL passagemath_latte_4ti2-10.8.12-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
54e8e626984f1f95c06b8d1c59f8dafa25eb95d04ff0697ebfaae8511e73a0bc
BLAKE2b-256 checksum
How to use checksums
f7bed247e73490c5026ae76064a44ae0c7251c2db6457a754d5d672cc77c7edf
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.12-cp311-cp311-macosx_13_0_x86_64.whl

Download URL passagemath_latte_4ti2-10.8.12-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
414bfdcc8d9df73b3cf586d1ea8d352c88dda7230bfd0b13fccb9194ef263560
BLAKE2b-256 checksum
How to use checksums
6797c62562439a25d296e672918abcaa3ec8baf8736512b7ca6b61cf293cac49
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.12-cp311-cp311-macosx_13_0_arm64.whl

Download URL passagemath_latte_4ti2-10.8.12-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
9bc3c247bafd6285c67aaefe232ae28b370745335486d7a70e26359d16d3c772
BLAKE2b-256 checksum
How to use checksums
a1034258e38acc2678242873b155368089f1ba6898c336e18274c2b708a856b3
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