Repolode
jazzband

jazzband/tablib

A Python library for working with tabular datasets, importing and exporting them across Excel, CSV, JSON, YAML and more formats.

Stars
4,758
Forks
643
Open issues
77
Last commit
5 days ago

What is it?

Tablib is a format-agnostic library for handling tabular data in Python. It lets you build a dataset once and export it to many formats, including Excel, JSON, YAML, CSV, TSV, HTML, LaTeX, ODS, DBF and SQL, as well as Pandas DataFrames.

Datasets can be organized as single sheets or as books containing multiple sheets, depending on the format. The same object model works regardless of the output, so code that prepares rows and headers does not need to change when the target format does.

The project is maintained under the Jazzband collective and is distributed on PyPI.

Key features

  • 01Exports one dataset to Excel, JSON, YAML, CSV, TSV, HTML, LaTeX, ODS, DBF and SQL.
  • 02Supports multi-sheet Books for Excel, JSON and YAML output.
  • 03Converts datasets to and from Pandas DataFrames.
  • 04Installable from PyPI.

Use cases

  • Generating Excel or ODS reports from Python data without writing format-specific code.
  • Converting tabular data between CSV, JSON and YAML in a script.
  • Passing query or processing results into a Pandas workflow.

Quick start

  1. 1

    Get tablib from its PyPI page

Things to know

  • XML is not supported and the project does not plan to add it.

Topics

FAQ

What is tablib?
A Python library for working with tabular datasets, importing and exporting them across Excel, CSV, JSON, YAML and more formats. Tablib is a format-agnostic library for handling tabular data in Python. It lets you build a dataset once and export it to many formats, including Excel, JSON, YAML, CSV, TSV, HTML, LaTeX, ODS, DBF and SQL, as well as Pandas DataFrames.
Is tablib free to use? What license does it have?
tablib is open source under the MIT license. Check the license terms before using it in commercial products.
Is tablib still maintained?
Actively maintained. The last commit to tablib was on Nov 2, 2026.
What can I use tablib for?
Generating Excel or ODS reports from Python data without writing format-specific code. Converting tabular data between CSV, JSON and YAML in a script. Passing query or processing results into a Pandas workflow.
How do I install tablib?
Get tablib from its PyPI page
Where can I get tablib?
The source code and installation instructions are on GitHub: https://github.com/jazzband/tablib

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects