Source code for syside.grid
1"""
2`syside grid` — export table and matrix views as RFC-4180 CSV.
3
4A table or matrix view is a grid view, which is what the names here are
5built from; `GridViewKind` says what makes a view one.
6
7`write_csv` exports from a model that is already loaded and returns a
8`GridExportReport`. The `syside grid export` command line does the same
9thing for a list of files, and prints what it did.
10"""
11
12from syside.grid._export import (
13 ExportedGridView,
14 GridExportReport,
15 GridSkipReason,
16 GridViewExportError,
17 GridViewKind,
18 GridViewsNotFoundError,
19 SkippedGridView,
20 write_csv,
21)
22
23__all__ = [
24 "ExportedGridView",
25 "GridExportReport",
26 "GridSkipReason",
27 "GridViewExportError",
28 "GridViewKind",
29 "GridViewsNotFoundError",
30 "SkippedGridView",
31 "write_csv",
32]