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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

File metadata

  • Download URL: passagemath_latte_4ti2-10.8.4.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for passagemath_latte_4ti2-10.8.4.tar.gz
Algorithm Hash digest
SHA256 70b3e0faad70270e85d4e4f10b636fcad2214001858d30b1fd8e2643361a650c
MD5 a5838618fe315d38955a779afe30afbb
BLAKE2b-256 be2a43573ba6bcd3c3f3359d63174836ccc86d9f0db18a735424a74870797032

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.4-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b356ac03b76339a049f4d812c4fc11fab627ef6942c668e49ac3e9e0b117a15c
MD5 549fea92e1f69395dcc29a12194ffee4
BLAKE2b-256 7bb9b95af0a56750f6eff19a8abc249d91cb4e013890de6c06b5f0ddf402b2fb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.4-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 43fa621579462384db9ad8a89d305006173df8edc40a30b813bb64cd5c18e718
MD5 68756b2c5218114b26d929d72edfe91a
BLAKE2b-256 eb5c3abeba33516694bcda71d8ceae56d7662fd96b305ea55da58a51f5743d6b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.4-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ec111e4d6fc52a8bc944884a470616842a501f9bb8d9385579cf49fab3e4c66c
MD5 8fcb83bad04301955c4efd26f9c7bea0
BLAKE2b-256 5f7f9516d26d96c97d8cb4937440060248bbdd95bc13428dacea822fc01266ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.4-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 238e184838f3b753cfe1c0d69c681643fedd963c188061a9ab5fea972dfb0ebb
MD5 71cdb326fed9b9e8cb524b85d030b8d1
BLAKE2b-256 a065bd405d4143cec7cb5b635202b41f29f39cc3c67e2d5155942bca3345ba35

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.4-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9f580d21a1804d1d8f1db1b60db9545e4509d753d748830bc3d8bf255c1bfb81
MD5 ff2633ca555c436fa6d9216ed11dcf7c
BLAKE2b-256 33b99c93cbc35673acf698cec756d2083425629b16bded8ff435ea0a24eee542

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.4-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 29b18206f264693deee17307e09dd2ac7fb56fb0c86fc4e370a9580bba251952
MD5 c3f2b738b6e06944faea0f3e0c8dabcc
BLAKE2b-256 28aab8e83d8ae600ae6e032f87feb2469424973baa30eeb2e744b1e0c83d8af4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.4-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 89fcbfb042051364da959d9a8be93c46b3439914c9b533ad61bfef26fd39500c
MD5 53446c6dd9423602e701beec3fd84d17
BLAKE2b-256 d60e379122fdc1c30fd6e47ba554dda822734e8055429e0a95951831e319111b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.4-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 3d67dcda076db023da57e5eced74e4d2902c7241112b10c3b9be40fad42d3185
MD5 ecdc389c58dfb48a5761a9ac9b58f3b6
BLAKE2b-256 feb0a6ec297de867527e92bd292ced07765931dafc2c3dee554c06eeb6cdb553

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.4-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7ac0add2da201ce527b85d0f3bcd873be559d2cb9629e0968a8e3f304900d969
MD5 b8065537e8a01fb47421e7ffb5df2a60
BLAKE2b-256 843a009fdb3c4021aeed567367a8a945ff6e423fbbb920e7b44edc60850309fb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.4-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 bc90e00334bcc4936ee7345b1c3e37c75ada8b7d2182719a9ac58e6310212307
MD5 79cc6fdad1aabc2ba0ace9a98f07cece
BLAKE2b-256 25e303e6ba37e7c19522e12a108fea297e137c774955a4e49973d725a8a27b10

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.4-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 09614a95efca4ff82e9cc60410e650196eccead0a23290f4a95fe645abf1a1f2
MD5 60322195c890e27d715b4812b84d6cd0
BLAKE2b-256 5716da18121aaeac6c863924275a6f2f1f7ca4b01f3208ea6bd3a29bced1366a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.4-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 e8fbaffd12f2242a632543a0babe54306eefce2ee877ded62b8144bbd05767f2
MD5 e36a7fe2a070a8dc8b0d4cfdc4a507ce
BLAKE2b-256 7353abfdd48772eac6dcb217b023a56e9981f895640af53edbdae49d60ad1848

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.4-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 597b478751499cd88820516f99c66206059fde8e83196876362b44a9cb5cfc18
MD5 9878b12b19e398704052a6bde9a9f9f1
BLAKE2b-256 2b029b36a07d869ab4ddcf1c5b809fae4b275b1565f28aa5699fa4244e081009

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.4-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 8ba825ba5ef67e7885530e738a8f8846669a678277361a2cefcf3183c8815e93
MD5 8be38185635d4da8f019049fd255257c
BLAKE2b-256 ec8c2209f7fe527b962a5f886c0b85af0528254af575b1ee5b8afaf2b91bcd7c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.4-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f887148d67b38803e2165717579163dcf4cc9e06200d797c81698a388af49da6
MD5 dbc5d414ff74a2e5c0398449de71f2bb
BLAKE2b-256 cc6156892291c0c2a739e436785fc4d2d61122a994e03e81bae324623ec430c0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.4-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 288964bf6b793759a85674ce20ba9355ad6d8f31e4c763c340dc681f981c2b4a
MD5 331fad4cf45af80a8dcb329ce399aa86
BLAKE2b-256 156ff61c549d192f20435c82875a915c8219f18c8efd99cf23f99467aa7d4e5f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.4-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9102c6e16b7d46f8da7c0f512041c9ae13532f7fa35d2f32acc9b874a44f0ee9
MD5 7158cae39622712dad59f1c44495918a
BLAKE2b-256 38b4b75e8ceed163b86cfe00e8de14a925eb80ea9dc8d580cb59f21459c857e3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.4-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 2a5a20021445a1d8e9f0f6f4dca5896af177adbbbf5f7ec7bd8bf67a25f1260c
MD5 d329ad67a3c4af86c97202eb3cef2745
BLAKE2b-256 1f19c030aa801d374b8ad252e46ed9c002c5fd745a7454272e08d656115cbefa

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