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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc3.tar.gz
Algorithm Hash digest
SHA256 a27e151e16a7e678be1d3cdc07bdc0aa15f89e24856f83fba75c78648d656798
MD5 1d38d57a33c18c06758ac032743d20e1
BLAKE2b-256 4a6b97f1f2bc1497b1abf3f661be088661cab32adb36909e2a5f658fd956c750

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc3-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 aac3531b2eedaebe123b9e685ee6c58a94271a2a0069d28889c6bdb307c318ca
MD5 a6b0ad1a88fb1636678a8c1d12596dac
BLAKE2b-256 41dbc752c2ee6dfecf5c8a5f3fb88819a622295706aecd02c98863bb6759abf3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc3-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 9224e51b5c872694505bd54acb28885e21518aab53a4cb9b4b597839c35d3740
MD5 4d1ced44ca5f5b982eb4bec2842a03dc
BLAKE2b-256 206f969ee57d82708476947b081a8ab0d8dcc8b4d1e7bd1cf5fcfa3011c68a6e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc3-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 753716e8f88da26365339c9264cf49ebf6d835da4b7239698de1fc1ce19eb46b
MD5 87c9250a2e34f214b1f6356fc90bcb0d
BLAKE2b-256 b5d4cb7972ac8c3e08f40b7d2daa768096c816b0c37f030390888f457027ca56

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc3-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 44b6f6bafd672f3114b85a102e7a8b6bc326d089f9e95b5a58f70708ec47363c
MD5 ebacfe80394a50187d625448e707a778
BLAKE2b-256 b038dbe204f8fbb5aa3aedf6212c6426d1167b1d37a709a1a41ce5fc80dbe09c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc3-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6bc610ae0f700e017c894c85464ca826d5103e0d6cbf9b4eb8e7b9071c563973
MD5 2ab6134b7ca007cacebaa3609fdee293
BLAKE2b-256 bf2ee5e9a31b0bbceb73fa84026daf07b375e3ea5bd58536b3de3a67395bede5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc3-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 c914d483c8549a83a035c4320cb48ecea50514acc516dc3754c09024211c929d
MD5 6537989c05d6e1c2735b4e92870f18db
BLAKE2b-256 d1288c7d181f7cb485cdda693cfc91a0d6131e4d0c16e40a18e50c25d7cc0cfb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc3-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 df0061f4561493415f70015f4e2ed052d5e3880098173754ad30f0669733e7c1
MD5 6db672d0c6a3356d83130a79664a49af
BLAKE2b-256 83791ea3bd24615a35e50ab96c4234dca410f2420985fe0643aa19f0b8570c27

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc3-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 540f51ed669b5e936500727d26b102599c9e20dd65b1c23a2be50973041e165c
MD5 d98a2d1bc2eea6f7879833bfd288b392
BLAKE2b-256 28a7656a6d287abd3d00b910d4312ca4efeae1f2fa7cb426e5fbc2290eb992d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc3-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a454f80bf4b326355f37a3e0c6dd2decaee3815cea20134a843a56101dd9d840
MD5 5210229b8ee0acb12de97b903ab56b93
BLAKE2b-256 90eb78f30b88a17bc5c9172acaa673ffe728194f0db5ce9370f779449389a6fe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc3-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5bed9666bb198630acd26b2be44daa119524eb6b9f030e0913f682939fbdacd6
MD5 cfb211284c9267b09c6d0f915af2fe44
BLAKE2b-256 0ccfaf0ab71d14f8f8bb5a2ea906653500564c233099a721de5d0c3423a0d835

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc3-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 164421be4c2e0a9dea02262fef51616bf050662e5292af49f88567db34c8cb29
MD5 1bd39f781e85b37ccc0d7f1f5ec2d67b
BLAKE2b-256 f807471795ecd0388ffa115b5ccc4751300bd4947d42b685fa3da5c93599eeaa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc3-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 c0eed84682b343cc2f27bb8623a56d82495c4b554047081081ffd3878a607938
MD5 c1bb2c41a1ff5d4a9c02c4d97fc2625f
BLAKE2b-256 64653edf39cc580b9f16af4151c06847053d6ae91e02d88a36e20b08620bb8b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc3-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9d1420eb56807c8704485fe3e14e39476f965c0436e1c42af20150f8813494a8
MD5 c656e108c5e1b1c7a0e228228db33c08
BLAKE2b-256 07c86eab7c9913de4a1412a4cc8a05282d0e9ab70511c8169806ffac38453a0b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc3-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 15dd862e8f9b7e0394ed4ea26e0f39d69f675a3d8a2cad528632d26592b90ed3
MD5 4fdaedfc77cad187e76b2e4a4f760a63
BLAKE2b-256 86f1e6de9f57f8fc77abfb23c1bbec4511e6fa3ea31a15f9c13f59b23ae769ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc3-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 801a851b7b016a9e61997d2e4c4917e0c1eca29f0ffc2e87cdba993cd75e42c0
MD5 a46c4f303e0a99a7073ec621d9a0ed54
BLAKE2b-256 b6d48673f9598398b3ebd0e512bd7bbd8dad8e313bce9264893542f4cfd589a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc3-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 80bc0fd31c2bb9ff437945af05bd9ee521a4db004a005ca1e15ff39c6df88135
MD5 0b16e5ebf264d56778f89d27fb1b5f09
BLAKE2b-256 9cebddf7ee6db9f7257069460e9156f284375d4d68e899606dd5d3ea5c6560c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc3-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 441b14579228593da9d72fafb0778cc51c30ed645cd392257a6c45417e35f720
MD5 909fa120285af6384333d990da950ec1
BLAKE2b-256 e16368cda57b2c4634ca8a6d0286f690038ffca1b157d8d727f6ff4a3d43a376

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc3-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 06afff7545114521cf0edf0a592ce9755aa1bef6fdfaa749af0ed82ac8c129f9
MD5 d5b70c3756420c419ecbadf336e2f39b
BLAKE2b-256 c12fd2a8672ebcc9a43f5cc46d160202cdd98c1635407ac9bcceab57a48effdc

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