johnkerl / miller

Miller is like awk, sed, cut, join, and sort for name-indexed data such as CSV, TSV, and tabular JSON
https://miller.readthedocs.io
Other
9.02k stars 217 forks source link
command-line command-line-tools csv csv-format data-cleaning data-processing data-reduction data-regression devops devops-tools json json-data miller statistical-analysis statistics streaming-algorithms streaming-data tabular-data tsv unix-toolkit

What is Miller?

Miller is like awk, sed, cut, join, and sort for data formats such as CSV, TSV, JSON, JSON Lines, and positionally-indexed.

What can Miller do for me?

With Miller, you get to use named fields without needing to count positional indices, using familiar formats such as CSV, TSV, JSON, JSON Lines, and positionally-indexed. Then, on the fly, you can add new fields which are functions of existing fields, drop fields, sort, aggregate statistically, pretty-print, and more.

cover-art

In the above image you can see how Miller embraces the common themes of key-value-pair data in a variety of data formats.

Getting started

More documentation links

Installing

There's a good chance you can get Miller pre-built for your system:

Ubuntu Ubuntu 16.04 LTS Fedora Debian Gentoo

Pro-Linux Arch Linux

NetBSD FreeBSD

Anaconda Homebrew/MacOSX MacPorts/MacOSX Chocolatey WinGet

OS Installation command
Linux yum install miller
apt-get install miller
Mac brew install miller
port install miller
Windows choco install miller
winget install Miller.Miller

See also README-versions.md for a full list of package versions. Note that long-term-support (LtS) releases will likely be on older versions.

See also building from source.

Community

GitHub stars Homebrew downloads Conda downloads

All Contributors

Build status

Multi-platform build status CodeQL status Codespell status

Building from source

For developers

License

License: BSD2

Features

What people are saying about Miller

Contributors ✨

Thanks to all the fine people who help make Miller better (emoji key):


Andrea Borruso

πŸ€” 🎨

Shaun Jackman

πŸ€”

Fred Trotter

πŸ€” 🎨

komosa

πŸ€”

jungle-boogie

πŸ€”

Thomas Klausner

πŸš‡

Stephen Kitt

πŸ“¦

Leah Neukirchen

πŸ€”

Luigi Baldoni

πŸ“¦

Hiroaki Yutani

πŸ€”

Daniel M. Drucker

πŸ€”

Nikos Alexandris

πŸ€”

kundeng

πŸ“¦

Victor Sergienko

πŸ“¦

Adrian Ho

🎨

zachp

πŸ“¦

David Selassie

πŸ€”

Joel Parker Henderson

πŸ€”

Michel Ace

πŸ€”

Matus Goljer

πŸ€”

Richard Patel

πŸ“¦

Jakub Podlaha

🎨

Miodrag Milić

πŸ“¦

Derek Mahar

πŸ€”

spmundi

πŸ€”

Peter KΓΆrner

πŸ›‘οΈ

rubyFeedback

πŸ€”

rbolsius

πŸ“¦

awildturtok

πŸ€”

agguser

πŸ€”

jganong

πŸ€”

Fulvio Scapin

πŸ€”

Jordan Torbiak

πŸ€”

Andreas Weber

πŸ€”

vapniks

πŸ“¦

Zombo

πŸ“¦

Brian Fulton-Howard

πŸ“¦

ChCyrill

πŸ€”

Jauder Ho

πŸ’»

PaweΕ‚ Sacawa

πŸ›

schragge

πŸ“–

Jordi

πŸ“– πŸ€”

This project follows the all-contributors specification. Contributions of any kind are welcome!