SQL exploration over data files with your CLI
Project description
sqlexplore
SQL exploration over data files with your CLI
Currently in development (Feb 2026).
Install
Requires Python 3.13+.
pip install sqlexplore
Optional (uv tool install):
uv tool install sqlexplore
Usage
Local file:
sqlexplore ./data/example.parquet
Remote file URL:
sqlexplore https://example.com/data_file.csv
Show version:
sqlexplore --version
Remote URL behavior:
- Supports
http://andhttps://URLs ending in.csv,.tsv,.txt,.parquet, or.pq. - Downloads to
<app-user-dir>/downloads/<filename>by default. - Use
--download-dir /your/pathto override the download location. - If local download target already exists, prints warning and exits (no overwrite by default). Use
--overwriteto replace it. - Logs download details before normal app flow: remote/local path, progress, elapsed time, and file size.
- In TUI mode, the Activity pane shows app version on load, then startup download log lines (if any).
- Activity pane logs executed SQL for startup query runs, manual SQL, and helper/slash-command generated SQL.
Result formatting:
- JSON syntax highlighting is auto-applied for
VARCHAR/text columns when sampled values look like JSON objects/arrays. - Detection samples only a few visible rows (not full columns) to keep rendering fast.
- Highlighting is disabled when query result row count is over
100,000. .txtsources load as one line per row with extra metrics columns:line_number,line_length,line_hash,word_count,mean_word_length,median_word_length,max_word_length,min_word_length.
Autocomplete behavior:
- Completions auto-open from engine context for SQL clauses and helper command arguments (for example
SELECTand/top). Up/Downnavigates the completion menu whenever it is visible.Tabaccepts the selected completion when the menu is visible; otherwise it inserts editor indentation.Esccloses the completion menu.Ctrl+Spaceopens completion mode explicitly.
Known limitations
- Python 3.12 and below are not supported.
- Remote downloads only support
.csv,.tsv,.txt,.parquet,.pq.
Links
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
sqlexplore-0.4.0.tar.gz
(36.6 kB
view details)
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 sqlexplore-0.4.0.tar.gz.
File metadata
- Download URL: sqlexplore-0.4.0.tar.gz
- Upload date:
- Size: 36.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f19aca879bd4c3d89dbde2238f74cf564078a925fde1276de9020d7935d89445
|
|
| MD5 |
b6d5d9d05af10967216a2b1bcf46209b
|
|
| BLAKE2b-256 |
4d35f1e55aa737454d7f5c1a21e74e044cf353a7ad3bfeca5c3c859a792347ed
|
File details
Details for the file sqlexplore-0.4.0-py3-none-any.whl.
File metadata
- Download URL: sqlexplore-0.4.0-py3-none-any.whl
- Upload date:
- Size: 36.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27a395e4673498eda1b1e9c591e18907b33930e7d37040fe4f71092b72acb0db
|
|
| MD5 |
efa851659d4f53c645f4fd86bee512ec
|
|
| BLAKE2b-256 |
039a5dbe2c34d4beaa04ecb57ac3da62306071787c6d4d83cd0fa041e044d6e3
|