Xorq provides command-line tools for building, running, serving, and cataloging your data and ML pipelines.
Commands
Project setup
init |
Scaffold a new Xorq project from a template. |
completion |
Print a shell-completion script to stdout. |
install-completion |
Install the shell-completion script to the standard location. |
Build
build |
Compile a Xorq expression into a reusable build artifact. |
uv build |
Build an expression inside a uv-managed isolated environment. |
Run
run |
Execute a build artifact and write results in your chosen format. |
uv run |
Execute a build inside a uv-managed isolated environment. |
run-cached |
Run a build with a parquet cache wrapping the expression. |
uv run-cached |
Run a build with a parquet cache inside a uv-managed environment. |
run-unbound |
Run an unbound expression by streaming Arrow IPC input. |
uv run-unbound |
Run an unbound expression over Arrow IPC inside a uv-managed environment. |
Serve
serve-flight-udxf |
Serve an expression’s UDXF nodes as an Arrow Flight endpoint. |
serve-unbound |
Serve an unbound expression as an Arrow Flight endpoint. |
Catalog
Manage Xorq build-artifact catalogs.
A catalog is a versioned store of named, sharable, executable expressions: a git repository with an optional object-store backed annex for content. Group options select which catalog a subcommand targets and precede the subcommand name (for example, xorq catalog -n analytics info).
-n, --name |
none |
Catalog name (mutually exclusive with –path). |
-p, --path |
none |
Catalog repo path (mutually exclusive with –name). |
-u, --url |
none |
Remote repo URL to clone. |
-r, --root-repo |
none |
Repo root to add this catalog to as a submodule. |
--init / --no-init |
auto |
Initialize the repo. |
Composition and execution
catalog compose |
Compose entries into a new expression and persist it to the catalog. |
catalog run |
Compose and execute catalog entries, writing data to disk or stdout. |
catalog run-cached |
Compose and execute catalog entries with a parquet cache wrapper. |
catalog serve-unbound |
Resolve a catalog entry, unbind a node, and serve it via Flight. |