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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_latte_4ti2-10.8.2rc4-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.2rc4-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.2rc4-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.2rc4-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.2rc4-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.2rc4-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.2rc4-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.2rc4-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.2rc4-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.2rc4-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.2rc4-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.2rc4-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.2rc4.tar.gz.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.2rc4.tar.gz
Algorithm Hash digest
SHA256 e758eddd0a0b6a55be1dd649f8c6a172acd9cc31c71f4416bf917fb2bd8d07a2
MD5 2dbf9e6e9319002fda63da0966ef459c
BLAKE2b-256 6cfaaaaa61d52025c20c0b9a44e5cff5f1b15350b596605e8c284f5f2d738fba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.2rc4-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 95951772302a975f94a97d15e691103e1445f0ac5a9b9bdb75779f66ce90f976
MD5 55a384f0c8d725267d82c3eb8ef4b8e3
BLAKE2b-256 0a692e098f3e95b92cbe16e0fe2a9b93ce526d9051d04c7282a7be433c1b260f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.2rc4-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 224302df3bb03a9d879505ee39e433f77b9a75f936c617d22900770eada94c30
MD5 743ebcddcde50a5b3dc1ba9c142b60f4
BLAKE2b-256 91d72391a5e895240aad73a4c9611ba0962161eb62ecf35fe53967196673b1b1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.2rc4-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e295a63afd0fde946d02713cf3c572ff3f0c31ee932392d8f0df800d5f4083df
MD5 ebf872a9c3109af85021ee68b562ee52
BLAKE2b-256 2aeadddaeb9bf540467167ef4712486fc256050b6251afa07da821b1325d7d5f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.2rc4-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f2c3824b716b82ea8ff675c57104c8438eecf4a8ea3479e75daf4f9d805ead8e
MD5 45fd30863cf2628342923e576e137b75
BLAKE2b-256 14655fd851b4563adc0d1f7e4cf8624371b568a85b3fa6cd75eb47fa6794bb3f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.2rc4-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8ef6544669bf0b21be632194263a555a4a735d4f329bf6052f4d4e804d1cf5cd
MD5 3f4f648aa8ff93f994682ff03d0843ca
BLAKE2b-256 f7a29e8551d51f20e11bb3649cccd1df1150c8e616ca8787b2d3f2ed28baa3b1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.2rc4-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 1935fa31a8dd98e39ab6f4cc96ebbd9f0c098dd1fe558f9b35206f12a8c6d55d
MD5 19811c77dbb70e94b15200c95f16f9d7
BLAKE2b-256 8291623dc1ce85c85d5aa2faf4d1e2c06bdf7dbb59aed07fda8d7546553dcf14

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.2rc4-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c30c034313e05e2fe563da3f0cab60bd847141fd51b961b0440268135be9c0b9
MD5 b80e94591758e1fa6e072456a7f367b8
BLAKE2b-256 d60b050f1b5c1534b07d2f8c4d6088af87f5997ba22b8301623840df545f9fb5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.2rc4-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 15fd09acbeb18f14dea858607bdab15d5fc55b11a741cdd7173ff0d5cf043ea3
MD5 15c6102156b41b522385e33008628870
BLAKE2b-256 6a02de14b9e397bd633759c6df79bcc2c345cfe70609f99da927b7c670ab8546

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.2rc4-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0e1d93c90be9478ab4139f8fe4868914e18458f9885dc299a3b3c7b69eeaa0ad
MD5 01719a76d8a06b889cbc3de03679341c
BLAKE2b-256 f49bd46d30d49851f1d91cf16581b0470d3e0e373a33b6a6fe54108412b66c4c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.2rc4-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9d8a30f53ca081e1444a2fca119cd6fb3ef2d485acbd3226c052f6a832bfbaae
MD5 a1106151020e2046f1dfcc08787226bc
BLAKE2b-256 65a60ca1633712596ce5b0ba2a73f1a90991e350ed46ca0bc29c5d337f8085ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.2rc4-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6b11b82159ab3b2f3f6522ad454af9d76912f5cfcf9e4afdf360ff6d0c161307
MD5 7490d7f0e627ca75b3ff35f18d63a5ee
BLAKE2b-256 d941c41b81f7b4a20d20df28739a9199f97d0525d731fefa789303e868383367

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.2rc4-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 1f44b5dbad55ec31949d73e932ecdb1a9d1f0d8ddea5938650feb9f947dc753b
MD5 a3190c7acf12e647a944207c0ae4001e
BLAKE2b-256 f103af9c9c180dee242dd04e9add0ffc3346beb6a0d0d0ed4f4e497f3ef20beb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.2rc4-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6b9c70a1741a3b3dc0efc06242d7e33cb489b0d9eba833a8184401f25ad32fc8
MD5 e57348e4011502d392baad9f4c279f2a
BLAKE2b-256 10e03957a8218d159190e13a05a8f646f6c9946e6ec1eb16083ee362b5fb4266

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.2rc4-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 eaf6e0591679ffc8b5a073d4c4205984308cb2d4f6033efe50ab7d8af694d813
MD5 76613ae8afe125b541d7cbb769000cfd
BLAKE2b-256 d17a7b37e008e4ddfe311db88bc4e4c801424678f980f88562ddc65a791dbcd8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.2rc4-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0557d3d5ebb2facb35ef7fc2845231ffba251c16e83283a1163b0e869a37d12b
MD5 4773754891a16aa6ea1dee9c89574323
BLAKE2b-256 6480f19dd26cbcce4934fa001581305024227cf2cf6ff259b8a88ba6c34904b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.2rc4-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 7d13fb9550be91dee2b273aecb4f07e0fd8a5201936e1bbf11a9ead0a5b57924
MD5 ae0cfa88f19998ebb6e468afc6474638
BLAKE2b-256 5ba057ad9cfdc768dd30fcbe4d93fe0d6fd4fa752098731b39dc3c26e7d8a421

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.2rc4-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a3f3229afc025841c36c957d3bb3cbf53364a4e3efc2b4fa10847de4f674cd9b
MD5 e9d968c9d91e65aa6b5d571d8f77bc02
BLAKE2b-256 d659442ffd3a13bc56916ce70f230ee6b4d31b18062340f5499379ef7aa8d29a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.2rc4-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ecdbd722cbd2c8052b21505793b221b5ef3dfd116286726f424bbd42bccbe4f9
MD5 294595697d9169fc267396b47da24b4e
BLAKE2b-256 214074ea0382484453d2b210ea078626578444f3783c1eb0e2c084c22bb2e82d

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