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.

Metadata

Release files for peql 0.4.1

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.1
File Size Uploaded
peql-0.4.1.tar.gz 945.6 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for peql 0.4.1
File
peql-0.4.1-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ x86-64 Details
peql-0.4.1-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ ARM64 Details
peql-0.4.1-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details
peql-0.4.1-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.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.9 abi3 Linux glibc 2.17+ ARM64 Details
peql-0.4.1-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details
peql-0.4.1-cp39-abi3-macosx_10_12_x86_64.whl CPython 3.9 abi3 macOS 10.12+ x86-64 Details

Total release size: 395.5 MB

Release files / peql-0.4.1.tar.gz

Download URL peql-0.4.1.tar.gz
Size 945.6 kB
Tags Source
SHA-256 checksum
How to use checksums
41a2965d2386c7e3dbaa9e893a78a241318772dab0e809d792625c48dfc2de3f
BLAKE2b-256 checksum
How to use checksums
8ebf0efc01a704ebb9da8aeed17320ff78ca9bb54d01959db483732784486fa3
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 29, 2026.

Transparency log

Release files / peql-0.4.1-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL peql-0.4.1-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 58.2 MB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
89a87d799ee98d9a90e71d3910c652b11962a884e0fc79e39d948395d22dd2bc
BLAKE2b-256 checksum
How to use checksums
72332daede3c21c48602826e9934301e51e97b241a2c129a125fdc0227b28138
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 29, 2026.

Transparency log

Release files / peql-0.4.1-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL peql-0.4.1-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 60.0 MB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
940ea7f2b1c58e4f8978f704ace26129faf5e3a0a1a2b300804d1e220d0aaab5
BLAKE2b-256 checksum
How to use checksums
2a967e39d1ba0e3ca7902f33ddefcc62a0186ba06f87b13cd21f2753e76f0373
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 29, 2026.

Transparency log

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

Download URL peql-0.4.1-cp39-abi3-win_amd64.whl
Size 51.9 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
3058215f08edcf4b0df49bff3a2432fce8eaff884293693b5ef6c099d9bb3e71
BLAKE2b-256 checksum
How to use checksums
6118cf6393ae2849ac850e5ba0acc5f4b47bb06a5457a37f0748073a23c16b3b
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 29, 2026.

Transparency log

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

Download URL peql-0.4.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 58.2 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
81f06b54f4d4da13fca3239c02455b0eb981fc271b4dddbf1b547faf2d109820
BLAKE2b-256 checksum
How to use checksums
cf25c41c65bc2a4672d407824c4bf58d182408f49a004ba814be3d8d4b651968
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 29, 2026.

Transparency log

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

Download URL peql-0.4.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 60.0 MB
Tags CPython 3.9 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
1330157949ed1acf09ef4cac83ad48e76188360d50346855af9d0bcc146022fd
BLAKE2b-256 checksum
How to use checksums
a491567ed42f06bcebb2ed449858b2a5c6177bfb95f95c4741079fc80262face
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 29, 2026.

Transparency log

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

Download URL peql-0.4.1-cp39-abi3-macosx_11_0_arm64.whl
Size 51.9 MB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
cc6a9d3fb0c4c8e42d6adf69eb0f69b3da0440e1407758bbf13be8f1e44de80d
BLAKE2b-256 checksum
How to use checksums
c78bd1611ebd4fb2b163600a6222450f7bbbbae54ea0b11c62e505b2bfeb0ce7
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 29, 2026.

Transparency log

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

Download URL peql-0.4.1-cp39-abi3-macosx_10_12_x86_64.whl
Size 54.4 MB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
cfb75d79143e09bd8fd909a99754e8fc38a9d1ca94d139d84f0c3b88b75cc2f4
BLAKE2b-256 checksum
How to use checksums
13ffa0e7c9319baa2f5158eb23000dfe172952ad25005a5cd1a133ff1b8a6d35
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 29, 2026.

Transparency log

Release history Release notifications | RSS feed

0.4.2

8 release files

This release

0.4.1 This release

8 release files

0.4.0

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