Skip to main content
dripgrep logo

dripgrep

ripgrep-class search for structured data — dripping with speed. Wring schema and value matches out of Parquet, Arrow, DuckDB, SQLite, Excel, and text streams in milliseconds.

Apache Parquet Apache Arrow / Feather DuckDB SQLite Excel (.xlsx) CSV / TSV JSONL / JSON Gzip Streams and many more

AI-Native Development MIT License

Installation

Python (uvx / pip, no Rust toolchain required)

# Run directly without installing
uvx dripgrep "email" ./testdata

# Or install globally
uv tool install dripgrep
# or: pip install dripgrep

Cargo / Rust

# Install from crates.io (includes bundled DuckDB, SQLite, Parquet, Arrow, Excel, CSV/JSONL)
cargo install dripgrep

# Or download a prebuilt binary from GitHub Releases via cargo-binstall
cargo binstall dripgrep

# Lightweight pure-Rust build (skips compiling bundled libduckdb C++)
cargo install dripgrep --no-default-features

From GitHub / Local Source

Requires a Rust toolchain (rustup / cargo, MSRV 1.89, edition 2024).

# Install directly from GitHub
cargo install --git https://github.com/jonasfoe/dripgrep

# Or install from a local clone
git clone https://github.com/jonasfoe/dripgrep.git
cd dripgrep
cargo install --path .

To try it out without installing:

cargo run --release -- --help
cargo run --release -- "email" ./testdata

Current Scope

  • Formats: Apache Parquet (.parquet), Apache Arrow IPC (.arrow, .arrows, .ipc, .feather), DuckDB (.duckdb, .ddb, magic-sniffed .db), SQLite (.sqlite, .sqlite3, magic-sniffed .db with ?mode=ro&immutable=1 busy fallback), Excel (.xlsx multi-sheet workbooks), streaming CSV/TSV (.csv, .tsv, .csv.gz, .tsv.gz), streaming JSONL/NDJSON (.jsonl, .ndjson, .jsonl.gz, .ndjson.gz), and opt-in JSON (.json, .json.gz, off by default — enable with -t json) including multi-member / BGZF .gz streams.
  • Search targets: Schema column and nested Struct/JSON object field names (field_path), file/container metadata (key/value, plus SQLite/DuckDB table names and .xlsx sheet names), UTF-8 text values (Utf8, LargeUtf8, Utf8View, Dictionary, SQLite/DuckDB TEXT/VARCHAR, DuckDB VARIANT text/object/array values, Excel strings) top-level and inside nested Parquet/Arrow (Struct, List, LargeList, FixedSizeList, ListView, Map) or nested JSONL structures, opt-in non-text scalar pattern scanning (--all-types for numbers, booleans, dates, and scalar VARIANT), plus typed COLUMN_GLOB:VALUE predicates (--where, supporting integers, floats, booleans, SQLite 0/1 bools, VARIANT, and strings without brittle CSV type inference)
  • Regex engine: Full Rust regex syntax, plus --ignore-case, --smart-case, and --fixed-strings
  • Concurrency & scheduling: Streaming parallel directory traversal (ignore::WalkBuilder::build_parallel), a flat LPT (largest-file-first) priority work queue across fixed worker threads (-j / --threads, default auto; -j 1 for deterministic sequential order), shared ArrowReaderMetadata Parquet row-group fan-out, EngineBudget concurrency permits for upcoming heavy engines, and prompt cancellation / BrokenPipe propagation
  • Defaults: Searches schema, metadata, and text values together; does not respect .gitignore by default (use --respect-gitignore to opt in); use --no-text to skip uncompressed .csv/.tsv/.jsonl/.json files while keeping binary formats and .gz streams, or -t/-T (--type-list) to filter formats

Usage

# Search schema and text values in the current directory
dripgrep "email"

# Case-insensitive regex search on a specific directory using 4 threads
dripgrep -j 4 -i "germany|france" ./testdata

# Restrict search to specific columns (values only)
dripgrep --values-only -c email -c notes "berlin" ./testdata

# Schema-only search (decodes Parquet metadata without scanning row data)
dripgrep --schema-only "first_name" ./testdata

# Metadata-only search (Parquet/Arrow key-value metadata, no row scan)
dripgrep --metadata-only "author" ./testdata

# Typed column:value trace across mixed types (skips files lacking matching columns)
dripgrep --where "user_id*:1000" ./testdata

# Repeatable --where predicates (ANDed on the same row)
dripgrep --where "user_id*:1000" --where "status:failed" ./testdata

# Skip uncompressed CSV/TSV/JSONL (keep Parquet, Arrow, and .csv.gz/.tsv.gz/.jsonl.gz)
dripgrep --no-text "email" ./testdata

# Also regex/literal-search non-text scalar columns (numbers, booleans, dates, scalar VARIANT)
dripgrep --all-types "^36$" ./testdata

# Inspect supported formats or filter by format type (-t / -T)
dripgrep --type-list
dripgrep -t parquet -t json "berlin" ./testdata
dripgrep -T csv "berlin" ./testdata

# Streaming NDJSON output capped at 5 matches per file
dripgrep --json -m 5 "gmail" ./testdata

Example Output

Terminal (default when stdout is a TTY, or force with --heading):

data/users.parquet
  [schema] email (Utf8)
  2:email: bob+email@berlin.de
  41:notes: Contact via email

Piped / bash-friendly (default when stdout is piped, or force with --no-heading):

Every line is self-contained (with no blank separator lines and newlines escaped) so standard tools like grep, awk, cut, and wc -l work directly:

data/users.parquet:[schema]:email (Utf8)
data/users.parquet:2:email: bob+email@berlin.de
data/users.parquet:41:notes: Contact via email

Streaming NDJSON (--json):

Each file emits a begin frame, zero or more match frames (kind: "schema" or kind: "value"), and an end summary frame (or a non-fatal warning frame if an individual file fails to parse):

{"type":"begin","path":"data/users.parquet","format":"parquet"}
{"type":"match","path":"data/users.parquet","table":null,"kind":"schema","column":"email","data_type":"Utf8","spans":[{"start":0,"end":5}]}
{"type":"match","path":"data/users.parquet","table":null,"kind":"value","row":2,"column":"email","value":"bob+email@berlin.de","spans":[{"start":4,"end":9}]}
{"type":"end","path":"data/users.parquet","stats":{"schema_matches":1,"value_matches":1,"rows_scanned":1000,"columns_scanned":2}}

Options & Exit Codes

Flag Description
-i, --ignore-case Case-insensitive matching
-S, --smart-case Case-insensitive unless pattern has uppercase characters
-F, --fixed-strings Treat pattern as a literal string
--schema-only Search column/nested field names only (skip cell values and metadata)
--values-only Search text cell values only (skip schema and metadata)
--metadata-only Search file/container metadata entries only (skip schema and values)
--where <COL:VALUE> Typed COLUMN_GLOB:VALUE predicate (repeatable, ANDed per row; skips PATTERN)
-c, --column <NAME> Restrict search to column NAME (repeatable)
-m, --max-count <N> Stop searching a file after N matches
--heading Group matches under file paths (default on a TTY)
--no-heading Prefix every match line with its file path (default when piped)
--json Emit streaming NDJSON events
--respect-gitignore Respect .gitignore / .ignore rules (disabled by default)
--no-text Skip uncompressed plain-text formats (.csv, .tsv, .jsonl, .json), keeping binary and .gz files
--all-types Also pattern-search non-text scalar values (numbers, booleans, dates, scalar VARIANT)
-t, --type <TYPE> Search only files matching TYPE (repeatable; e.g. -t parquet, -t json)
-T, --type-not <TYPE> Exclude files matching TYPE (repeatable; e.g. -T csv)
--type-list Print all supported format types and extensions (combine with --json for machine output)
-j, --threads <NUM> Worker thread count (0 = auto, 1 = sequential)

Exit codes (matching ripgrep):

  • 0: One or more matches found (or clean exit on BrokenPipe, e.g. dripgrep ... | head)
  • 1: No matches found
  • 2: Invalid arguments/pattern or fatal I/O error

VS Code / VSCodium Extensions (Drip Ecosystem)

Use dripgrep directly inside VS Code, VSCodium, or Cursor with the companion extensions (code --install-extension dripgrep.<id>):

Project Role Links
dripgrep CLI (this package) Fast Rust CLI & Python (uvx dripgrep) search engine GitHub
DripGrep Ctrl+Shift+F-style Data Search sidebar powered by dripgrep (dripgrep.dripgrep) VS Code Marketplace · Open VSX · GitHub
DripView DuckDB, Parquet, Arrow, SQLite, Excel & CSV/TSV viewer + @dripview AI (dripgrep.dripview) VS Code Marketplace · Open VSX · GitHub
DripDB Optional MySQL & PostgreSQL connection provider for DripGrep & DripView (dripgrep.dripdb) VS Code Marketplace · Open VSX · GitHub

Planned Backlog

  • Additional formats: data-lake/Hadoop containers (Apache ORC .orc via orc-rust, Apache Avro .avro) and bioinformatics/scientific containers (noodles/oxbow, zarrs, hdf5)
  • Opt-in --binary-as-utf8 flag for raw Binary columns
  • Parquet micro-optimizations (row-group min/max stats pruning, dictionary-page scanning)

AI-Native Development

This project is built using an AI-native workflow: AI coding agents write a large share of the implementation, while architecture, design decisions, review, and automated verification are human-directed. Every change is still expected to meet normal engineering standards — clean architecture, strict typing, tests, and real verification against actual data files.

Contributions: AI-assisted PRs and issues are explicitly welcome (see CONTRIBUTING.md). The bar is the same regardless of how the code was written: keep changes focused, make sure tests and checks pass, and be able to explain and stand behind what you submit.

If you prefer software developed strictly without AI assistance, this probably isn't the project for you — no hard feelings.

Acknowledgments & Licenses

dripgrep stands on the shoulders of these open-source projects:

  • ripgrep (Andrew Gallant / BurntSushi) — CLI ergonomics, exit codes, streaming --json event model, and direct reuse of ignore, globset, and csv.
  • Apache Arrow® & Apache Parquet® (arrow-rs) — Native columnar, IPC/Feather, and Parquet readers (Apache-2.0).
  • DuckDB (duckdb-rs) — Read-only embedded DuckDB database scanning (MIT).
  • SQLite (rusqlite) — Read-only SQLite scanning (MIT / Public Domain).
  • calamine — Pure-Rust Excel .xlsx reader (MIT).

Licensed under the MIT License. See THIRD_PARTY_NOTICES.md for upstream attributions and Apache Arrow NOTICE notices.

Metadata

Release files for dripgrep 0.1.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 dripgrep 0.1.0
File Size Uploaded Provenance Actions
dripgrep-0.1.0.tar.gz 89.5 kB With provenance Details for dripgrep-0.1.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for dripgrep 0.1.0
File Actions
dripgrep-0.1.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for dripgrep-0.1.0-py3-none-win_amd64.whl
dripgrep-0.1.0-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details for dripgrep-0.1.0-py3-none-manylinux_2_28_x86_64.whl
dripgrep-0.1.0-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details for dripgrep-0.1.0-py3-none-manylinux_2_28_aarch64.whl
dripgrep-0.1.0-py3-none-macosx_11_0_x86_64.whl Python 3 none macOS 11.0+ x86-64 Details for dripgrep-0.1.0-py3-none-macosx_11_0_x86_64.whl
dripgrep-0.1.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for dripgrep-0.1.0-py3-none-macosx_11_0_arm64.whl

Total release size: 108.5 MB

Release files / dripgrep-0.1.0.tar.gz

Download URL dripgrep-0.1.0.tar.gz
Size 89.5 kB
Tags Source
SHA-256 checksum
How to use checksums
aaffb7b0099b4ebfdef9172877d75a26df2daeb80a25c1eb81f115068a5a25fc
BLAKE2b-256 checksum
How to use checksums
70cd2ddcdca1407e9bf3b114ed78ab7a46e5dcd8b2da04e1c04a1fb00bc52637
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 Dec 1, 2026.

Transparency log

Release files / dripgrep-0.1.0-py3-none-win_amd64.whl

Download URL dripgrep-0.1.0-py3-none-win_amd64.whl
Size 18.9 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
16443dc9f56886e159e7605f12e7d102fa7912a7dfc16285dc4e3facbb52fe67
BLAKE2b-256 checksum
How to use checksums
64df044f893bf7209a237c742b21ab5d6d2bd4182a19a6aa95a2003af5cbc9eb
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 Dec 1, 2026.

Transparency log

Release files / dripgrep-0.1.0-py3-none-manylinux_2_28_x86_64.whl

Download URL dripgrep-0.1.0-py3-none-manylinux_2_28_x86_64.whl
Size 24.5 MB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
011eb4554abe5bb92800c5d3687cb71aabc00fbd0846d771453d378c27f8647c
BLAKE2b-256 checksum
How to use checksums
095427a5db76e76c99882d1f23753a95178b6df679eccd3fa73d3f54685dd62e
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 Dec 1, 2026.

Transparency log

Release files / dripgrep-0.1.0-py3-none-manylinux_2_28_aarch64.whl

Download URL dripgrep-0.1.0-py3-none-manylinux_2_28_aarch64.whl
Size 22.3 MB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
cc729746681c4576b0526d681ae15faa0f06d27a16b615f5d9c4fee8cc3b73d6
BLAKE2b-256 checksum
How to use checksums
00d296826745a6cfc4d64a64901b65ab7112f4da526b6018efb5feba4cc02f0d
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 Dec 1, 2026.

Transparency log

Release files / dripgrep-0.1.0-py3-none-macosx_11_0_x86_64.whl

Download URL dripgrep-0.1.0-py3-none-macosx_11_0_x86_64.whl
Size 22.4 MB
Tags Python 3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
7e69ce5bd018d5790c1686f208a40ad1da8a4cf86817c7e708fd1182253acd7c
BLAKE2b-256 checksum
How to use checksums
679210560d5deacdf41b773aa877cf4d7e3fb8215ba179412f3e7505ab3043cc
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 Dec 1, 2026.

Transparency log

Release files / dripgrep-0.1.0-py3-none-macosx_11_0_arm64.whl

Download URL dripgrep-0.1.0-py3-none-macosx_11_0_arm64.whl
Size 20.4 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
651c4bb318d114ef03e81415262f7febba94e922f3ddca1663685590729fdb39
BLAKE2b-256 checksum
How to use checksums
7078d9284394afbb6c0492ecf9f7be62d2b37448ded779fd39b5471ee2dd5297
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 Dec 1, 2026.

Transparency log

Security for dripgrep 0.1.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 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for dripgrep-0.1.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 Dec 1, 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.1.0 This release

6 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