Skip to main content

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

Project description

Peek ⚡

PyPI 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.3.tar.gz (29.1 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.3-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: peek_cli-0.1.3.tar.gz
  • Upload date:
  • Size: 29.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","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.3.tar.gz
Algorithm Hash digest
SHA256 42b61180a601d5ce8ca796d1674b155d777903f5fa378ab3de76ab41a4a46a7d
MD5 8495a32edc36d38b9167027fcf094449
BLAKE2b-256 51cb85f3d94eeb11eb1a4515b357fdb50a8842b8892947fffd823ded9794e868

See more details on using hashes here.

File details

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

File metadata

  • Download URL: peek_cli-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3b4598a99600aaf92d0895df293aeb7987902a2a8cab72547f7c7966bb8c2101
MD5 d2597cc0c589796ab1e383ddada1ae00
BLAKE2b-256 a5ec2cf42919631a99fd938172c832880c9445edb7458d1d27ba9dabed156eb7

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