Skip to main content

A blazing fast CLI tool to inspect Parquet files using Polars.

Project description

pq-peek ๐Ÿฆ†

PyPI Publish Lint CLI Smoke

A blazing fast, memory-efficient CLI tool to inspect large Parquet files directly in the terminal. Built with Polars, Typer, and Rich. Managed via uv.

Install (uv)

uv pip install --system pq-peek

CLI usage

pq-peek schema /path/to/file.parquet
pq-peek head /path/to/file.parquet --n 5
pq-peek stats /path/to/file.parquet

Sample output

                         Preview data.parquet (3 rows)
โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”“
โ”ƒ id โ”ƒ price              โ”ƒ category โ”ƒ is_available โ”ƒ description              โ”ƒ
โ”กโ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ฉ
โ”‚ 0  โ”‚ 16.00485297904456  โ”‚ Clothing โ”‚ False        โ”‚ Product description      โ”‚
โ”‚    โ”‚                    โ”‚          โ”‚              โ”‚ placeholder              โ”‚
โ”‚ 1  โ”‚ 31.286728959372468 โ”‚ Books    โ”‚ True         โ”‚ Product description      โ”‚
โ”‚    โ”‚                    โ”‚          โ”‚              โ”‚ placeholder              โ”‚
โ”‚ 2  โ”‚ 51.69244000425412  โ”‚ Books    โ”‚ False        โ”‚ Product description      โ”‚
โ”‚    โ”‚                    โ”‚          โ”‚              โ”‚ placeholder              โ”‚
โ””โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Module usage

python -m pq_peek schema /path/to/file.parquet

Build and publish (uv)

uv build
uv publish

Publishing notes

CI publishing uses GitHub's Trusted Publisher OIDC. See PUBLISHING.md for the full release steps.

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

pq_peek-0.1.2.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

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

pq_peek-0.1.2-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file pq_peek-0.1.2.tar.gz.

File metadata

  • Download URL: pq_peek-0.1.2.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pq_peek-0.1.2.tar.gz
Algorithm Hash digest
SHA256 e309c09488044ff9fb4f7c8330c712fe8ae3b102ab6c1c6920ea54043e85b919
MD5 72b68523d421a59ea33a96e6d87f2d82
BLAKE2b-256 4b1444f7299cdf72976771967ba158cefe67769ab79c6467f19e9980e19005f0

See more details on using hashes here.

File details

Details for the file pq_peek-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: pq_peek-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pq_peek-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 38dfc02ad9c6568ac0a001a6469de8c0e4b42bdb658281450b3eeddc68cfc1d5
MD5 d84377a5656685d43120d7e2c26ecc98
BLAKE2b-256 ea467b142844860a84a13f3eadda4a884026d0b1f9b0b7dbad031ab1baece1ac

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