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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_latte_4ti2-10.8.1-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.1-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.1-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.1-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.1-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.1-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.1-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.1-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.1-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.1-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.1-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.1-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.1.tar.gz.

File metadata

  • Download URL: passagemath_latte_4ti2-10.8.1.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.1.tar.gz
Algorithm Hash digest
SHA256 ae2b8c6fd3a2d3e6df8c20da5459aaad8ab4474a83834fa63682c62f60cde106
MD5 ffea137876612583c63fc0f6779d114b
BLAKE2b-256 c0aace2b2a410bd49f51e096d54fd4b86a0a2f5e79a1d488a3bed3e22ba36ce2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.1-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0027fe7dea2ee7606bcbdfb17036d4f19cb873db5c69aad5c5a78cb3bef18d75
MD5 0886a08e767b864ec1dbeceed3da770c
BLAKE2b-256 c63fa98f4e81eb3276ae55d4efd0282f5652bc5399618147f7a391a4c7082241

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.1-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 41339a9f65ed8b44346464ec2787072e1424b06da93257c7235b385a646db721
MD5 8f2efcd2d2b7600a305f8174bf0aec9f
BLAKE2b-256 8f8f4463f7ef51c6937dd039c6573b82e1cb3c4fe5a152048987bb5aa3886f07

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.1-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f63a5743a97b1482d88adf9b7c9149e2f466630affc7364711e2adc2fa369dc9
MD5 ea2781c2a7040e2a772e1f1bd2c7d955
BLAKE2b-256 1d233fa7d095d37f04b3d36a925de27806c1a5145ff6f8bc6d61143b13fffd4d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.1-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a3e9bd8c8526c8cbb31f42b61f17c57c72aeb0f0d0d005273ec46112e279a69e
MD5 6f6ba2ff0e134eab5214ba552af77e9d
BLAKE2b-256 363a956fc8c73c3dd20ff115caa4f58e8492a12b3f668b39739e19fd06b212bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.1-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 dd646207336d278c84dc0c66f56729c4ba464599f04f4e8ed60bd0223aa00bc3
MD5 13d67dbeb06fffa82a3978ba87187aef
BLAKE2b-256 62c9e4ab147c97eeb650b1e13ed32288fe6496cc1ddbe57ad66933a4e65fdebc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.1-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 38a53a161d70265c4c55f7e046b59ace3861a96ec4273ae7c6da985508bd4636
MD5 7e22a09f3a9438d431187244205c2280
BLAKE2b-256 b6caf5825318766cdf1133eb01e99cd772cb15751b6376ec7ea41a9016003fdc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.1-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c2889452f03e8013ae47d8f72c643776c8e078f1c48bbeb3092219e228698718
MD5 08c76f2e258ce900421404493eaf4034
BLAKE2b-256 e01ad0b02649a3c3ea181be539febde5b1b1943c85e35f96dad37510970eb77f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.1-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 e37a45cb08da92b66d38d3ee2406c8555becf812acb4d464be7706225d5467a8
MD5 dbf8ea8c29d7500ffdd1af4a735c9ea7
BLAKE2b-256 b83603732305b0beb38ce278c9cf6faed8ed1caf5e6be6544eb4a1d93eab1b4f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.1-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ef39f9907d5fb9e32bec885f75d5619ab5b6a965dd30d0b4e97b726fa8863eb7
MD5 18a499a168e66b2cbc9b0b7877042e92
BLAKE2b-256 e3fc9676f88f294de7b30e2463709cefa1eac289409ed554d220334ee68bd8b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.1-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0e54fec977215bc992dab4539648bc5d6b335fc47ee7c2190b8f62433b49bd30
MD5 7f8030c80c5b2a1281abaa246512f055
BLAKE2b-256 e575a006c3fc0a06e89f05b6123d4f3b2bf16a5a82d56471217400487cf684ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.1-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 4d1ef68cada619b5755163c712691b23ae2459a6cd274ea30229ad32ae174881
MD5 c52b5b607bd5291477709334de0c7e47
BLAKE2b-256 7b958df2526d24b6055d4ed45768a54c4338adea696678e7aabf8d9ff69b9585

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.1-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 6a678cc6ddb3f95ae10439b67ce2a67253b56880c1e2ce8754986fd23def9edb
MD5 6b0195d02014e6917b2fb1d354a50fde
BLAKE2b-256 7184460e7a79aec29f3f6c29dc657c9f693613ec66015feceab7d91cdb38be57

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.1-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c6164d18abd12041dc753b95521729d418ffb32a712bf9e979f46ef4ec39e209
MD5 67de2e2bfdb08bbdd6714bb959829192
BLAKE2b-256 e658126031b3161c62d07a67ca36f29771cfa83ddafe1822d3179ed284805a12

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.1-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 67f03ccb3eda6b51421223b6c60f56e9f44dc901a8ee9e1948dea98b82f946bd
MD5 5773037fc53416160c04a82adb646a22
BLAKE2b-256 2092507ad3f3a1d817f0130d26f01449662c10122e27211ce59d8d3503b4deee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.1-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 08082972501887a0a34f46b4d7aef6a30f35574dba805ad6de48a93a5e9e6a58
MD5 7c061d26e1301bb5332b3915ccf79684
BLAKE2b-256 eaddda15601c283fd7e0e113c52e4345d5209f9a28e41e1bc6fcab2540f65a10

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.1-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ed3ba782372df02f581b13adead42d5c8ff8bca9a96b70744c1bd2d51c682ae4
MD5 69f678a23b16818261f13624669a5302
BLAKE2b-256 3d62b0568a7f146d06811f6da13920843b85ae7f8c6f2edca37fdebdfbb36e8e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 76e4277a2f12a59cec1114f5a4985df907eb67e014aef53f790fe29ab2cb2158
MD5 980f9ce728aab4407f2decde4227cb6c
BLAKE2b-256 f015001418a1c525a88d4ad14eec308f7c12d7b9f9d8a45f69d51f74333b22df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 c2f38fe73aa4501957a6972ee8c8f96c159f8ac475296cebd32bed97efa96fc5
MD5 13d65469ce4b0866daa7aee2f816729b
BLAKE2b-256 0f7c4c94d2137e6c4443b19f64ff71de5e7168658e206fc18149bb288dd345a0

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