Command-line tools for working with CSV
csvkit is a suite of command-line tools for converting to and working with CSV. It provides the following commands:
Input:
in2csv
: Convert various formats to CSV.
sql2csv
: Execute SQL commands on a database and return the data as CSV.
Processing:
csvclean
: Remove common syntax errors.
csvcut
: Filter and truncate CSV files.
csvgrep
: Filter tabular data to only those rows where certain columns contain a given value or match a regular expression.
csvjoin
: Merges two or more CSV tables together using a method analogous to SQL JOIN operation.
csvsort
: Sort CSV files.
csvstack
: Stack up the rows from multiple CSV files, optionally adding a grouping value to each row.
Output and analysis:
csvformat
: Convert a CSV file to a custom output format.
csvjson
: Converts a CSV file into JSON or GeoJSON.
csvlook
: Renders a CSV to the command line in a Markdown-compatible, fixed-width format.
csvpy
: Loads a CSV file into a agate.csv.Reader
object and then drops into a Python shell so the user can inspect the data however they see fit.
csvsql
: Generate SQL statements for a CSV file or execute those statements directly on a database.
csvstat
: Prints descriptive statistics for all columns in a CSV file.
System | Target | Derivation | Build status |
---|---|---|---|
x86_64-linux | /gnu/store/wybzklxgixxqafsc8nay07b7pvgb001c-csvkit-1.0.5.drv | ||
riscv64-linux | /gnu/store/j6d5rlwyv254pwzb1zsk0m78zrmaf0vm-csvkit-1.0.5.drv | ||
powerpc-linux | /gnu/store/0hlwvp2054i5p9j0ql04gglk3l6jwdrb-csvkit-1.0.5.drv | ||
powerpc64le-linux | /gnu/store/26qmq73jrm4cnlhfcdljvr4nkggzw6al-csvkit-1.0.5.drv | ||
mips64el-linux | /gnu/store/67qpcqnw2zar9fadnnjnr9q918azjhv2-csvkit-1.0.5.drv | ||
i686-linux | /gnu/store/vpf9sw8829l3s16ramb91gx4cnsy7laa-csvkit-1.0.5.drv | ||
i586-gnu | /gnu/store/yp0lqj56x1pz7kiw4my2p72zlh3b4c8a-csvkit-1.0.5.drv | ||
armhf-linux | /gnu/store/r5d2fb1299h9diyrvpmyil3w4pj50ci0-csvkit-1.0.5.drv | ||
aarch64-linux | /gnu/store/f7k93hyyq4lcfyhhh882vi7s2amxzg3b-csvkit-1.0.5.drv |
Linter | Message | Location |
---|---|---|
No lint warnings ✓ |