Skip to main content

TidyPeek

TidyPeek is a lightweight CLI tool for quick CSV sanity checks.

It helps you inspect a dataset's structure, missing values, duplicates, likely identifier columns, and basic actionable insights - all from the terminal.


Features

  • View total rows and columns
  • Inspect column names and data types
  • Check missing values per column
  • Detect exact duplicate rows
  • Detect likely identifier columns
  • Check duplicate values in likely ID Columns
  • Check duplicate email values in email-like columns
  • Generate simple insights based on data quality issues

Installation

pip install tidypeek

🚀 Usage

Run with FilePath

tidypeek path/to/file.csv

Example:

tidypeek "/home/user/Datasets/UFC Fighters/UFCFighters.csv"

Run without a file path:

tidypeek

⚠️ Note

If your filepath consists of spaces, wrap it up in quotes:

tidypeek "/path/to/My Dataset/data.csv"

🧠 What it does

TidyPeek performs a quick analysis of your dataset and highlights:

  • Missing values
  • Duplicate rows
  • Potential identifier columns
  • Data inconsistencies

It then generates simple insights to help guide cleaning and analysis.


📊 Example Output

=== GENERAL CHECKS ===
Total Columns: 18
Total Rows: 4111

=== IDENTIFIER CHECKS ===
Likely ID columns:
 - name (Uniqueness: 99.85%, Missing: 0.00%)

Duplicate ID counts:
 - name: 6 duplicates

=== INSIGHTS ===
1. 4 columns have high missing values
2. 12 columns have low uniqueness
3. Column 'name' likely acts as an identifier but has duplicates

🎯 Use Cases

  • Quick dataset inspection
  • Data cleaning workflows
  • Learning data analysis basics
  • Pre-analysis sanity checks

📌 Current Scope

tidypeek focuses on lightweight inspection, not full data cleaning or transformation.


🤝 Contributing

Feel free to fork the repo and open a pull request.


📄 License MIT

Metadata

Release files for tidypeek 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tidypeek 0.1.1
File Size Uploaded
tidypeek-0.1.1.tar.gz 4.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tidypeek 0.1.1
File Interpreter ABI Platform
tidypeek-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 9.5 kB

Release files / tidypeek-0.1.1.tar.gz

Download URL tidypeek-0.1.1.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a247867063bd34df7d0d080fc2f038779e021c5364fb9ac4d47a8f2b113c5fd7
BLAKE2b-256 checksum
How to use checksums
6ae9cbce3bb0a8cdfcf9055f8758ea2ff3ddac592475d965eadc5fbf6d39c61b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / tidypeek-0.1.1-py3-none-any.whl

Download URL tidypeek-0.1.1-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3c0cf4a5cc8e7d0e80161ae577d92bf4faf5544de262296608f5db3e2e7fc2ae
BLAKE2b-256 checksum
How to use checksums
ff8c1161f4afae778b8a2e7f066151b5107df97a7829cca7b69882ef6e276573
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page