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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_latte_4ti2-10.8.5rc4-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.5rc4-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.5rc4-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.5rc4-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (63.0 MB view details)

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

passagemath_latte_4ti2-10.8.5rc4-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.5rc4-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.5rc4-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.5rc4-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.5rc4-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.5rc4-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.5rc4-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.5rc4-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.5rc4.tar.gz.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc4.tar.gz
Algorithm Hash digest
SHA256 e42ac50e673dcb293c096a2490f66504f2d244129a29177c21469760f10af258
MD5 a29a65283c6d950a286226ffd64d5e50
BLAKE2b-256 c72fb94854f75094480505107ae34b1aeb1532d975bdb77b7bb4677b3569d86d

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.5rc4-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc4-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ac5213f76734bc9379d7fa91135f63d9caba1948b65ce5cc20642d022cc6440a
MD5 2027249e0e8d8863046ac1fb99421a6c
BLAKE2b-256 16ea7495e555e4a50035dd99832b32c6ad9303cf20b09fd6ad19e194c73f48cd

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.5rc4-cp314-cp314t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc4-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 a6acb58eb0005d7ae19b82e30aede5eda855e0591b59aa5ae96303f4c7efb340
MD5 aa3778eb16d592d53bb190c4c8cb383e
BLAKE2b-256 cf73f8cd35f0ad0e3444bf86a651a32291942fabb24b020e4764aecd78e4e7be

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.5rc4-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc4-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d965566591107edadcf08d4f88cd3b0375e5a1ffc36f06154a67e7fce35689e2
MD5 3fa54435a23cf18c30bad00c1b336480
BLAKE2b-256 80d3bfc730ec28c55e9eb91051d7214cc4fa9e13d9c3d40176357fc1f9a707a8

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.5rc4-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc4-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5faaeacb658f8d2846e5933a512e0d77dce84b8f94053ad554bb7ddc5175067d
MD5 346674e9e289ece558873ca673c47f0a
BLAKE2b-256 a875e0d089c9d238d70eed6fab0ea5feedb1ac966e7502616071d78f1303c43a

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.5rc4-cp314-cp314t-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc4-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 440f6d7e7ac6651d55b80868622df0739464578150ad1b511d468f78ec56ad53
MD5 7ce8b3f075a615e2cc44babfa80e7eed
BLAKE2b-256 face151084f3348b51d6839fea7fd214a5f0ff62c4aafef7dfd84a8e38e7fc80

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.5rc4-cp314-cp314t-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc4-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 f21ba4501c5566f289ee2419a94145558cd9be2946ff51e5a097d901a246c268
MD5 26c437093bdb45e34914a9a510cc52c8
BLAKE2b-256 86ddf23964ba4d999221608a03437454dad44f09636f391a2b1cadd3a5477cbe

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.5rc4-cp312-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc4-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e6ffa34ab0144d020063b6b60fc5b75953713093c1c94fc4d7e9896bd7fa1ce3
MD5 32b34b34861480baee829ec185761f19
BLAKE2b-256 131dc469fc2c22be27132646e457165a8eae8b805fc1ea74edc532c63f219443

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.5rc4-cp312-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc4-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 4176057c0e57a70971b3d5a9bdad87d8b2ffc72c93553531b14f4b36c36455eb
MD5 62dad17676648db7dbc8c550967dcc0b
BLAKE2b-256 bcc8d2ee1f25f0ac011fa6d53e7776dbcbae95ca183f9f70ea16a375ff7e1356

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.5rc4-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc4-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9635720a87b7f3e8ba69694ec4fd571e3f7d0f2d71470c58e910ed58e054bf72
MD5 7373d6db2590b131e0e6b21c9515bab3
BLAKE2b-256 e8889b3352259dee9011374523fbf9bd8e6a7517ddd56dfe69f4652718d8ea01

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.5rc4-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc4-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 56e94897c1983104eba0f90cfaafe8454fc2961be7224984a0e830a809507955
MD5 378532804f764dca98ebedf2c1f9c47a
BLAKE2b-256 4b3517d4cbfaa5aa1278b28ecc8f0f1ae74ad89ef709da189ec5d6600c056cff

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.5rc4-cp312-abi3-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc4-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 fe04bd9cb02a80fbba47f2ca95bb34741073d28915b35ae66da4b679c665f7b2
MD5 44e24697cefbda8097ebd16bd42718a6
BLAKE2b-256 e835b8a768e88c74f23940cd757218b7001a4747b909ed6389b752993a599cc1

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.5rc4-cp312-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc4-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 1ec4d5b5755ba7a77d9337ccd1cd57793a73beafa145a53fc99c25ea68b917c5
MD5 7c99085c7385748e488c5f0c0003294b
BLAKE2b-256 186c1cd00a52318484b678ab015629042aa542d77abef2ea1485af80e910c350

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.5rc4-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc4-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c130e5b545120a7288663f9603ff36fd62c12598ac5e0507deeb48aad0c053d4
MD5 81a7bd74be41ec54f356c8ef3204ca6e
BLAKE2b-256 b185578a547ef882a47095d091d0d958e494280d4fece173a43573a295d34e5f

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.5rc4-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc4-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 3c65bda5cf67208fc6a3c8681ae9a6080c1eb1da3ff843ce45a49a5c07b51c3b
MD5 11b21174d676b5fa75e4a222952a2276
BLAKE2b-256 ade4b040c3e42ceb5c185caec1207fe4871b95d40d5832bddb2826c8219e98e0

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.5rc4-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc4-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ba91cc1e3fcb62a8f406647b6a920509658de608ed2b4e35256216dec8c7aa7c
MD5 788183574f0a08eef327667eec4f1bf0
BLAKE2b-256 f3808f0233dc15b07b6ac3ae3f60371c60093fb0a355e3eb83311a9be0fc2afb

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.5rc4-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc4-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 571bf349f1bd28fedc06fb522e320edad611ca2f8678afcd3582ad98cd9bc3b7
MD5 c4dea5581e11e5a252d69d4e69b9faaf
BLAKE2b-256 7b8776d0a5396d648fbca8c38186d771509fb4cc0e68e8672d8fc4515184df0a

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.5rc4-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc4-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 368a4faf9b538247186c35c48963157f0962f7a3d85d9a69554263cd82ab588a
MD5 22da779c6cae1007efcd664f03741596
BLAKE2b-256 e4ba02e7c54f21e83eebb79bdbcab2b474a5c743433caaa13223819030afeb04

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.5rc4-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc4-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 6fa62252b632b3e92d4db1521147f165b77d6b89df00f63db043b9ca899e0497
MD5 fc3d9a6e56dba8a8da4f18aff719b3e5
BLAKE2b-256 c685c01b0cdc0fbf67937eaa5d1f22df3d1f5110b38b864e58718c11b1f9babc

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