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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

File metadata

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

File hashes

Hashes for passagemath_latte_4ti2-10.8.2.tar.gz
Algorithm Hash digest
SHA256 2fee18b7bd372ffc268e1d658628bf47f429480a69cecad5c052f55f13bcada1
MD5 bb7d2e7faa57161967c4f01fb5736dc3
BLAKE2b-256 73cd1ab2571fa7d1a09af7109eadef8d4a8b8be9c9aa433a090121c8e0c8f46b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.2-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 5d4dc51dcf3d978c154f7413f272aece0d2574a37b0ca25d0849c414c1e2d669
MD5 f381f808abdf4b7813928380b246f3fd
BLAKE2b-256 028dc16fb75f7aa210432b2fe248b218151a01f63e06eb5589fddd95646790d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.2-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 ca95b7059752534863a8f9c3c090a9daa22f2aaf4ab84ebcc7429f2d7a230555
MD5 7658d759fc922f0255eef8c7e835d230
BLAKE2b-256 35a285cf530fa853bdc0922292b679318798e886f69adf1b8811d08a533ffa64

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.2-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6a80797e071f59f9b68d95bfac744275dc1f44c074537705645724c739e32c9c
MD5 9ef40fc08e7b33b5fdb6c810813a5f14
BLAKE2b-256 1f0a2e876cc6f0298f2dac3b0831ec86f993eef30d70bdb4aed89b8f0795e857

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.2-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 fded3706bb812a4c7a4717d9b344d92cd38433125ee18579e7cdacc5d9f1ef6f
MD5 e36ee90f23fc69c57914667b96e4153c
BLAKE2b-256 8a2a3079b33fa250ddab6d96ab2b97351ca54c45c8fbe722afd38f00525ffc25

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.2-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a42481d1368dd6ce0a780692cc458f9b6cddf555f30c1ba9513ba808056c103e
MD5 16d4c5e974634f3a4c1df9a64ef6846e
BLAKE2b-256 15a09d9f087fed2ce04b1900924b3708e395087ce3d3ee2cd862294eda153d1c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.2-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 cb4f27039d188db331b13927accafcd7fb96f324e5cf9e46bcb2475b69dde155
MD5 67edfcc770abf08708a9dfb26327e831
BLAKE2b-256 59b4d58841ef0cd59b549c68b7a95038ed18c61c944e7208be0261280f05ab15

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.2-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7847b86ed53d88ae3a721c008c62d80954d6bb70ba79f426ba0c784a5180be04
MD5 01f5fe3821dc0324ba6b8340b90307de
BLAKE2b-256 caba67ec13f2f7eb01a3481ca97ed1a8d86e31fe632a52eca16eb154ac9a3f68

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.2-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 2dfec878d7eeb828a75597e776645519deaaaf71cc65f881fc16b92cdc687d4f
MD5 88ac32036acce5b0792ada8b7185c435
BLAKE2b-256 0570bc04a70b24cf5cb70ba371136fda75b4951bc645cdd772f93ed50669c694

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.2-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b367205e0a0a331e221d50e16147964857c9b3ad322e6fe3d1ad07ed8961a61a
MD5 47072950a8708cdf418f402dedea0491
BLAKE2b-256 c8bcb05e1508086ba6d58e97448798898a777ad296aac9bdb7947d17846287e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.2-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8073dc9950edbad0b2e037d6a12736cf4f2fbcb9d2b9123b6726f38a0f1ae34e
MD5 9c300c308b01a4317c02fbfc028d4202
BLAKE2b-256 3181d56ac694eb4c646cf068dc848fe75793265594e5b92d7e8d3bf3fbdbac38

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.2-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 991a109e6833b72bc67daac5e0ff78443ec41c0939bf906e7dc9a21c1d363f37
MD5 a69816cc2bfcaba303887db23f1234eb
BLAKE2b-256 910e245d1557926de8678a409a46252cb14bd8343cafb5ac0eb53112fcded440

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.2-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0dcd112d68df0a89f43d729faf782144420a77391f3dcb0d3eeefa9236074235
MD5 96d3b14171bb97f3b41b658209a146c8
BLAKE2b-256 3dde0c456ab0a51fc7c82c825af11277c35422246d175783e18c8f6056d59e4d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.2-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f85e8d564404fe4cad62546ad48149ec59021dc3c37f1fab203c62e201c8827a
MD5 8c2aa08d58fd7fdd02f566ed4c8fc26e
BLAKE2b-256 11e565f5796f64cb23d6383da4adac613e0241b7237ec742286d04f7af08d810

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.2-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 b89885e25feec51cfec41a853f0f1b6ec639df2985f04d66019808b2d18b23ca
MD5 7b54c2447fcee97ce206642d089b513c
BLAKE2b-256 25d4b0a2e15ffcb49ff78060ac76d46a52fe4937e7d30b090a01980e0984f38a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4d13286a27a85250d2c400ac208d1357dc29a6ff5421b1875e857197a4e209ce
MD5 a4776a6ed67db23c8c183de81844ff4e
BLAKE2b-256 671089d57b66b5aaeb574beeb3e6c0be063a8a0acbea23ac85ab0dcda7072910

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.2-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c94e96baf73984f5ecd87c0055e5ac8e63cb427f7d55caf9b5814a264e3b20ec
MD5 2ffe918ab93d94ff7d1394c18e0ec405
BLAKE2b-256 88774e5e9e16f19210df0a36ca8dace95a8784724393ea09845bf2d735799043

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.2-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7be80f4525498fac7369eb5c7b6b5f12d11f663447f1af64b78acc8d6ae0e8af
MD5 51305efd6e417bc0ebe357ac00ec2104
BLAKE2b-256 5d6244f26e0dd660cb62f97aaae76393583f972e4ab923dbc49d4d093c090456

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.2-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 2d5b5aceb3cf05c43c2800460367558e02d5b8099d9690e8d3d33c08fdc06c18
MD5 ce27700248c4cdf90fd6421404df5dd8
BLAKE2b-256 a57640f43388f9c326342db50d082b6eefeb2e8642236db8d72481e8fd11f57b

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