An open API service indexing awesome lists of open source software.

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

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)