You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tablib is a format-agnostic tabular dataset library, written in Python.
15
+
16
+
Output formats supported:
17
+
18
+
- Excel (Sets + Books)
19
+
- JSON (Sets + Books)
20
+
- YAML (Sets + Books)
21
+
- CSV (Sets)
22
+
23
+
Import formats supported:
24
+
25
+
- JSON (Sets + Books)
26
+
- YAML (Sets + Books)
27
+
- CSV (Sets)
28
+
29
+
Note that tablib *purposefully* excludes XML support. It always will.
30
+
31
+
Overview
32
+
--------
33
+
34
+
`tablib.Dataset()`
35
+
A Dataset is a table of tabular data. It may or may not have a header row. They can be build and maniuplated as raw Python datatypes (Lists of tuples|dictonaries). Datasets can be imported from JSON, YAML, and CSV; they can be exported to Excel (XLS), JSON, YAML, and CSV.
36
+
37
+
`tablib.Databook()`
38
+
A Databook is a set of Datasets. The most common form of a Databook is an Excel file with multiple spreadsheets. Databooks can be imported from JSON and YAML; they can be exported to Excel (XLS), JSON, and YAML.
If you'd like to contribute, simply fork `the repository`_, commit your changes to the **develop** branch (or branch off of it), and send a pull request. Make sure you add yourself to AUTHORS_.
178
+
179
+
180
+
Roadmap
181
+
-------
182
+
- Release CLI Interface
183
+
- Auto-detect import format
184
+
- Add possible other exports (SQL?)
185
+
- Ability to assign types to rows (set, regex=, &c.)
0 commit comments