Skip to main content

quai

Interactive Quarb — a session REPL where every line becomes a reusable query.

pip install quai
quai data.json

quai opens a session over one or more sources and holds it. Each line you run is labelled &1, &2, … — and every label is a reusable macro: not the printed value, but the query that produced it, ready to continue through the pipe. It is the notebook loop, cell by cell, except a cell is a path into your data.

&1  /teams/*/members/*
    /teams/0/members/0  ⋮  (every member, across all teams, one path)
&2  &1 | [/langs/*:: = 'Go'] | /name::
    ada
    eu
&3  &1 @| count
    6
  • &N re-runs line N; continue with a pipe (&N | /key::, &N | [pred], &N @| count).
  • &N# replays line N's output frozen, as it was when it ran.
  • def &x: … ; adds a named fragment; :history, :reset, :help, :quit are the commands.

The engine rides in on the quarb dependency, so quai reaches every local source quarb does — JSON, YAML, TOML, CSV, XML, HTML, Markdown, SQLite, kaiv, the filesystem, git, archives, XLSX, and source code — and several at once mount under one root for cross-source <=> joins.

Try it in the browser at demo.quarb.org/quai.html (no install), and read the graph cookbook for the recipes.

License

Licensed under either of Apache License, Version 2.0 or the MIT license at your option.

Metadata

Release files for quai 0.50.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 quai 0.50.0
File Size Uploaded Provenance Actions
quai-0.50.0.tar.gz 5.4 kB With provenance Details for quai-0.50.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for quai 0.50.0
File Interpreter ABI Platform Actions
quai-0.50.0-py3-none-any.whl Python 3 none any Details for quai-0.50.0-py3-none-any.whl

Total release size: 12.0 kB

Release files / quai-0.50.0.tar.gz

Download URL quai-0.50.0.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
6773c9bea2a0e6cedad3bdc37b2d6f452bb4f9a4acb6b522b802527c03fe0493
BLAKE2b-256 checksum
How to use checksums
3b4925cdb79f508c8a7e0d4da1419e49ebbe06f12043014a06978b4e68e73e24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 4, 2026.

Transparency log

Release files / quai-0.50.0-py3-none-any.whl

Download URL quai-0.50.0-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
613650b88f792f66fb1b4f13bb1576f58e8382fe0da3d5422478bed57f303cf4
BLAKE2b-256 checksum
How to use checksums
fa038c2befb7ed4520bbcd684832a3ccf33c373a52b8b88855510bbc25fd25de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 4, 2026.

Transparency log

Security for quai 0.50.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 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for quai-0.50.0.tar.gz

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 Nov 4, 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.

Release history Release notifications | RSS feed

This release

0.50.0 This release

2 release files Full provenance

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