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.0

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.0
File Actions
leanelpi-0.3.0-py3-none-manylinux_2_35_x86_64.whl Python 3 none Linux glibc 2.35+ x86-64 Details for leanelpi-0.3.0-py3-none-manylinux_2_35_x86_64.whl
leanelpi-0.3.0-py3-none-manylinux_2_35_aarch64.whl Python 3 none Linux glibc 2.35+ ARM64 Details for leanelpi-0.3.0-py3-none-manylinux_2_35_aarch64.whl
leanelpi-0.3.0-py3-none-macosx_11_0_x86_64.whl Python 3 none macOS 11.0+ x86-64 Details for leanelpi-0.3.0-py3-none-macosx_11_0_x86_64.whl
leanelpi-0.3.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for leanelpi-0.3.0-py3-none-macosx_11_0_arm64.whl

Total release size: 210.8 MB

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

Download URL leanelpi-0.3.0-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
0d5f4fa7fdf2a5341a06e265c32d6f08d9033a05f77589d5d86cbb1447c6f759
BLAKE2b-256 checksum
How to use checksums
782a9d5e6a5c7ad6d237304901f9fa8f2a4b1bcc1ebaea82416ca4977b9cdf20
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.0-py3-none-manylinux_2_35_aarch64.whl

Download URL leanelpi-0.3.0-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
b60203bc83f2bf2a55df69f1c748ae3d713003ecbc401b684af55daf0ebd0745
BLAKE2b-256 checksum
How to use checksums
e5ef3f4754174d97337347d0a6ce748e2c837f0201f78bda477c8063e75c33ff
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.0-py3-none-macosx_11_0_x86_64.whl

Download URL leanelpi-0.3.0-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
5d808aef8af6f54b76840937031f0b96d2f0ac1acf59d68d9981361e1c0bd149
BLAKE2b-256 checksum
How to use checksums
60029dac345b6a98ef2513a1940d858d854a8347a1cacae2583d31a27ad1e153
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.0-py3-none-macosx_11_0_arm64.whl

Download URL leanelpi-0.3.0-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
2917c8a025ba07dd25c3a61a5c76a568257ec30f27f57d4f36cb8a68607cb6d4
BLAKE2b-256 checksum
How to use checksums
b651cf9f13901a79844883cb87e3e3328b9e30ceeedf953b323ede89cd8fa290
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.0

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.0-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