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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_latte_4ti2-10.8.3rc2-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.3rc2-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.3rc2-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.3rc2-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.3rc2-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.3rc2-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.3rc2-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.3rc2-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.3rc2-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.3rc2-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.3rc2-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.3rc2-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.3rc2.tar.gz.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3rc2.tar.gz
Algorithm Hash digest
SHA256 497cd17d8ddfe8de02289ca1b4e79f5823b29ae75163252593e27986754a1cb0
MD5 5205dca7e4c58bd7d531776f8aeb6549
BLAKE2b-256 00225642a1aad131852527f19090700d28874b666feb8af0f4a17748072224d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3rc2-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9cddc453f23bd83ca1709790148e4523feac5f371fe0eeca7af664f89421c28f
MD5 5f893945e5e88995ed631103d2895b5b
BLAKE2b-256 942413f9f90556ec232e7f415204ed419b78c8d36d9b576c19e5aa027e327412

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3rc2-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 c1a2a2ebb1cfe180e8801d097a1c7052f0ac338e31f3d7c0d8914d22f282e556
MD5 805270bb12c1d02fa399fb0d704b931b
BLAKE2b-256 5d34f7c609f7afff2e990cc18efe428d88b12d34c724543818b59a8624f45a0e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3rc2-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 73a103aecd532f19c7c52efb90bb7411211c4d2edc00ab63d6750057e0ecd350
MD5 9122d494f3d8081118106b76cd609b4d
BLAKE2b-256 1a6d9bf22710240565a3e10e2e67fc8366325302d0c602d36d172db7fc51285a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3rc2-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b443bb575f6116fc2ba0c88fbf4156d06d6c2ff43871e67e250f7807cbc762c2
MD5 1691ab8c1b271a8a76c251deeb64eec9
BLAKE2b-256 1d3af593aa2fd486afcffce1e6976c93be21060db1e0d6977c0e986123428433

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3rc2-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 22c80f6e8250e678c340caa1fa3db134b678971eead0c5beb9c82e53e6af8822
MD5 e636ad035f4e7207e1e5489a79bac60b
BLAKE2b-256 cf88d868e1831916bea888c6dddbb8e7d36670c21212b48d663ae275600207c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3rc2-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 f814c720c37fabdc87afe4415bd2ff5b556baf9cac137e12f1b6da906efab029
MD5 3ec08bd56a72d5497af6ae9b8ccc4bda
BLAKE2b-256 3ad60c11dafcde28f88f2cb56bd3ccdc0400d86f8852d6c53f21e416e9c34634

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3rc2-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 96b5fd1b174b59825c69c904d4c7e2190bce7dc2ae3341243206e2dfa836e580
MD5 79d51954ec3090748ec04d4c2b0d471d
BLAKE2b-256 f3d83a1700ec8859419568128cac54ab8cc2fdf193c326c00afb8e1cc95eb87b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3rc2-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 2ab7e85d6328fc1c73674c33266412b61ec650bcb83a3235040baf72b4528533
MD5 610ed0372ad98192fb7a9e2ffa44e983
BLAKE2b-256 9b90e5003a1f8262ae0b07dc5c1ad7f5fcf9ecb2e76ae31ff63edefb08f0ff8e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3rc2-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ffcc03cf252bbef6e44b645c3ff71e498a6433dee9d0f190ec69cf23a3b1c1e7
MD5 d8b4e75c737e8076825c604cef44e752
BLAKE2b-256 87c53785a8b92ecd0a7f586f8295042ea74904927c51a497603ec4bda98237a5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3rc2-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 edce7c4ba5247ccdaee127495a3fac1ff38792b65f17fb8bc361a548be4887c5
MD5 75e44417d9ee5e57eb6282c506a84f48
BLAKE2b-256 f8ae504d0b6669d2fc592cebbc8cd7fed8a7d75ff49c9a50d1015c3f83da4fe4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3rc2-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e4103fde2c5225bc546d156f1453824e220773b15501e7a2f467dbcb51df0b30
MD5 1227979fefd71e78db92e3c3ff2b65b6
BLAKE2b-256 7ed6ab407a99c4da81a53130a8b7ed278b8cda1ab005a28e8eea47364ed04425

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3rc2-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 7b48a786c62f8fcc8f564c79652de4c9936ca66c8ef2482adcbe424d7c60a4ca
MD5 62bec08338816d9ce55178a4eae938f0
BLAKE2b-256 c4c7ba975763deb86d2d44875aafaed74a9a32585bb3ea9b20498fbd3bb3c158

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3rc2-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 bea7e0b9eaea8b4544a8251291ab9211dd4cb430ca67266e7106552ac1e11028
MD5 b1968aab1820d5692e110b92a28d2ea2
BLAKE2b-256 92588e51ff01789c85992fee871b4f85bb8f1d85e7ba0e428c7afe04ee6882ff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3rc2-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 ebde59f01494730eab57f97f2db61e3f2518eda844d3ad849e6e782a4423bdfb
MD5 c79a41185e630f468a76c9dd186eb30f
BLAKE2b-256 430780301d08761d50d153a8b99918c9e92916027387709045e6ed459b806ae8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3rc2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3f3756624691aa0609edbc653ea07122faa4744685217abc80bd58ff246f2a22
MD5 8ee8d47374a963bb163fd7ed4e3a0ad5
BLAKE2b-256 a6c27d0df33e5d5724147dff0b3a81f2f20dbba1fc72d4f9cd0e28ccd76dd066

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3rc2-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8e08c2ecf49fe66db5f5ee47e0628717e22a74d0f845521a3acc8f595028c1f1
MD5 9d88d97ad1a58cbfc4774648c5f58cfe
BLAKE2b-256 8d55b0841bf307e4f2c06fec408da97bd1b2312b4b1f768a5af9e1ddbb20b140

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3rc2-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 56184ab3460b30372c70cd651aba5aca36d7db5cab32d290c9df4a481aa36e24
MD5 ad3e7baf7a6f313f22af4eac7f688f9b
BLAKE2b-256 5c7cc75930aadcc2f8149366051850fed4005f82ceddf1012f08c58b74fc77a1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3rc2-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 2b7937332f4d3396219a6c85faed5b22d3f07f6aaed5457478a0a33a586c3eef
MD5 3f8b2d6cc151f85f8a1193a22f25a9d1
BLAKE2b-256 2b3e2bef7303f6dfd29af5e93b711ae6bf48884283dea884e1097ad5791d6313

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