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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_latte_4ti2-10.8.4rc0-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.4rc0-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.4rc0-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.4rc0-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.4rc0-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.4rc0-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.4rc0-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.4rc0-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.4rc0-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.4rc0-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.4rc0-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.4rc0-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.4rc0.tar.gz.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.4rc0.tar.gz
Algorithm Hash digest
SHA256 26efe905925fd6c09425601f9f1ad43379932abc3e28eba09369883c4d706345
MD5 5bb0ef42c732ca0a84a9628379afcd84
BLAKE2b-256 91181c842606fd92382c6b35b0bf30be2da4f36259ae99796f34c34d4d2a8a8b

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.4rc0-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.4rc0-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f26aadc6f7cfdbf7631d76a16bd1089619df5cc4e328110b44d78533aa7af37c
MD5 6c88f4b93a281297c6cd8150670985f8
BLAKE2b-256 af38241a326689f7deca6cdab6d1c8aa817e303219e08961a3b1423dfb1368de

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.4rc0-cp314-cp314t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.4rc0-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 3db3ed752514d063d3df4623d64e562dd75f0e8ceb49d9e6d39d6de47e9f97f8
MD5 58681fca41ec99e8d32dd536fa390f8b
BLAKE2b-256 cf62635f61db9d073f1aea358de449bbdfb27b5abc290da09173685ec5ca32ca

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.4rc0-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.4rc0-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a3aa0a2f6f575b2543e61381d2195cb2678690a10305cca9446b0991aad93891
MD5 8044b04b81e6f55f5f7859f94d91929c
BLAKE2b-256 345c475242fc5585179b5f8ac89e75413b12a47299c4f68633b2e096cc9bbf1b

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.4rc0-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.4rc0-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 bfed7f8c66ecfb98e1d64415d939d3ddae12698ff4f720b0726d27e5f75b4f28
MD5 4ddaaa457c6f5ed13ff247640cddcab1
BLAKE2b-256 fa690b1f1030c7464b8a2c1da374811c5d39bcdea993eee586c5303e438eb430

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.4rc0-cp314-cp314t-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.4rc0-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2e106835a15a2dcdf3f3bdbb169169d0a8609a959a7ef8d3e40a4b1e8866024d
MD5 d67c64c178639150422ffee1544fb191
BLAKE2b-256 e5a00013674fe5d81a67e5aee08a166b45c527300b8df7c9411236c9b6d855b8

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.4rc0-cp314-cp314t-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.4rc0-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 f19373d8587dc417626412ed059e15cc31c57e31f96f7c0f072f67ecb8375dfe
MD5 7d2ab5db0aeaeeac2f34f0d7cccc7460
BLAKE2b-256 aa0191b12b7f30f725588aff356addd8ede09dd9f8346ad4937d1449f85b220d

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.4rc0-cp312-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.4rc0-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 19f1812b2f512b595ccc72c7b4e301b158003c8bf1a221ed3802e6f439e65e24
MD5 72db184a18bab63439aaff2e13a6faca
BLAKE2b-256 4076bba2978e1ccca82b83a8da9dad7f3b7c21a581925291cf2c2a980fd48577

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.4rc0-cp312-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.4rc0-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 5f0684a2ede575386ba8f03de244bfa17efb421af33b604218ebf6ddc0fad405
MD5 2d5995618376c7a4e96ce9aa2c3bff3a
BLAKE2b-256 ee3bc1f7256361116ff6354864d1e1ef983884ec3fad41fc3abf242baeb79821

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.4rc0-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.4rc0-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 dcb916412c8eeac68983408d1b30dc0e7966269b730a2576a1ffc2f25b488f2d
MD5 391e7154d000d8b515a66d8aebdacce4
BLAKE2b-256 eeb4ca3310c9a99e5739ef8f145b6bb75ceb8d615429721058aadc9d922f1ef4

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.4rc0-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.4rc0-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 026c74396d0d2eb51aea6e631547480f54a30467270bcc62d8c7d3d33b831d2e
MD5 496ff446dcf6e9789478f72807b5333f
BLAKE2b-256 26fceccd01280b625182a45d042ac968aeb68c1ac14e6cb9808b0742eb059479

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.4rc0-cp312-abi3-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.4rc0-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ccee104181b1e006db77a0668e7c19c403fd166930143bce25ca65b2c4e6cade
MD5 ab10de592d802af21b8c7a7f9309d4fd
BLAKE2b-256 83f3bf3b4de89484e7a236d3f1e4e8c578e7ef0a7f31de15756ffb8d4ecf3459

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.4rc0-cp312-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.4rc0-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 374f06cd971ae016b69c0ac3db5ca10f04309b05c091c0442c08f300ef385fa7
MD5 a4308577c95383ab4bdff6ca5845027b
BLAKE2b-256 e074976b8c31c7a9e40ae0b54fce6710027769d136f1cbcbb9f3d583c37486ce

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.4rc0-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.4rc0-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f80a420ef1262bef3e2457f9db4e730cbb27307920e8ff1ff1cfc9d13506098b
MD5 3cbe583dde3d2ae0f6cf48eac322643e
BLAKE2b-256 00eaaf58c3ac4a1a33d18a85826c565907d2e2eb1836eb5160c42b07dc16f1e0

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.4rc0-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.4rc0-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 8cd11cb58ae1bfbd4369ef96b5ced940688132266d5160ecb2b8da0ef1278401
MD5 fbedcfb01cb848d536ecf09684636e6f
BLAKE2b-256 45179634f8cbcf074ba87cb38bdc3b7c97ab95fac5d43d633843ff39f25e4569

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.4rc0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.4rc0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ac6575877fe5241ba75133989f42584fe58f61f998359e0fbad2d55a8e129cd9
MD5 89bcd9d180d8463c34ce84faa9707d63
BLAKE2b-256 40e2d35a42e1108cc8d0228587f3cb34caf8106be9901763475f744f44150983

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.4rc0-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.4rc0-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9d5256b4aa19a5b0789c06077a2495248fcd5c57406189adeac91faca6874bc1
MD5 eb4962f8c99a22d4a40facbed245e561
BLAKE2b-256 fc2b814f8b4ab7d17a143de218d50ac4f623860ea0f0feba9d1c9e5c0a6289a5

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.4rc0-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.4rc0-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 35f8a888e182f69124e9cd1cea0bf82183759f4bdbcce29a98299302171f379f
MD5 678c70db416f63f83310648d9d94c602
BLAKE2b-256 8e5976918901e581364aa884584ffb140bd434e26cee5f46d0c759d2a2267939

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.8.4rc0-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.4rc0-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b07462aae826d70998dac2890a2f29a2a4382d59be63538f961e60f219ebf3e6
MD5 17988f56f62556e208996273c879c5a5
BLAKE2b-256 18c91c4ea4fc5e19686d2d3a97b33f318d8c2a3b2fd316f173fb72800e0f6030

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