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

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

Total release size: 210.9 MB

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

Download URL leanelpi-0.3.2-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
7d9bfc79226dbc811468578253311f6598188bfb0fc6f69a198d8045c77aeeac
BLAKE2b-256 checksum
How to use checksums
0d56a8997c45b1ab68de0da7064f5781f18355cec06c2884ed652353e2c066d7
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.2-py3-none-manylinux_2_35_aarch64.whl

Download URL leanelpi-0.3.2-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
603df7a5c351e26ac07a180b9f75243baeb913632a73a0affd8a22a2b7ca3ffe
BLAKE2b-256 checksum
How to use checksums
ad977f799af1d049fb8b9da268f2ef1539e8a5e8e405c869564b8e0473d0fb84
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.2-py3-none-macosx_11_0_x86_64.whl

Download URL leanelpi-0.3.2-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
f639fe252312783c86a39ff203f4a008e2ecc8d2c9888e8c9fec9cabdd285699
BLAKE2b-256 checksum
How to use checksums
db6bb74cf5626c0d676ef95d52fd098b6844f8f405a1b6cf659856d5d87d7ed5
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.2-py3-none-macosx_11_0_arm64.whl

Download URL leanelpi-0.3.2-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
250ca4058be1486e2224cffdc32b16413f137ae064bda261f964c4f96253ad56
BLAKE2b-256 checksum
How to use checksums
92adb736cfb83e59cec3d366d9cbca1a1f70fe04cd48e4ac29aca6c15ad27e4d
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.2

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