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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc2.tar.gz
Algorithm Hash digest
SHA256 2d229bc13ca2e627d08fed747422b268340231a0821dd4825553fe45beffbf7e
MD5 d18589785afa8e304fec8afd7adda99d
BLAKE2b-256 54f2000203d17b9bdb777ad9e61b438ce726a50b85e1f15e8c697a3e467e59ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc2-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2ac464128a97fc23e6f8b445bb0278e7d642e5d06fb146860c8c0ea98c36d646
MD5 121d29e7a6d3a7d1ca69a930d0fdafd2
BLAKE2b-256 e62b86988a9644cf4156141e33c03f10394ec30518bc5bc1e866d11ca56e94ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc2-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 222d3dc893fff9a45415a94c1461d4cbcdaf907db675e3f10d55c7cd26ff40a4
MD5 38789b784251b147a2c0c833fe57e445
BLAKE2b-256 c9d283cf5194ed2dc3db52c10fda48342f9e53db56edca8ede2dcf2adc392530

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc2-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1300f9e156637ba1adb813047239323a7f27ad15096f01445b5820b640f736a9
MD5 46e58a731cbbd6df714c6572906c5a43
BLAKE2b-256 cf0c1afc0f370c25c6675f1ab6a301d1f3efe684ef165083f94dda39ce2bc45c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc2-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5dcb89fc7fdf60845509bb4df525ce0e59609c636658fde7146c812c495f82f3
MD5 8aedc10ccd50a217ad09771d3056e31f
BLAKE2b-256 7f6b2d680b3be632b63c0d91f22144af213bdb074b107b62f4e911f251b0cee6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc2-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d5794399af7e661c1ed209397fd47b0d6f62ca2227938848d544e4017047a335
MD5 063c0f4d291291e1bb89b0ca9cbc07fe
BLAKE2b-256 b7109066713bea0b897edf55c75afc7d20e1bdbf960488cd36cbf8a854447c19

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc2-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 1f1558ebe660c0d53f62ae03cf5ddeb102bab8b10cbc9f6d89de2e00aea1553b
MD5 2ef917103a20aa256196fe1fdcd93a06
BLAKE2b-256 93e6a1b28ddfa820735745b0e87b6135f8c36cdb492eaae243871b047e097613

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc2-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6207965c2ad08f565857a9cedfabb26731cf9d4f22e94710cf166ab4effa4241
MD5 bb092b8fd86f80d9558c88d557df748c
BLAKE2b-256 7c4b7b4ce217f899343657bc8804c51144b2658dbe0a8856802f1be84a1b04ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc2-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 d9096a346586a19c854d029ff1f02ff5f163b5bb57e00e854b025b1e3aea3c1c
MD5 b4cbe781a29f8e2b735263be647f0a4e
BLAKE2b-256 61c78e8abf0e4169da6bbf5ac36d693121b6e5d6fa3dae9ec6f99d748401fab2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc2-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 90fd6f216ce14464b92176fe29527f5e09e159fa1aeeb4ab449a50ba94193b8a
MD5 ed04cd50e3d71ce6490129d21f86c5f5
BLAKE2b-256 97cc5f9593b87c369913abf5926b69a49fe4a71bb9ff7e707203eae62dbfc229

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc2-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 2cbf2adec1eacb493ce833a8930ccf2b5ec80adc695ea5122718e75619d30bd2
MD5 44197cf61ea2ead9a0841782bef140e3
BLAKE2b-256 c98dc00fdd49ef47df95a2daa37aaea85d8a99810abd602488a9e6fbeb854306

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc2-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7ca2bfd7892c2934f7e3a56c9d7c5eb13acc7af63196c64432919a83e589bdf4
MD5 ba2428f80575c462ff540bcdbbfc4573
BLAKE2b-256 8d400ca233e9685a32e0cbef229351ac118bed77516400e687b339600e5ac376

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc2-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 42a5d2015391e775e8a75acb14273c62d90951cf9ba0420aee7d3d34b123fc6f
MD5 9164d0232a8977f4ae9a262b9a5e3a08
BLAKE2b-256 aad0791183a11984ad17690ec9b7a2b2e9cab9174e28e077e32f11407af123e3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc2-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c66f053ce694adc48817d455867f5b52f6949bdba709654daa3f5803cd5a17c0
MD5 b19bfdc307640eb672e262d588dd09ea
BLAKE2b-256 c728f79ebbd2b6eb1c02e9396e0e1262bdea73b14593226bf6c50c05ec0960a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc2-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 e0dde9456769eefcbdcd28c73c15cfd6838170f866b4de5b2d7f806aaeab01e0
MD5 73536d46605a5df8b606b6fa4ef67bbd
BLAKE2b-256 505865163754d5dd8d2771e56a06a38369034b2bad4ca90d0617ca5aedef8d84

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 dfd062f081ac82cbb75029502f6f75448e19a0b5cff4a922255053b788a173fb
MD5 571e8747244b17a0e6fef8e8a5b1cd47
BLAKE2b-256 bfe4bce41328ec1e6768fee9012837ccaf2f5c32e336c735253347604bc537e0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc2-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 99709ad33edff23a6ca95e368ff8446aaf12bc22a43acfc61ae7cdf4d0978ade
MD5 545bdaecacd61b431a6434996301b1e3
BLAKE2b-256 fe8914e0c114bfee0140bab9a98016067ca755ab2b01eb129d72ab82c8b78007

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc2-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0227e0b82f27a3108cf29736a37802fff4ba0b02d73f9066ba1a5b119dc6ee55
MD5 579c9d384b2b1a19dc8586bea48b6a36
BLAKE2b-256 6fe2ddd5c2a05227396948c208822ad432b121e4ab1ad285c6442b2f1ea2e4f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.5rc2-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d5f69c98684db99cbb834c4e3a51f22932b147d3d80495d4d8cf883790111544
MD5 49ab6416ccbe354a99bd42078e566f96
BLAKE2b-256 e4642ac6dd284319d47201af87d89f9ba58c7acfe9a840584d59f1087b0302eb

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