Skip to main content

leanelpi (Python)

Run ELPI (λProlog) programs on the LeanElpi engine from Python. Needs libleanelpi; build it with scripts/build-ffi.sh and point LEANELPI_LIB at it, or leave it in dist/.

from leanelpi import Program

p = Program("pred n o:int.\nn 1.\nn 2.")
[s["X"] for s in p.solve("n X")]   # ['1', '2']

See the guide.

Metadata

Release files for leanelpi 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for leanelpi 0.3.1
File Actions
leanelpi-0.3.1-py3-none-manylinux_2_35_x86_64.whl Python 3 none Linux glibc 2.35+ x86-64 Details for leanelpi-0.3.1-py3-none-manylinux_2_35_x86_64.whl
leanelpi-0.3.1-py3-none-manylinux_2_35_aarch64.whl Python 3 none Linux glibc 2.35+ ARM64 Details for leanelpi-0.3.1-py3-none-manylinux_2_35_aarch64.whl
leanelpi-0.3.1-py3-none-macosx_11_0_x86_64.whl Python 3 none macOS 11.0+ x86-64 Details for leanelpi-0.3.1-py3-none-macosx_11_0_x86_64.whl
leanelpi-0.3.1-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for leanelpi-0.3.1-py3-none-macosx_11_0_arm64.whl

Total release size: 210.8 MB

Release files / leanelpi-0.3.1-py3-none-manylinux_2_35_x86_64.whl

Download URL leanelpi-0.3.1-py3-none-manylinux_2_35_x86_64.whl
Size 57.6 MB
Tags Linux glibc 2.35+ x86-64 Python 3
SHA-256 checksum
How to use checksums
270a094e97f9b61302d5952544be29a1db0f10e66155d499c3fa7ad388f29c12
BLAKE2b-256 checksum
How to use checksums
ffc1775a854651337b22e8e3af79cc9e9c74ee1d0345e2695ebb7885545e731e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.

Transparency log

Release files / leanelpi-0.3.1-py3-none-manylinux_2_35_aarch64.whl

Download URL leanelpi-0.3.1-py3-none-manylinux_2_35_aarch64.whl
Size 59.6 MB
Tags Linux glibc 2.35+ ARM64 Python 3
SHA-256 checksum
How to use checksums
f90eb6f3a441c0d4488bba1adeca10cda575cc11a0963bbe66e1ee5fdd4933b1
BLAKE2b-256 checksum
How to use checksums
caa05a3b0bcfaefa4c0a24ad7636f0e3a953571efa02a4d4f64c7b5a20a39a0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.

Transparency log

Release files / leanelpi-0.3.1-py3-none-macosx_11_0_x86_64.whl

Download URL leanelpi-0.3.1-py3-none-macosx_11_0_x86_64.whl
Size 48.9 MB
Tags Python 3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
7730195651e6a8628cc22cee8172994fd7e95b5c0985d9f2e3e0b0aa581d47ab
BLAKE2b-256 checksum
How to use checksums
0e51e3c495e9d6ddbb6012aa01ab4ccd0f8bce13139ebbff51a4dc5bd7d5292a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.

Transparency log

Release files / leanelpi-0.3.1-py3-none-macosx_11_0_arm64.whl

Download URL leanelpi-0.3.1-py3-none-macosx_11_0_arm64.whl
Size 44.8 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
39f09c3ed2ede3e278a5cc6217a1234f478529e7cd9a1b7ab71f8284479f6ec0
BLAKE2b-256 checksum
How to use checksums
6370d0ff5315c0fe354e2bd88c242062db98260752e3aa44ffa6936f06494ae1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.

Transparency log

Security for leanelpi 0.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for leanelpi-0.3.1-py3-none-manylinux_2_35_x86_64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page