https://github.com/danielm/dcsv
Simple cli app to print/fetch data from CSV files
https://github.com/danielm/dcsv
cli csv data-science rust
Last synced: about 1 year ago
JSON representation
Simple cli app to print/fetch data from CSV files
- Host: GitHub
- URL: https://github.com/danielm/dcsv
- Owner: danielm
- License: gpl-3.0
- Created: 2022-08-21T23:56:42.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-25T19:00:03.000Z (over 3 years ago)
- Last Synced: 2025-01-28T02:22:31.054Z (about 1 year ago)
- Topics: cli, csv, data-science, rust
- Language: Rust
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DCSV
Simple CSV utility to fetch/print data from CSV files and perform some really odd operations.
## About
I like to experiment with data so I use CSV files alot; I'm also learning Rust => This repo is a combination of both.
For me this simple application is a boilerplate for my real usage, I got alot of commented that I will be adding overtime as I clean it up and learn more about Rust.
## Usage
```
$ dcsv -p path/to/file/.csv -c Name
```
### Options
- `-c, --column `: Column name (as in headers, case-sensitive)
- `-e, --evens`: Print only even rows
- `-l, --line-numbers`: Print line numbers before column value
- `-n, --number `: Number of rows to print
- `-o, --odds`: Print only odd rows
- `-p, --path `: CSV location
- `-s, --seek `: How many rows to seek before print (Zero-indexed)