Expand description
Files that hold several tables: a SQLite database’s tables and views, a NumPy archive’s arrays.
Each table has a path inside its file (shop.db/orders, run.npz/weights) that
nothing on disk has. The home screen lists a file of several as a place whose rows
are its tables, recents record a table by that path, and --table names one. A file
of one table opens it.
Re-exports§
Structs§
- Opened
- What a reader that decodes its table from the file found, carried from the scan to the dataset: a window read straight from the file, its row count, its Info panel tab, its other tables, notes and units.
Functions§
- holder
- The format of a file that can hold several tables, by its first bytes (and, for a NumPy archive, its name: a zip file is many things).
- others
- The other tables of a file, each as
--tablenames it, for the Info panel. - pick
- The table
wantednames amongtables, or the file’s one table of its own when nothing is named.displaynames the file in errors, andemptywhat to say of a file of none. - place
- The path of the table
nameinsidefile, as the home screen lists it and recents record it:shop.db/orders. The name is appended as it is, so a name that looks like a path (/etc,a/../b) stays inside the file and reads back whole. - split
- The file and the table a path inside a file of tables names, the inverse of
place:shop.db/ordersis the tableordersofshop.db, andshop.db/a/bthe tablea/b.Nonefor a path that is there, or that is inside no such file. - split_
variant - The file and the variant a path inside a file of a format spec’s variants names:
day.itch/addis the variantaddofday.itch, as the spec writes it.Nonefor a path that is there, inside no such file, or naming no variant of it. - tables
- The tables of
file, a file offormat, as the home screen lists them. Cheap: a database’s schema, an archive’s directory and its arrays’ headers. - variant_
tables - The variants
specreads records as, each a table with its columns, from the spec alone. - variants
- The variants of the records of
file, as the format spec whose glob names it reads them, each a table: the spec’s name, and its variants with their columns.Noneunless the spec reads several. Its name is all that is read.