csvkit: a console script suite for CSV whose front page is a stub
A suite of utilities for converting to and working with CSV, the king of tabular file formats.
At a glance
- What is it?
- csvkit is a Python distribution of command line tools for CSV work, and its README does almost none of the explaining. The version, the Python floor, the dependency set and 25 example fixtures all live in pyproject.toml and examples/, which is where the actual design decisions become visible.
- Who is it for?
- csvkit suits people who already live in a shell and want named console scripts for the CSV jobs they repeat, and the 25 fixtures plus the manifest give you enough to judge the suite before installing anything. It is a poor fit if you expect the project itself to explain the tools, since the front page stops at badges and links, or if you need spreadsheet and SQL reading pinned to versions you trust, because openpyxl and sqlalchemy carry no floor.
- Can I use it commercially?
- Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Yes. The repository last received commits 13 days ago.
- What is it written in?
- Mainly Python, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 22, 2026, and from our analysis. They are not legal advice.
Star history
- wireservice/csvkit6,419 ★ · +9
| Repository | 2026-09-23 | 2026-11-22 |
|---|---|---|
| wireservice/csvkit | 6.4k | 6.4k |
9 Stars in the last 60 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
The README is six badges and five links, with no command to copy
The README is short enough to read in one breath, and it holds no installation command, no usage example and no list of the tools. What it does hold is six badge directives pointing at the GitHub Actions build status, the codecov coverage graph, and four shields.io badges for PyPI: monthly downloads, version, license and supported Python versions. Under those sits the sentence describing csvkit as a suite of command-line tools for CSV, then four links: documentation at https://csvkit.rtfd.org/, the repository, the issue tracker, and a schemas pointer to https://github.com/wireservice/ffs. Ancestry is the only prose claim, naming pdftk, GDAL and the original csvcut by Joe Germuska and Aaron Bycoffe. Even the documentation address disagrees with the packaging metadata, because pyproject.toml lists Documentation as https://csvkit.readthedocs.io/en/latest/. So the front page is an index, and every detail a user needs lives in pyproject.toml, docs/ or man/.
Version 2.2.0 comes out of pyproject.toml, since GitHub has no releases
There are no GitHub releases attached to this repository, so the version a reader sees on the front page is whatever the PyPI version badge reports, while the authoritative one sits in pyproject.toml:
version = "2.2.0"
requires-python = ">=3.10"The same file declares the supported interpreters in classifiers, running from Python 3.10 through 3.14 for both CPython and PyPy, and labels the project Development Status :: 5 - Production/Stable under Operating System :: OS Independent. The build is plain setuptools: build-system requires setuptools>=61 with build-backend setuptools.build_meta. AUTHORS.rst, CHANGELOG.rst, CONTRIBUTING.rst and COPYING sit at the root beside it, joined by setup.cfg and MANIFEST.in, so release history lives in text files rather than in tagged artefacts. The default branch is master, and the last push on record is 26 October 2026.
The Dockerfile copies four paths and never sets a command
The image definition is five lines long:
FROM python:alpine
COPY csvkit csvkit
COPY man man
COPY README.rst pyproject.toml .
RUN pip install --no-cache-dir .Nothing else is copied. docs/, examples/ and tests/ stay outside the image, and no CMD or ENTRYPOINT follows the install, so the container carries the console scripts without a default program to run. The man directory is copied on purpose, which makes this image a packaging shape rather than a teaching one. The base tag is unpinned, so the Python build underneath can change without a commit here. The install line is the same one a developer would run locally, except that the Dockerfile performs it from a copied source tree rather than from a package index, and the no cache flag keeps the layer from carrying a wheel cache forward.
agate is what drags SQL and Excel readers into a CSV tool
The dependency list explains how a CSV suite reaches beyond CSV:
dependencies = [
"agate>=1.12.0",
"agate-excel>=0.4.0",
"agate-dbf>=0.2.3",
"agate-sql>=0.7.0",
"openpyxl",
"sqlalchemy",
"xlrd",
]agate provides the tabular layer, agate-excel and xlrd cover spreadsheets, agate-dbf covers dBase files, and agate-sql with sqlalchemy reaches into databases. Note the mixed policy: every agate package carries an explicit minimum version, while openpyxl and sqlalchemy carry none, so a new release of either can change behaviour with no version bump on this side. Two extras sit apart from that base install:
zstandard = [
"zstandard",
]
test = [
"coverage>=4.4.2",
"pytest",
"pytest-cov",
]The coverage badge on the front page matches that test extra being the route to running the tests/ directory.
Fixture names spell out the malformed input the tools exist for
The examples directory holds 25 sample files, and the file names do the explaining. Inputs that break naive parsers each have a fixture: bad.csv, bad_skip_lines.csv, blanks.csv next to blanks_converted.csv, date_like_number.csv, empty.csv for a file with nothing in it, and dummy_col_shuffled.csv beside dummy_col_shuffled_ragged.csv where the columns stop lining up. Ordinary data has its own set, dummy.csv, dummy2.csv, dummy3.csv, foo1.csv, foo2.csv and iris.csv, so a test can pick a clean file or a broken one without inventing content. The naming implies a suite split between cleaning work and type detection, yet the front page never maps a single fixture to the command that consumes it. That mapping has to come from tests/ or from the documentation site instead.
Compression, spreadsheets and joins arrive as pre-built fixtures
Formats needing other readers show up in the same directory. dummy.csv.gz and dummy.csv.bz2 are the sample data compressed, dummy.tsv is the tab separated variant, and dummy.xls and dummy.xlsx are the two spreadsheet formats the dependency list can already read, one through xlrd and one through openpyxl. The join fixtures form their own small family: join_a.csv and join_b.csv are the two sides, join_a_short.csv and join_short.csv are the truncated versions, and join_no_header_row.csv is the case where a side arrives without a header at all. One more pair, iris.csv and irismeta.csv, keeps a table beside the file that describes it, while the front page links a schemas repository under the same organisation. One gap connects this directory back to the manifest: zstandard is a declared extra rather than a base dependency, so anything that needs it depends on an install step the default dependency set does not cover.
Test tooling is an extra, and there is no tagged release to grab
Two things a reader would expect from an established utility are deliberately outside the default install. The test group is optional, holding coverage>=4.4.2, pytest and pytest-cov, so exercising the tests/ directory means asking for that extra rather than cloning and running a test command on a bare checkout. And there are no GitHub releases, so nothing on the project page names a downloadable artefact, which leaves the PyPI version badge as the only version pointer visible from the front page. The repository layout compensates in other ways: .readthedocs.yaml builds the documentation, docs/ holds the prose, man/ holds the manual pages that the Dockerfile copies into the image, .github/ holds the workflow behind the build badge, and CHANGELOG.rst and AUTHORS.rst hold history and credits. For a suite with a Python 3.10 floor and seven runtime dependencies, that layout is coherent. What is missing is any of it on the front page.
Editorial conclusion
csvkit suits people who already live in a shell and want named console scripts for the CSV jobs they repeat, and the 25 fixtures plus the manifest give you enough to judge the suite before installing anything. It is a poor fit if you expect the project itself to explain the tools, since the front page stops at badges and links, or if you need spreadsheet and SQL reading pinned to versions you trust, because openpyxl and sqlalchemy carry no floor. Before you commit, check the Python 3.10 requirement, ask for the test extra if you plan to run tests/, and remember there are no GitHub releases to fall back on.
Frequently asked questions
how to install csvkit
csvkit 2.2.0 is a setuptools distribution declared in pyproject.toml and needs Python 3.10 or newer. The project's own Dockerfile installs from a copied source tree with pip install --no-cache-dir ., and the front page badges point at the csvkit page on PyPI for version, license and monthly downloads.
how to use csvkit
Every tool is a console script declared under [project.scripts], where the first entry is csvclean, mapped to csvkit.utilities.csvclean:launch_new_instance. The examples directory ships 25 sample files, including bad.csv, blanks.csv, empty.csv and a join_a.csv and join_b.csv pair, and the documentation site linked from the front page covers the rest.
csvkit alternatives
The front page names pdftk, GDAL and the original csvcut by Joe Germuska and Aaron Bycoffe as the projects csvkit was inspired by, and it points at a separate schemas repository, wireservice/ffs. It carries no comparison table of its own.
csvkit vs miller
The repository makes no comparison with miller. What it states about itself is that csvkit is a Python distribution of console scripts, version 2.2.0, requiring Python 3.10 or newer, built on agate with spreadsheet and SQL readers sitting beside the CSV work.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/wireservice-csvkit)Star history chart for your README
[](https://hysenlabs.com/projects/wireservice-csvkit)Was this useful?