Skip to main content

csvstat-py

A lightweight command-line CSV data profiling tool built with Python.

csvstat-py is a simple command-line tool for quickly analyzing CSV files and understanding the structure and basic statistics of a dataset.

Features

  • Detects numeric, date, and text columns
  • Counts missing values
  • Calculates missing-value percentages
  • Calculates minimum, mean, and maximum for numeric columns
  • Displays the most frequent values in text columns
  • Supports configurable top-N values
  • Simple command-line interface
  • Unit tested using pytest

Installation

Install csvstat-py directly from PyPI:

pip install csvstat-py

Usage

Run csvstat with a CSV file:

csvstat sample.csv

Top N Values

Display a specific number of frequent values:

csvstat sample.csv --top 3

Command Options

usage: csvstat [-h] [--top TOP] file
  • file — Path to the CSV file
  • --top TOP — Number of frequent values to display
  • -h, --help — Show help information

Requirements

  • Python 3.10 or higher

Testing

The project uses pytest for unit testing.

Run:

pytest

Package Information

  • Package: csvstat-py
  • Command: csvstat
  • Version: 0.1.4
  • License: MIT

PyPI

https://pypi.org/project/csvstat-py/

Source Code

https://github.com/palak200526/csvStat

License

This project is licensed under the MIT License.

Release files for csvstat-py 0.1.4

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

Source distribution (sdist)

Source distribution for csvstat-py 0.1.4
File Size Uploaded
csvstat_py-0.1.4.tar.gz 6.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for csvstat-py 0.1.4
File Interpreter ABI Platform
csvstat_py-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 11.0 kB

Release files / csvstat_py-0.1.4.tar.gz

Download URL csvstat_py-0.1.4.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
7e4f16232b01926406a6ba39c7913a03efa821a5bd2e4a68b120c0348c5f1966
BLAKE2b-256 checksum
How to use checksums
43d5554f5c6b8901b4dd090eb9d6af50e826c25b16870adc578cc6678c681876
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.12

Release files / csvstat_py-0.1.4-py3-none-any.whl

Download URL csvstat_py-0.1.4-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cd7464b8ddef654dbab0ece94fc6d8b2c0ac9cdf384b5e2d7f59270d6bea78fb
BLAKE2b-256 checksum
How to use checksums
d946828704a53824e3d586362651d7e4f911614c8aef96ebd3560ebd92c324ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.0

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