Read a CSV file and export the same data as an Excel spreadsheet or JSON file in a single Python script.
Generate a formatted HTML table or LaTeX table from any in-memory dataset for reports or documentation.
Pass structured data between systems using YAML or JSON without writing format-specific parsing code.
Hand off tabular data to Pandas for analysis using the built-in DataFrame integration.
Tablib is a Python library for working with tabular data, meaning rows and columns of information like you would find in a spreadsheet. Its main selling point is that it treats the data separately from any particular file format: you load or build a dataset once, then export it to whichever format you need. The supported output formats include Excel, CSV, JSON, YAML, HTML, LaTeX, TSV, ODS (OpenDocument Spreadsheet), DBF, SQL, and Pandas DataFrames. This means a script that reads from a CSV file can produce an Excel file or a JSON file without you changing how the data itself is represented in your code. The library is part of the Jazzband organization, a collaborative group on GitHub that maintains open-source Python projects together. Installation is via the standard Python package manager (PyPI), and full documentation is hosted on readthedocs.io. The README is minimal and points to external documentation for usage details. Tablib is straightforward to use in scripts that need to move data between formats, generate reports, or pass structured data between systems. It does not handle database connections or data analysis on its own, but its Pandas integration means it can hand off to Pandas for those tasks.
← jazzband on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.