Interactive Quarb — a session REPL where every line becomes a reusable query (&1, &2, …)
Project description
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
&Nre-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,:quitare 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 (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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file quai-0.3.0.tar.gz.
File metadata
- Download URL: quai-0.3.0.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc0fe763e6664db81b068da6b9665d57aa917748eec00051a2493ddba185ab0b
|
|
| MD5 |
8d42e0129eb6d8f579357756d1a221cb
|
|
| BLAKE2b-256 |
cd9ee2a7cd30ac0ee5623e04539d5a7c3b3271f48f61ea8c702f7cea1f3bba51
|
Provenance
The following attestation bundles were made for quai-0.3.0.tar.gz:
Publisher:
publish-pypi-quai.yml on deyanovich/quarb-rs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
quai-0.3.0.tar.gz -
Subject digest:
bc0fe763e6664db81b068da6b9665d57aa917748eec00051a2493ddba185ab0b - Sigstore transparency entry: 2203425733
- Sigstore integration time:
-
Permalink:
deyanovich/quarb-rs@5d67b54f72f5e75dbbdf06932007f7f96e8027ab -
Branch / Tag:
refs/tags/quai-py/v0.3.0 - Owner: https://github.com/deyanovich
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi-quai.yml@5d67b54f72f5e75dbbdf06932007f7f96e8027ab -
Trigger Event:
push
-
Statement type:
File details
Details for the file quai-0.3.0-py3-none-any.whl.
File metadata
- Download URL: quai-0.3.0-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f79def63cf3af6f4490a1086484e9be7584a233ec56e2fb4c187df4d9f113827
|
|
| MD5 |
47286821783e19c882f131b581d5e75e
|
|
| BLAKE2b-256 |
eadc38c7aca8ca5da4c30630b94f7b800787ec6b3239edcbe3bf8f113c63ea0b
|
Provenance
The following attestation bundles were made for quai-0.3.0-py3-none-any.whl:
Publisher:
publish-pypi-quai.yml on deyanovich/quarb-rs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
quai-0.3.0-py3-none-any.whl -
Subject digest:
f79def63cf3af6f4490a1086484e9be7584a233ec56e2fb4c187df4d9f113827 - Sigstore transparency entry: 2203425756
- Sigstore integration time:
-
Permalink:
deyanovich/quarb-rs@5d67b54f72f5e75dbbdf06932007f7f96e8027ab -
Branch / Tag:
refs/tags/quai-py/v0.3.0 - Owner: https://github.com/deyanovich
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi-quai.yml@5d67b54f72f5e75dbbdf06932007f7f96e8027ab -
Trigger Event:
push
-
Statement type: