Dataset CLI Tool
A powerful command-line tool for dataset operations — filter, transform, validate, and migrate data across CSV, JSON, Excel, and databases with simple commands.
Features
- Filter — Filter dataset rows based on conditions (equals, contains, greater than, etc.)
- Transform — Apply transformations to columns (rename, map values, type conversion)
- Validate — Validate data against rules and schemas
- Migrate — Migrate data between formats (CSV ↔ JSON ↔ Excel ↔ Database)
- Container — Merge, split, and combine datasets
Installation
pip install dataset-cli-tool
Usage
cli-tool --help
Filter Command
Filter rows based on conditions:
cli-tool filter input.csv --column age --gt 18 --output filtered.csv
Transform Command
Transform columns:
cli-tool transform input.csv --rename "name:full_name" --output transformed.csv
Validate Command
Validate data:
cli-tool validate input.csv --rules rules.json
Migrate Command
Convert between formats:
cli-tool migrate input.csv --to json --output data.json
Container Command
Merge multiple datasets:
cli-tool container merge file1.csv file2.csv --output merged.csv
Supported Formats
- CSV
- JSON
- Excel (.xlsx, .xls)
- Database (SQLite, PostgreSQL, MySQL)
Requirements
- Python 3.10+
- pandas
- openpyxl
- typer
License
MIT
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dataset_cli_tool-0.1.1.tar.gz
(12.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dataset_cli_tool-0.1.1.tar.gz.
File metadata
- Download URL: dataset_cli_tool-0.1.1.tar.gz
- Upload date:
- Size: 12.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73d347899d2b69c938067087ed4481f611d80228867b587467ecc4baaa467db9
|
|
| MD5 |
4d73db64d3ccbd0cb1d54577ace1dd5e
|
|
| BLAKE2b-256 |
75105a29c2623850759f024796e002603ad0c647a76b60cbda4921fa0f4b0bd1
|
File details
Details for the file dataset_cli_tool-0.1.1-py3-none-any.whl.
File metadata
- Download URL: dataset_cli_tool-0.1.1-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7beafe9f2bb8ab5ed257977b947c128c785d26f62f13931de566d203f6618f1c
|
|
| MD5 |
8d263b58a46195d1d9c071377739ed1d
|
|
| BLAKE2b-256 |
20127f49dd04b17ae35a0c385aefc548da06c4387c326779a5aaaa8c2f8ea2e1
|