csvex - CSV Explorer CLI
by Tomas Gonzalez
A simple CLI tool for exploring CSV files, built by Tomas Gonzalez.
Installation
# Create virtual environment
python3 -m venv .venv
source .venv/bin/activate
pip install pandas
# Run
.venv/bin/python csvex.py <file> [command]
Or make it executable and add to PATH:
chmod +x csvex.py
ln -s $(pwd)/csvex.py /usr/local/bin/csvex
Usage
# Preview (default shows first 10 rows)
csvex data.csv
csvex data.csv head -n 20
# Filter rows
csvex data.csv filter age > 30
csvex data.csv filter city == "New York"
csvex data.csv filter name contains "John"
# Select columns
csvex data.csv select name email
csvex data.csv select name,age,salary
# Statistics
csvex data.csv stats
# Unique values
csvex data.csv unique country
Commands
| Command | Description |
|---|---|
head [-n N] |
Display first N rows (default: 10) |
filter <col> <op> <val> |
Filter by column value |
select <cols...> |
Select specific columns |
stats |
Show statistics for numeric columns |
unique <col> |
List unique values in a column |
Filter Operators
- Comparison:
==,!=,>,<,>=,<= - String:
contains,startswith,endswith
Metadata
Release files for csvex 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| csvex-1.0.0.tar.gz | 3.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| csvex-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.3 kB
Release files / csvex-1.0.0.tar.gz
| Download URL | csvex-1.0.0.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4187dde2a56909f94cde959f26536c2dd0212895cb4f7ed08352363f6579404b
|
|
BLAKE2b-256 checksum How to use checksums |
875cbf5d2204439465c21e01bc21bd23ab80a9ae8dc556c02c5cd115068696ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.0
|
Release files / csvex-1.0.0-py3-none-any.whl
| Download URL | csvex-1.0.0-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
90f19e5277784800f42aac646321d0683e20a6550890b8c5fb7c15b1e80ae51c
|
|
BLAKE2b-256 checksum How to use checksums |
c5947f73d6fe62d644397efdfa99778ed8cc33f3b1fbb2dffe0f11b1f2504df1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.0
|
Security for csvex 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.