Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Quarry 2

A native database workbench: one reusable Rust kernel, CLI, browser GUI and MCP. PostgreSQL, MySQL, SQLite, Redis and experimental Neptune; explicit query/write policies, SSH tunnels, saved queries, local Docker services and a SQL assistant.

Install

Version 2.0 is the native Rust stable release.

curl -fsSL https://yiminspace.github.io/quarry/install.sh | sh
qy --version
qy gui

Or download a native archive and SHA256SUMS from GitHub Releases. The native executable needs neither Python nor a Rust toolchain. Supported: macOS/Linux arm64/x86_64; Linux glibc 2.28+. See install and upgrade.

Or use pip (the same native executable):

pip install --upgrade --only-binary=:all: quarry-db==2.0.0

Use

qy --workspace /path/to/workspace connections
qy --workspace /path/to/workspace exec shop --env dev --sql 'SELECT 1'
qy --workspace /path/to/workspace mcp

Workspaces contain connections.toml and reusable SQL query files. Actual credentials remain local. GUI queries stay read-only; CLI writes require --write and production confirmation. MCP writes require both server and request authorization. SQLite opens existing files; it never invents a database when a connection path is wrong. Assistant proposals never execute themselves.

Ordinary queries use native database drivers. SSH needs system ssh; Local services need Docker, and PostgreSQL schema sync needs pg_dump/psql.

Rust and Python

Rust owns main and all 2.x distribution. quarry-core, quarry-runtime, quarry-local, quarry-assistant and quarry-service can be embedded directly in host applications. Architecture.

For a hosted workbench, the official Docker image serves the GUI, authentication, read-only API and execution from one configuration file. Use a built-in administrator or configure an existing platform's IAM; YiminLab consumes the same image. ylab automatically connects and saves personal records to computer SQLite. Standalone qy needs neither the hosted service nor platform sign-in. See the hosting guide for deployment, access grants and offline behavior. The Rust SDK remains available for advanced embedding.

Python 1.11.0 is preserved at its tag and the protected archive/python-1.x branch. Python import APIs do not ship in 2.x. The Python source retained in this checkout is a development/test baseline, not a runtime dependency or published Python implementation. Existing configuration, saved queries and histories are read by Rust. See upgrade instructions before changing installer ownership.

Build and verify

cd web && npm ci && npm run build && cd ..
cargo build --release --locked -p quarry-cli
cargo test --workspace --all-targets --locked

GUI feature matrix · Compatibility · Verification boundaries · 中文

Metadata

Release files for quarry-db 2.0.1rc2

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

Built distributions (wheels)

Table of built distributions (wheels) for quarry-db 2.0.1rc2
File Actions
quarry_db-2.0.1rc2-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details for quarry_db-2.0.1rc2-py3-none-manylinux_2_28_x86_64.whl
quarry_db-2.0.1rc2-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details for quarry_db-2.0.1rc2-py3-none-manylinux_2_28_aarch64.whl
quarry_db-2.0.1rc2-py3-none-macosx_11_0_x86_64.whl Python 3 none macOS 11.0+ x86-64 Details for quarry_db-2.0.1rc2-py3-none-macosx_11_0_x86_64.whl
quarry_db-2.0.1rc2-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for quarry_db-2.0.1rc2-py3-none-macosx_11_0_arm64.whl

Total release size: 63.1 MB

Release files / quarry_db-2.0.1rc2-py3-none-manylinux_2_28_x86_64.whl

Download URL quarry_db-2.0.1rc2-py3-none-manylinux_2_28_x86_64.whl
Size 16.1 MB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
f39ca9efe538bee1970685693147d2462f610fbc581dd7e69b84d67e1a45d095
BLAKE2b-256 checksum
How to use checksums
c3e7a46c7429e8b1e3de0204530c055ed7102f7a4d905d8fcc091e4b1c5db3a7
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 5, 2026.

Transparency log

Release files / quarry_db-2.0.1rc2-py3-none-manylinux_2_28_aarch64.whl

Download URL quarry_db-2.0.1rc2-py3-none-manylinux_2_28_aarch64.whl
Size 15.7 MB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
41ec738289195869e554f341a8a2acdd0d9f5e626b008243fa5838b10662ccd2
BLAKE2b-256 checksum
How to use checksums
c5a658324d4c30365925ccd84a00fe0bba8f1d1f557eb9c366636d547b6a0991
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 5, 2026.

Transparency log

Release files / quarry_db-2.0.1rc2-py3-none-macosx_11_0_x86_64.whl

Download URL quarry_db-2.0.1rc2-py3-none-macosx_11_0_x86_64.whl
Size 15.8 MB
Tags Python 3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
926e8a47f2ab5cbece20c0fc76c38bfb9b4b873d2eeaed992a4e74b32c3daa6a
BLAKE2b-256 checksum
How to use checksums
681441c60e0435a3e3137a174430417afbfef67c735dead1ac264aaf8d3a25da
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 5, 2026.

Transparency log

Release files / quarry_db-2.0.1rc2-py3-none-macosx_11_0_arm64.whl

Download URL quarry_db-2.0.1rc2-py3-none-macosx_11_0_arm64.whl
Size 15.4 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
c3fbf5e91c042bd9385ff01e87cde85442af5738b14a498e4d51e248bff50864
BLAKE2b-256 checksum
How to use checksums
d42b31026d7350e66eba343ce5f6200c0439f8a1d7c395ae7ee2c06625290050
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 5, 2026.

Transparency log

Security for quarry-db 2.0.1rc2

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 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for quarry_db-2.0.1rc2-py3-none-manylinux_2_28_x86_64.whl

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 5, 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
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