tablib: one Dataset object, twelve output formats, no format lock-in
Python Module for Tabular Datasets in XLS, CSV, JSON, YAML, &c.
At a glance
- What is it?
- A format-agnostic tabular dataset library for Python that treats Excel, JSON, YAML, CSV and the rest as serialization targets rather than as the shape of your data.
- Who is it for?
- Tablib's bet is that a row of data should not have a format attached to it. That sounds obvious, yet most Python table libraries make you pick a format at the moment you create the object, and then you are rewriting code when a customer asks for CSV instead of XLSX.
- 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 11 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
- jazzband/tablib4,759 ★ · +1
| Repository | 2026-10-07 | 2026-11-22 |
|---|---|---|
| jazzband/tablib | 4.8k | 4.8k |
1 Stars in the last 46 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
A library whose central idea is what it refuses to do
The README opens by calling Tablib a format-agnostic tabular dataset library written in Python, and then spends most of its length on a list of output formats: Excel, JSON, YAML, Pandas DataFrames, HTML, Jira, LaTeX, TSV, ODS, CSV, DBF and SQL. Excel, JSON and YAML are marked as supporting both Sets and Books. The rest are Sets only.
Those two words are Tablib's whole data model. A Dataset is a single table with a header row and rows of values. A Databook is a collection of named Datasets, which is how multi-sheet Excel files and grouped JSON objects map onto the library.
Then there is the exclusion. The README says Tablib purposefully excludes XML support, that it always will, and immediately adds that this is a joke and pull requests are welcome. It is a small joke, but it is doing real work as a statement of intent.
Everything else in the README is housekeeping: badges for the Jazzband collective, the PyPI version, supported Python versions, monthly downloads, GitHub Actions, codecov, and the MIT license. Documentation lives at tablib.readthedocs.io, is also shipped in the `docs` directory of the source distribution, and there is a contributing guide under `.github`.
The packaging tells you which formats cost what
Everything a Tablib user needs to know about dependencies is in `pyproject.toml`, because each format is gated behind its own extra. The `all` extra is the union of the rest.
all = [
"odfpy",
"openpyxl>=2.6.0",
"pandas",
"pyyaml",
"tabulate",
"xlrd",
"xlwt",
]Read that list as an answer to a question the README does not ask. ODS needs odfpy. XLSX needs openpyxl. Pandas output needs pandas. YAML needs pyyaml. The CLI extra pulls in tabulate. And legacy XLS needs both xlrd and xlwt, which is the shape of a format that predates modern packaging and needs a reader and a writer.
The narrower extras are the ones you will actually install: `html` is an empty list because the HTML target has no third-party dependency, `xlsx` and `ods` and `yaml` and `pandas` are each a single package, and `xls` is the pair.
The rest of the project metadata is unremarkable in the way well-run packaging usually is. Python 3.11 is the floor, with classifiers running through 3.15. Development status is declared as Production/Stable. The version is dynamic, written by setuptools_scm into `src/tablib/_version.py` at build time, so releases come from tags. The author is listed as Kenneth Reitz, and the maintainer list is the Jazzband Team, Hugo van Kemenade and Claude Paroz, which is a good illustration of how maintainership in these projects is distributed rather than held by one person. Ruff handles linting with a line length of 99.
Version 3.10.0 fixed an HTML escaping issue and moved to Python 3.15
The most recent release is v3.11.0, published 2026-10-29. Before it came v3.10.0 on 2026-07-31 and v3.9.0 on 2025-10-15. The changelog is kept in `HISTORY.md`.
What a project of this size looks like day to day
The repository is MIT licensed with 4,758 stars, 638 forks and 51 open issues, and the last push was on 2026-11-02. That issue count is low for a library this widely used, which usually means either the maintainers close things quickly or the common questions are answered by the documentation instead.
The tree is compact and says something about the project's priorities: `src/` for the code, `tests/` alongside it, `docs/` for the Read the Docs sources, `pyproject.toml`, `pytest.ini` and `tox.ini` for testing across versions, `.pre-commit-config.yaml` and a `.coveragerc` for the quality gates, plus `HISTORY.md`, `RELEASING.md`, `AUTHORS`, `CODE_OF_CONDUCT.md` and `LICENSE`. A dedicated `RELEASING.md` in a library with this many contributors usually means releases are a shared responsibility rather than one person's job.
The one thing a new user will notice quickly is how little the README explains about usage. It is a signpost, not a tutorial. The actual API documentation is on the documentation site and in the `docs` directory, and the PyPI page is linked as the place to get the package.
Editorial conclusion
Tablib's bet is that a row of data should not have a format attached to it. That sounds obvious, yet most Python table libraries make you pick a format at the moment you create the object, and then you are rewriting code when a customer asks for CSV instead of XLSX. Holding the data in a plain Dataset and serializing on demand costs you one extra method call and saves the rewrite. The cost is that the optional dependencies are real: `pip install tablib` gives you the core, and pandas, openpyxl, odfpy and the xlrd and xlwt pair each gate a format behind an extra. Install `all` if you are not sure yet. With 4,758 stars, 638 forks, 51 open issues and a push on 2026-11-02, this is a settled library rather than a fast-moving one.
Frequently asked questions
How do I install Tablib?
The README points to the PyPI project page rather than spelling out a command, and the format support you get depends on the extra you choose. `all` installs odfpy, openpyxl, pandas, pyyaml, tabulate, xlrd and xlwt, which covers every format in the list. Individual extras exist for ods, xlsx, yaml, pandas, xls, html and cli.
What formats can tablib export?
Excel, JSON, YAML, Pandas DataFrames, HTML, Jira, LaTeX, TSV, ODS, CSV, DBF and SQL. Excel, JSON and YAML support both Sets and Books; the others are Sets only. XML is not in the list; the README labels its claim that XML is purposefully excluded a joke and says pull requests are welcome.
What is the difference between a Dataset and a Databook in tablib?
A Dataset is a single table with a header row and data rows. A Databook is a collection of named Datasets, which maps onto multi-sheet Excel files and grouped JSON objects. Excel, JSON and YAML can serialize both; the remaining formats only handle a single Dataset.
Which Python versions does tablib support?
The package requires Python 3.11 or newer, with classifiers running through 3.15.
When was tablib 3.10.0 released?
Version 3.10.0 was published on 2026-07-31; the most recent release is v3.11.0, from 2026-10-29.
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/jazzband-tablib)Star history chart for your README
[](https://hysenlabs.com/projects/jazzband-tablib)Was this useful?