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"

4. NLP (sentiment)

Scan a text column to view sentiment distribution (Positive/Neutral/Negative) using VADER.

peek sentiment reviews.csv --col review_text

Output: Average sentiment score and a terminal-based distribution chart.


🏗️ 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.1.tar.gz (29.0 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.1-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: peek_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 29.0 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.1.tar.gz
Algorithm Hash digest
SHA256 aec2631adf1fafd34187fb04406155e120534476e766de99f52ffb79f9a918ee
MD5 60b6ebbbbd1a37d93aa59078c333c6a8
BLAKE2b-256 e1e54c3246c92b1cad5aaa5f75d2f846a3680b70b23ca3f17541880703237cc4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: peek_cli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.9 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 df051156a63fb7d3b38aa6cbb980033279c5b5d9930a7fb483779ea803f9db0a
MD5 963cbc1e8a5283661e652491609e743f
BLAKE2b-256 4451e90415b2d1d03368059096f1bc070319031d75f88ef9da0fd0696d14b83e

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