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

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

Total release size: 211.2 MB

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

Download URL leanelpi-0.3.3-py3-none-manylinux_2_35_x86_64.whl
Size 57.7 MB
Tags Linux glibc 2.35+ x86-64 Python 3
SHA-256 checksum
How to use checksums
495d77d8503c71ef0a13b1aadcdbf1378adf23d34f1790bd221102bc465423f9
BLAKE2b-256 checksum
How to use checksums
3e143be25bbcdbe62f22c6153b0804b3efec6a25109f2e3090cedf4e13192865
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 16, 2026.

Transparency log

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

Download URL leanelpi-0.3.3-py3-none-manylinux_2_35_aarch64.whl
Size 59.7 MB
Tags Linux glibc 2.35+ ARM64 Python 3
SHA-256 checksum
How to use checksums
3210c9f744f7273d6ed9acb25b01e57112726aa1333287c07b490d18c195015b
BLAKE2b-256 checksum
How to use checksums
745d40a7ba45cb11f21495d0f095711350cfc70cebb28ea8469417f2d5383083
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 16, 2026.

Transparency log

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

Download URL leanelpi-0.3.3-py3-none-macosx_11_0_x86_64.whl
Size 49.0 MB
Tags Python 3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
cf42d2e0e8291ff31df39ffae72bd2af6ff1b05d3554ef1db2984e619aaf280d
BLAKE2b-256 checksum
How to use checksums
dd2100f8fc1ad20e2e1f8646fab95e9fee7a3392997d05fc8e4d24a3639fa25d
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 16, 2026.

Transparency log

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

Download URL leanelpi-0.3.3-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
e02ca8039016e7de2654b358f16452817a4a427f7c96bf35727345342f808103
BLAKE2b-256 checksum
How to use checksums
013e88d07a7f00c1f65dce95a646247e50d44429ea6d0a5dc52a8aa01671842b
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 16, 2026.

Transparency log

Security for leanelpi 0.3.3

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.3-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 16, 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