Skip to main content

A lightning-fast CLI for inspecting CSVs and datasets in the terminal.

Project description

Peek ⚡

Python Engine Status

Stop spinning up Jupyter just to check a CSV.

Peek is a blazing fast CLI for data inspection. It is built for developers who live in SSH sessions, hate waiting for heavy IDEs to load, and need to sanity-check a 5GB dataset now.


🚀 The Features

  • ⚡ Zero-RAM Overhead: Powered by Polars LazyFrames (Rust). Scan multi-gigabyte files instantly without crashing your terminal.
  • 🧠 Heuristic Intelligence: Automatically detects critical issues like high null rates, constant columns, and potential primary keys.
  • 📊 ASCII Visuals: Render Histograms and Scatter plots directly in the CLI.

🛠️ Usage

1. View Data

Instantly peek at the head or tail of your dataset.

# View top 10 rows
peek view data.csv

# View the last 5 rows
peek view data.csv --tail --rows 5

2. Health Check (describe)

Get a comprehensive health report with smart warnings (missing data, constants, unique counts).

peek describe data.csv

Output includes: Missing value %, Type inference, and automated quality warnings.

3. Visualizations (plot)

Visualize distributions and correlations without leaving the terminal.

Histogram / Bar Chart (Single Column)

peek plot data.csv --col category

Scatter Plot (Two Columns)

peek plot data.csv --col price --y-col rating --title "Price vs Rating"

🏗️ Tech Stack

  • Polars: The high-performance Rust-based DataFrame engine.
  • Typer: For building the robust CLI interface.
  • Rich: For beautiful tables, panels, and terminal formatting.
  • Plotext: For rendering graphs directly in the terminal.
  • UV: Blazing fast Python package management.

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

peek_cli-0.1.0.tar.gz (17.5 kB view details)

Uploaded Source

Built Distribution

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

peek_cli-0.1.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file peek_cli-0.1.0.tar.gz.

File metadata

  • Download URL: peek_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","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 peek_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1987b36b3a4c9c2501e6e3452cec61361ea9d7ac4bfc2d4a37faa1ddbe0575d9
MD5 a241de51a23cfedcc9f8ec7a9cfe1cba
BLAKE2b-256 e668a5a7b7844fc753981b68cbe51127651521eba0fa9d9ddce80ba13bf785dd

See more details on using hashes here.

File details

Details for the file peek_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: peek_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","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 peek_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 12b35c3c839cf5ad456dcd09e6323ed03219011c340bb108b6cd5dac6b6ebe95
MD5 c5d4bda47819a6a9c214d965092c4165
BLAKE2b-256 f2b4b5dfff37f675c82fef4499637742644455319de5f9798c47837b8bde46e3

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