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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_latte_4ti2-10.8.3-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.3-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.3-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.3-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.3-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.3-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.3-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.3-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.3-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.3-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.3-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.3-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.3.tar.gz.

File metadata

  • Download URL: passagemath_latte_4ti2-10.8.3.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.3.tar.gz
Algorithm Hash digest
SHA256 d187cee5bdb03e5318a215310518c638581787e257aa5453bd83b55c9761caf8
MD5 8fc40c91257fbe86122b716a0dfa62da
BLAKE2b-256 de498d5a419ff1cbbb0f41c2fa6ee3d7bde25629d99f1d0885ae2e0593fcc4d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b69763aab8958b7e4d7d6063eb45f05ad9d202bbd8c53d989a46a5dc4dcb51ee
MD5 a81e3a245ce218ecf679dd71f86d65b0
BLAKE2b-256 4d387fcc182e1dbd8add91c80f9019d2a5b5be4dc5466922cab4fe512b38f04e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 1f2759e85a044cd0637200d516776981a526ff55b520ea868b1ff6eafdef7c09
MD5 602d628330999b0c84912eb1484928f9
BLAKE2b-256 f845120fb0bf1c76bf44ee7ba6622912836a723e30ac2d94316beee7d809bb2b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ca16a041bd318245631958fec2920938cc48867f94da02610dfa5dce43d740fc
MD5 7271853aadd23a72263c7c7c0aad57cd
BLAKE2b-256 70eb08982da68b9de1e209135b2987336222a93cb10c9932bfe77272219fce0c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8216bc5b2e1e545cd216f4e8385aea8a319ab9a40c861c5911a7857f2ffebda3
MD5 092b0e1aa26dccdd07b12fb103ae6a17
BLAKE2b-256 5619751bf146ffd0a42c18f0433c4cf0cb32f007dc4dcad3264a50ed7744dcae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 54ff0ed65564db3ee309e23297391bac800c83252d864e16ec05af0bf72c4717
MD5 aaf3164090cab69c9d8b13f03a981911
BLAKE2b-256 670d2cd34985b426715e93d02ecc3055735e81267423093a20328f9a5a3194fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0bcd4facd741540d8e599f16c3356349c2a83a5f8e0002b7b32bfc4b4343bd1a
MD5 6c404aa6e240be08900ee38a53ef28c0
BLAKE2b-256 ea7f17bb865c87065752945317ca5e99f136da09e9e3829f77c3dc28a4f85eb6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a69a61a2b48d83f37879451cc10d6820ee62bc041f8ba90a386f64b3128b9074
MD5 e76864c092544b07a6120989f098f93f
BLAKE2b-256 5c9bc229802093de32ec49841da500bf5555507df7e36713eb9503145bf7d4b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 ca6d730ad5ab90758c09bfff111ad013696f14999c64eb3ce12fe961083907b0
MD5 ff8870d23ebb12ae460ae179db7db045
BLAKE2b-256 6fc83edbb7a9a46868a00913ec94247db12ed972cd15cf6400019fd5e53f7b31

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 49927658afa69cfe4450ca7507b87bbcada5ce2bd3ab1f65d0e59daa62501349
MD5 12ec34b40b2afd52ac0eb157fe056c19
BLAKE2b-256 fa5923b5371a95a630a08b939498bd31a52d54fa6ca286e68d22e6d32d5a53d0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e5688bcc7a7d712a2fabad056824b9a89317e715a3cb917d65a213af5dbb5e24
MD5 384bc3fc614d9db1d7e7b2a0e6954c71
BLAKE2b-256 a89efbbd680e2205b026f3b0767fd1361a8ba0f095ee0c36e5f015efae162105

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 93fb710d3f771600fbdc711224351f82e08a71f1b68f1ded213fc881cfc01bd8
MD5 2a40302a60798e5037b12c2dcdd6d3ab
BLAKE2b-256 a6d3fc9ff2a4aa1cc59f671befc90b2e5c5e89335b0cabd97dd56a75fc8c4c32

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 dcc997485e01f2856535449f7950b93c98811573e681b770523b5c491fd91dde
MD5 bbf2a4f94b373849a0350403bbd176d1
BLAKE2b-256 ec73f35dac6533458878aebd0306e5403a3143e202d76a040f99484deabde119

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4a42770c9ff3c56f3685520d8c84a0bd79994f70b274e2874a0dd44a823d0524
MD5 6a078bb738f15338750af4d68501a031
BLAKE2b-256 114777e67b54b2fbfb608cb4264a280f60a8b9b4bd6dfd5b94b8ef6f7dc9125d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 d29bcdf89a89d7588217bc8597156148f5225da5dbcf3256f3cf1aeea0b8f657
MD5 1accdae4fd7a780370a9e12a47693b66
BLAKE2b-256 4fe82590af5413ef2a73a249714e375b41d9b4fd050d6617dfd39a5d39bd0afb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c25419178bafadab3d8297c02a784a88d120d5283c990422bad0da2a3e2a9596
MD5 3f81ff7a0020fa82c71ce4c1828d00c1
BLAKE2b-256 eed755bd5326290575a304b215a1eb2fe6ca2e4611803011b05394d3fb7388ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e945173240bc8818c3d25265d7b00995b18449549a2b9658d3d87417edd61f2b
MD5 efa84d575ba38632291914ab169f512f
BLAKE2b-256 a15f0bdb8dae2f4f3caecbf35d84802eeb35f7a84fa293c11ffeeca3709b54c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b2a1914ef0adc7eb96f2cbe0f128032147c3c94488fe02f1cbbe388b7b4bb41b
MD5 500edca7bc79607e228976bb27c4bffb
BLAKE2b-256 1e09bba71d2d87078b4b9ca97367466b7aafe53ba2976ace0ae7bc7f4976d83f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.8.3-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 18cb7ba41a31c59cfdf2801c68e51499ce59efd78ea350d970c167dc17118c8f
MD5 5c333df63f60bc921c2f6adf0ed64ecc
BLAKE2b-256 64d9fe5688679bfb03127490aeb926c51394b5649db23e5e1d362f70ccaad846

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