Skip to main content

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:// and https:// URLs ending in .csv, .tsv, .parquet, or .pq.
  • Downloads to <app-user-dir>/downloads/<filename> by default.
  • Use --download-dir /your/path to override the download location.
  • If local download target already exists, prints warning and exits (no overwrite by default). Use --overwrite to 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).

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.

Autocomplete behavior:

  • Completions auto-open from engine context for SQL clauses and helper command arguments (for example SELECT and /top ).
  • Up/Down navigates the completion menu whenever it is visible.
  • Tab accepts the selected completion when the menu is visible; otherwise it inserts editor indentation.
  • Esc closes the completion menu.
  • Ctrl+Space opens completion mode explicitly.

Known limitations

  • Python 3.12 and below are not supported.
  • Remote downloads only support .csv, .tsv, .parquet, .pq.

Links

Project details


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.3.0.tar.gz (31.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sqlexplore-0.3.0-py3-none-any.whl (31.4 kB view details)

Uploaded Python 3

File details

Details for the file sqlexplore-0.3.0.tar.gz.

File metadata

  • Download URL: sqlexplore-0.3.0.tar.gz
  • Upload date:
  • Size: 31.8 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

Hashes for sqlexplore-0.3.0.tar.gz
Algorithm Hash digest
SHA256 885864d03fa2f2664488efe91aa943e8900a005d2ab928c54bc9f0e37bb36bc3
MD5 b0d6d398aa56dc9588fe58edb473644b
BLAKE2b-256 f9ed96e4a41e5b9f44bc5fed3d033d9e80b338b14068cd932621ba59f6afb858

See more details on using hashes here.

File details

Details for the file sqlexplore-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: sqlexplore-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 31.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

Hashes for sqlexplore-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 999cd9bbd6af82ebe33209370fb2f5cbaeb5f80092838b0717e87647eb7660b7
MD5 2fbf3f2625a3378a9568c3ce289ca3c1
BLAKE2b-256 5ac1ebaf6e56f54f70f52be9e62bd4fab4d688831aad935c167037688c455162

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page