Skip to main content

peQL (Python)

Query data through parcel contracts: every table is a contract, and each caller gets what the contract allows. Python bindings for the peQL engine.

pip install maturin && maturin develop --release   # from bindings/python
import peql
import pyarrow as pa

engine = peql.Engine.open("./workspace")
engine.register(open("orders.yaml").read(), schema=orders.schema)  # a parcel contract
engine.write("sales/orders", orders)                               # a pyarrow Table
engine.publish("sales/orders", "globex")

table = engine.query(
    'SELECT region, COUNT(*) AS n FROM "sales/orders" GROUP BY region',
    peql.Caller("user:bob", "analytics", "globex"),
)
table, envelope = engine.query_with_envelope(sql, caller)   # what the contract did

A query the contract refuses raises peql.Refused. engine.validate(name) returns the verdict; engine.describe(name, caller) the columns a caller would see; engine.register_bundle(json) registers a bundle from parcel compile -o.

Release files for peql 0.4.0

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

Source distribution (sdist)

Source distribution for peql 0.4.0
File Size Uploaded
peql-0.4.0.tar.gz 917.6 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for peql 0.4.0
File
peql-0.4.0-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details
peql-0.4.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 abi3 Linux glibc 2.17+ x86-64 Details
peql-0.4.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.9 abi3 Linux glibc 2.17+ ARM64 Details
peql-0.4.0-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details
peql-0.4.0-cp39-abi3-macosx_10_12_x86_64.whl CPython 3.9 abi3 macOS 10.12+ x86-64 Details

Total release size: 274.6 MB

Release files / peql-0.4.0.tar.gz

Download URL peql-0.4.0.tar.gz
Size 917.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6c452dae224335136a3e7ee2224e42ff45dad6cfca7ffa4aa660d0b329c49b54
BLAKE2b-256 checksum
How to use checksums
3686321201cec0b263d5fa03b8ba9cdab0dae13dea02b26b9450025e6db05e05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Sep 25, 2026.

Transparency log

Release files / peql-0.4.0-cp39-abi3-win_amd64.whl

Download URL peql-0.4.0-cp39-abi3-win_amd64.whl
Size 51.4 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
37ba9de9cdfa233f6e5bba88300a0b1db0e735c4bb196bbea5985c1620ab5fe5
BLAKE2b-256 checksum
How to use checksums
42746a252df9427fc347cb9f5434d39962f78eb661bf585f81eb8c8228810151
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Sep 25, 2026.

Transparency log

Release files / peql-0.4.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL peql-0.4.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 57.6 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
9ceecd1b40ec6ca70259312228e81ad78bd43b5420f3473d234c60f0837ddd0a
BLAKE2b-256 checksum
How to use checksums
b5a626a8d6f7959991f7293c1d7888eb46f3e945678f0fd15bcd12c85bd154f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Sep 25, 2026.

Transparency log

Release files / peql-0.4.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL peql-0.4.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 59.4 MB
Tags CPython 3.9 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
741fee0269d7e4689586a8e2afac64f64bfa19132ee10ee0a6415baec7425906
BLAKE2b-256 checksum
How to use checksums
4b3b895aa2ef43daed75395907215ec7d950f261a464d963d95b53b07bf222c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Sep 25, 2026.

Transparency log

Release files / peql-0.4.0-cp39-abi3-macosx_11_0_arm64.whl

Download URL peql-0.4.0-cp39-abi3-macosx_11_0_arm64.whl
Size 51.3 MB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
a3f77922deea2eb386c3b8ccae8ecf3719e7cf75d7da3ba07f9f037119aa2370
BLAKE2b-256 checksum
How to use checksums
4a07e57b0c48d87b82b3b6dfea79057edf202fa4fd89008b6622243046c1b785
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Sep 25, 2026.

Transparency log

Release files / peql-0.4.0-cp39-abi3-macosx_10_12_x86_64.whl

Download URL peql-0.4.0-cp39-abi3-macosx_10_12_x86_64.whl
Size 53.9 MB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
bd27760ecc177fc03571f0cbb65bf7efd962e354c22622007ca18c11addaf90f
BLAKE2b-256 checksum
How to use checksums
2bcf8076b1dd1b7875ac460690f79e81e43fcfa42a635aa7e4aa2d9eb79875b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Sep 25, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.4.0 This release

6 release files

0.3.0

4 release files

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