dataframe-textual 2.35.0__tar.gz → 2.37.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (19) hide show
  1. {dataframe_textual-2.35.0 → dataframe_textual-2.37.0}/PKG-INFO +23 -32
  2. {dataframe_textual-2.35.0 → dataframe_textual-2.37.0}/README.md +21 -30
  3. {dataframe_textual-2.35.0 → dataframe_textual-2.37.0}/pyproject.toml +2 -2
  4. {dataframe_textual-2.35.0 → dataframe_textual-2.37.0}/src/dataframe_textual/__main__.py +43 -16
  5. {dataframe_textual-2.35.0 → dataframe_textual-2.37.0}/src/dataframe_textual/common.py +46 -24
  6. {dataframe_textual-2.35.0 → dataframe_textual-2.37.0}/src/dataframe_textual/data_frame_viewer.py +5 -5
  7. {dataframe_textual-2.35.0 → dataframe_textual-2.37.0}/src/dataframe_textual/table_screen.py +5 -3
  8. {dataframe_textual-2.35.0 → dataframe_textual-2.37.0}/uv.lock +58 -47
  9. {dataframe_textual-2.35.0 → dataframe_textual-2.37.0}/.gitignore +0 -0
  10. {dataframe_textual-2.35.0 → dataframe_textual-2.37.0}/LICENSE +0 -0
  11. {dataframe_textual-2.35.0 → dataframe_textual-2.37.0}/main.py +0 -0
  12. {dataframe_textual-2.35.0 → dataframe_textual-2.37.0}/src/dataframe_textual/__init__.py +0 -0
  13. {dataframe_textual-2.35.0 → dataframe_textual-2.37.0}/src/dataframe_textual/data_frame_help_panel.py +0 -0
  14. {dataframe_textual-2.35.0 → dataframe_textual-2.37.0}/src/dataframe_textual/data_frame_table.py +0 -0
  15. {dataframe_textual-2.35.0 → dataframe_textual-2.37.0}/src/dataframe_textual/file_picker_screen.py +0 -0
  16. {dataframe_textual-2.35.0 → dataframe_textual-2.37.0}/src/dataframe_textual/loading_screen.py +0 -0
  17. {dataframe_textual-2.35.0 → dataframe_textual-2.37.0}/src/dataframe_textual/theme_screen.py +0 -0
  18. {dataframe_textual-2.35.0 → dataframe_textual-2.37.0}/src/dataframe_textual/yes_no_screen.py +0 -0
  19. {dataframe_textual-2.35.0 → dataframe_textual-2.37.0}/xbk/common.py_w_compute_error +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dataframe-textual
3
- Version: 2.35.0
3
+ Version: 2.37.0
4
4
  Summary: Interactive terminal viewer/editor for tabular data
5
5
  Project-URL: Homepage, https://github.com/need47/dataframe-textual
6
6
  Project-URL: Repository, https://github.com/need47/dataframe-textual.git
@@ -29,7 +29,7 @@ Classifier: Topic :: Utilities
29
29
  Classifier: Typing :: Typed
30
30
  Requires-Python: >=3.11
31
31
  Requires-Dist: fastexcel>=0.16.0
32
- Requires-Dist: polars>1.39.0
32
+ Requires-Dist: polars>=1.39.3
33
33
  Requires-Dist: textual[syntax]>=8.0.2
34
34
  Requires-Dist: vortex-data>=0.60.0
35
35
  Requires-Dist: xlsxwriter>=3.2.9
@@ -39,7 +39,7 @@ Description-Content-Type: text/markdown
39
39
 
40
40
  # DataFrame Textual
41
41
 
42
- A powerful, interactive terminal-based viewer/editor for CSV/TSV/Excel/[Parquet](https://parquet.apache.org/)/[Vortex](https://vortex.dev/)/JSON/NDJSON built with Python, [Polars](https://pola.rs/), and [Textual](https://textual.textualize.io/). Inspired by [VisiData](https://www.visidata.org/), this tool provides smooth keyboard navigation, data manipulation, and a clean interface for exploring tabular data directly in terminal with multi-tab support for multiple files!
42
+ A powerful, interactive terminal-based viewer/editor for CSV/TSV/Excel/[Parquet](https://parquet.apache.org/)/[Vortex](https://vortex.dev/)/JSON/[NDJSON](https://jsonlines.org/) built with Python, [Polars](https://pola.rs/), and [Textual](https://textual.textualize.io/). Inspired by [VisiData](https://www.visidata.org/), this tool provides smooth keyboard navigation, data manipulation, and a clean interface for exploring tabular data directly in terminal with multi-tab support for multiple files!
43
43
 
44
44
  ![Screenshot](https://raw.githubusercontent.com/need47/dataframe-textual/refs/heads/main/screenshot.png)
45
45
 
@@ -107,16 +107,6 @@ pip install -e ".[dev]"
107
107
  ```bash
108
108
  # After pip install dataframe-textual
109
109
  dv pokemon.csv
110
-
111
- # Read from stdin (defaults to TSV)
112
- cat data.tsv | dv
113
- dv < data.tsv
114
-
115
- # Specify delimiter
116
- dv data.txt -d '|'
117
-
118
- # Gzipped files are supported
119
- dv data.csv.gz
120
110
  ```
121
111
 
122
112
  ### Multi-File Usage - Multiple Tabs
@@ -140,20 +130,11 @@ dv data1.tsv < data2.tsv
140
130
  dv *.parquet --all-in-one
141
131
  ```
142
132
 
143
- When multiple files are opened:
144
- - Each file appears as a separate tab. An Excel file may contain multiple tabs.
145
- - Move the current tab with `>` (right, wrap to first) or `<` (left, wrap to last); use `b` to cycle tabs
146
- - Save current tab to file with `Ctrl+T`
147
- - Save all tabs to file with `Ctrl+S`
148
- - Duplicate the current tab with `Ctrl+D`
149
- - Open additional files with `Ctrl+O`
150
- - Each file maintains its own state (edits, sort order, selections, history, etc.) and allow undo/redo.
151
-
152
133
  ## Command Line Options
153
134
 
154
135
  ```
155
- usage: dv [-h] [-V] [-d DELIMITER] [-f [FIELDS ...]] [-H [HEADER ...]] [-L [N]] [-I] [-T] [-E] [-C [PREFIX]] [-Q [C]] [-K N] [-A N] [-M N] [-N NULL [NULL ...]] [--theme [THEME]] [--all-in-one]
156
- [--sql SQL] [-o OUTPUT]
136
+ usage: dv [-h] [-V] [-d DELIMITER] [-f FORMAT] [-F [FIELDS ...]] [-H [HEADER ...]] [-L [N]] [-I] [-T] [-E] [-C [PREFIX]] [-Q [C]] [-K N] [-A N] [-M [N]] [-N NULL [NULL ...]] [--theme [THEME]]
137
+ [--all-in-one] [--sql SQL] [-o OUTPUT]
157
138
  [files ...]
158
139
 
159
140
  TUI viewer/editor for tabular data (e.g., CSV/Excel).
@@ -165,8 +146,11 @@ options:
165
146
  -h, --help show this help message and exit
166
147
  -V, --version show program's version number and exit
167
148
  -d, --delimiter DELIMITER
168
- Specify the delimiter of the input files (must be a single character, e.g., `|` or `;`)
169
- -f, --fields [FIELDS ...]
149
+ Specify the delimiter of the input files (must be a single character, e.g., `|` or `;`). By default, the delimiter is inferred from the file extension. If reading from stdin, the
150
+ delimiter must be specified unless it is tab delimited.
151
+ -f, --format FORMAT Specify the format of the input files (e.g., `csv` or `excel`). By default, the format is inferred from the file extension. If reading from stdin, the format must be specified
152
+ unless it is tab delimited.
153
+ -F, --fields [FIELDS ...]
170
154
  When used without values, list available fields. Otherwise, read only specified fields.
171
155
  -H, --header [HEADER ...]
172
156
  Specify header info. When reading CSV/TSV. If used without values, assumes no header. Otherwise, use provided values as column header (e.g., `-H col1 col2 col3`).
@@ -182,7 +166,7 @@ options:
182
166
  -K, --skip-lines N Skip first N lines when reading CSV/TSV
183
167
  -A, --skip-rows-after-header N
184
168
  Skip N rows after header when reading CSV/TSV
185
- -M, --n-rows N Read maximum rows
169
+ -M, --n-rows [N] Read maximum rows
186
170
  -N, --null NULL [NULL ...]
187
171
  Values to interpret as null values when reading CSV/TSV
188
172
  --theme [THEME] Set the theme for the application. If used without value, show available themes.
@@ -198,11 +182,18 @@ options:
198
182
  # Open a file
199
183
  dv data.csv
200
184
 
201
- # Process compressed data
185
+ # Gzipped files are supported
202
186
  dv data.csv.gz
203
187
 
204
- # Read from stdin
205
- zcat compressed_data.csv.gz | dv -f csv
188
+ # Read from stdin (defaults to TSV)
189
+ cat data.tsv | dv
190
+ dv < data.tsv
191
+
192
+ # Specify delimiter
193
+ dv data.txt -d '|'
194
+
195
+ # Specify format
196
+ dv data.json -f ndjson
206
197
 
207
198
  # View headless CSV file
208
199
  dv data_no_header.csv -H
@@ -241,10 +232,10 @@ dv data.tsv -Q
241
232
  dv data.csv --theme monokai
242
233
 
243
234
  # Show column headers
244
- dv data.csv -f
235
+ dv data.csv -F
245
236
 
246
237
  # Read only specific columns: 'name', 'age', first column, and last column
247
- dv data.csv -f name age 1 -1
238
+ dv data.csv -F name age 1 -1
248
239
 
249
240
  # Read all files (must be of same format and same structure) into one single table
250
241
  dv data-1.csv data-2.csv --all-in-one
@@ -1,6 +1,6 @@
1
1
  # DataFrame Textual
2
2
 
3
- A powerful, interactive terminal-based viewer/editor for CSV/TSV/Excel/[Parquet](https://parquet.apache.org/)/[Vortex](https://vortex.dev/)/JSON/NDJSON built with Python, [Polars](https://pola.rs/), and [Textual](https://textual.textualize.io/). Inspired by [VisiData](https://www.visidata.org/), this tool provides smooth keyboard navigation, data manipulation, and a clean interface for exploring tabular data directly in terminal with multi-tab support for multiple files!
3
+ A powerful, interactive terminal-based viewer/editor for CSV/TSV/Excel/[Parquet](https://parquet.apache.org/)/[Vortex](https://vortex.dev/)/JSON/[NDJSON](https://jsonlines.org/) built with Python, [Polars](https://pola.rs/), and [Textual](https://textual.textualize.io/). Inspired by [VisiData](https://www.visidata.org/), this tool provides smooth keyboard navigation, data manipulation, and a clean interface for exploring tabular data directly in terminal with multi-tab support for multiple files!
4
4
 
5
5
  ![Screenshot](https://raw.githubusercontent.com/need47/dataframe-textual/refs/heads/main/screenshot.png)
6
6
 
@@ -68,16 +68,6 @@ pip install -e ".[dev]"
68
68
  ```bash
69
69
  # After pip install dataframe-textual
70
70
  dv pokemon.csv
71
-
72
- # Read from stdin (defaults to TSV)
73
- cat data.tsv | dv
74
- dv < data.tsv
75
-
76
- # Specify delimiter
77
- dv data.txt -d '|'
78
-
79
- # Gzipped files are supported
80
- dv data.csv.gz
81
71
  ```
82
72
 
83
73
  ### Multi-File Usage - Multiple Tabs
@@ -101,20 +91,11 @@ dv data1.tsv < data2.tsv
101
91
  dv *.parquet --all-in-one
102
92
  ```
103
93
 
104
- When multiple files are opened:
105
- - Each file appears as a separate tab. An Excel file may contain multiple tabs.
106
- - Move the current tab with `>` (right, wrap to first) or `<` (left, wrap to last); use `b` to cycle tabs
107
- - Save current tab to file with `Ctrl+T`
108
- - Save all tabs to file with `Ctrl+S`
109
- - Duplicate the current tab with `Ctrl+D`
110
- - Open additional files with `Ctrl+O`
111
- - Each file maintains its own state (edits, sort order, selections, history, etc.) and allow undo/redo.
112
-
113
94
  ## Command Line Options
114
95
 
115
96
  ```
116
- usage: dv [-h] [-V] [-d DELIMITER] [-f [FIELDS ...]] [-H [HEADER ...]] [-L [N]] [-I] [-T] [-E] [-C [PREFIX]] [-Q [C]] [-K N] [-A N] [-M N] [-N NULL [NULL ...]] [--theme [THEME]] [--all-in-one]
117
- [--sql SQL] [-o OUTPUT]
97
+ usage: dv [-h] [-V] [-d DELIMITER] [-f FORMAT] [-F [FIELDS ...]] [-H [HEADER ...]] [-L [N]] [-I] [-T] [-E] [-C [PREFIX]] [-Q [C]] [-K N] [-A N] [-M [N]] [-N NULL [NULL ...]] [--theme [THEME]]
98
+ [--all-in-one] [--sql SQL] [-o OUTPUT]
118
99
  [files ...]
119
100
 
120
101
  TUI viewer/editor for tabular data (e.g., CSV/Excel).
@@ -126,8 +107,11 @@ options:
126
107
  -h, --help show this help message and exit
127
108
  -V, --version show program's version number and exit
128
109
  -d, --delimiter DELIMITER
129
- Specify the delimiter of the input files (must be a single character, e.g., `|` or `;`)
130
- -f, --fields [FIELDS ...]
110
+ Specify the delimiter of the input files (must be a single character, e.g., `|` or `;`). By default, the delimiter is inferred from the file extension. If reading from stdin, the
111
+ delimiter must be specified unless it is tab delimited.
112
+ -f, --format FORMAT Specify the format of the input files (e.g., `csv` or `excel`). By default, the format is inferred from the file extension. If reading from stdin, the format must be specified
113
+ unless it is tab delimited.
114
+ -F, --fields [FIELDS ...]
131
115
  When used without values, list available fields. Otherwise, read only specified fields.
132
116
  -H, --header [HEADER ...]
133
117
  Specify header info. When reading CSV/TSV. If used without values, assumes no header. Otherwise, use provided values as column header (e.g., `-H col1 col2 col3`).
@@ -143,7 +127,7 @@ options:
143
127
  -K, --skip-lines N Skip first N lines when reading CSV/TSV
144
128
  -A, --skip-rows-after-header N
145
129
  Skip N rows after header when reading CSV/TSV
146
- -M, --n-rows N Read maximum rows
130
+ -M, --n-rows [N] Read maximum rows
147
131
  -N, --null NULL [NULL ...]
148
132
  Values to interpret as null values when reading CSV/TSV
149
133
  --theme [THEME] Set the theme for the application. If used without value, show available themes.
@@ -159,11 +143,18 @@ options:
159
143
  # Open a file
160
144
  dv data.csv
161
145
 
162
- # Process compressed data
146
+ # Gzipped files are supported
163
147
  dv data.csv.gz
164
148
 
165
- # Read from stdin
166
- zcat compressed_data.csv.gz | dv -f csv
149
+ # Read from stdin (defaults to TSV)
150
+ cat data.tsv | dv
151
+ dv < data.tsv
152
+
153
+ # Specify delimiter
154
+ dv data.txt -d '|'
155
+
156
+ # Specify format
157
+ dv data.json -f ndjson
167
158
 
168
159
  # View headless CSV file
169
160
  dv data_no_header.csv -H
@@ -202,10 +193,10 @@ dv data.tsv -Q
202
193
  dv data.csv --theme monokai
203
194
 
204
195
  # Show column headers
205
- dv data.csv -f
196
+ dv data.csv -F
206
197
 
207
198
  # Read only specific columns: 'name', 'age', first column, and last column
208
- dv data.csv -f name age 1 -1
199
+ dv data.csv -F name age 1 -1
209
200
 
210
201
  # Read all files (must be of same format and same structure) into one single table
211
202
  dv data-1.csv data-2.csv --all-in-one
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "dataframe-textual"
7
- version = "2.35.0"
7
+ version = "2.37.0"
8
8
  description = "Interactive terminal viewer/editor for tabular data"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
@@ -33,7 +33,7 @@ classifiers = [
33
33
  "Typing :: Typed",
34
34
  ]
35
35
  dependencies = [
36
- "polars>1.39.0",
36
+ "polars>=1.39.3",
37
37
  "fastexcel>=0.16.0",
38
38
  "xlsxwriter>=3.2.9",
39
39
  "textual[syntax]>=8.0.2",
@@ -8,7 +8,7 @@ import polars as pl
8
8
  from textual.theme import BUILTIN_THEMES
9
9
 
10
10
  from . import __version__
11
- from .common import SUPPORTED_FORMATS, convert_file, guess_file_format, handle_compute_error, load_dataframe
11
+ from .common import SUPPORTED_FORMATS, guess_file_format, handle_compute_error, load_dataframe, write_file
12
12
  from .data_frame_viewer import DataFrameViewer
13
13
 
14
14
 
@@ -67,10 +67,15 @@ def cli() -> argparse.Namespace:
67
67
  parser.add_argument(
68
68
  "-d",
69
69
  "--delimiter",
70
- help="Specify the delimiter of the input files (must be a single character, e.g., `|` or `;`)",
70
+ help="Specify the delimiter of the input files (must be a single character, e.g., `|` or `;`). By default, the delimiter is inferred from the file extension. If reading from stdin, the delimiter must be specified unless it is tab delimited.",
71
71
  )
72
72
  parser.add_argument(
73
73
  "-f",
74
+ "--format",
75
+ help="Specify the format of the input files (e.g., `csv` or `excel`). By default, the format is inferred from the file extension. If reading from stdin, the format must be specified unless it is tab delimited.",
76
+ )
77
+ parser.add_argument(
78
+ "-F",
74
79
  "--fields",
75
80
  nargs="*",
76
81
  action=ConstWithMultiArgs,
@@ -130,7 +135,7 @@ def cli() -> argparse.Namespace:
130
135
  default=0,
131
136
  help="Skip N rows after header when reading CSV/TSV",
132
137
  )
133
- parser.add_argument("-M", "--n-rows", metavar="N", type=int, help="Read maximum rows")
138
+ parser.add_argument("-M", "--n-rows", metavar="N", nargs="?", type=int, const=100, help="Read maximum rows")
134
139
  parser.add_argument(
135
140
  "-N",
136
141
  "--null",
@@ -166,10 +171,7 @@ def cli() -> argparse.Namespace:
166
171
  )
167
172
 
168
173
  args = parser.parse_args()
169
-
170
- if args.delimiter and len(args.delimiter) != 1:
171
- print("Delimiter must be a single character.", file=sys.stderr)
172
- sys.exit(1)
174
+ validate_args(args)
173
175
 
174
176
  # List available themes and exit
175
177
  if args.theme == "list":
@@ -215,17 +217,10 @@ def cli() -> argparse.Namespace:
215
217
  def main() -> None:
216
218
  args = cli()
217
219
 
218
- if args.output:
219
- if not (fmt := guess_file_format(args.output)):
220
- print(
221
- f"Unsupported output file format for `{args.output}`. Supported formats: {', '.join(SUPPORTED_FORMATS)}",
222
- file=sys.stderr,
223
- )
224
- sys.exit(1)
225
-
226
220
  sources = load_dataframe(
227
221
  args.files,
228
222
  delimiter=args.delimiter,
223
+ format=args.format,
229
224
  header=args.header,
230
225
  infer_schema=not args.no_inference,
231
226
  infer_schema_length=args.infer_schema_length,
@@ -261,12 +256,44 @@ def main() -> None:
261
256
 
262
257
  # If output file is specified, write the (optionally modified) data to the output file and exit
263
258
  if args.output:
264
- return convert_file(sources, args.output, fmt)
259
+ return write_file(sources, args.output)
265
260
 
266
261
  # Run the DataFrame Viewer application
267
262
  app = DataFrameViewer(*sources, theme=args.theme)
268
263
  handle_compute_error(app.run())
269
264
 
270
265
 
266
+ def validate_args(args: argparse.Namespace) -> None:
267
+ """Validate command-line arguments and exit with an error message if invalid.
268
+
269
+ Checks for various argument conditions such as file existence, valid delimiters,
270
+ supported formats, and consistency between format and delimiter specifications.
271
+
272
+ Args:
273
+ args: The parsed command-line arguments to validate.
274
+ """
275
+ if args.delimiter and len(args.delimiter) != 1:
276
+ print("Delimiter must be a single character.", file=sys.stderr)
277
+ sys.exit(1)
278
+
279
+ if args.format and args.format not in SUPPORTED_FORMATS:
280
+ print(
281
+ f"Unsupported format: `{args.format}`. Supported formats: {', '.join(SUPPORTED_FORMATS)}", file=sys.stderr
282
+ )
283
+ sys.exit(1)
284
+
285
+ if args.delimiter and args.format:
286
+ print("Cannot specify both delimiter and format.", file=sys.stderr)
287
+ sys.exit(1)
288
+
289
+ if args.output:
290
+ if not guess_file_format(args.output):
291
+ print(
292
+ f"Unsupported output file format for `{args.output}`. Supported formats: {', '.join(SUPPORTED_FORMATS)}",
293
+ file=sys.stderr,
294
+ )
295
+ sys.exit(1)
296
+
297
+
271
298
  if __name__ == "__main__":
272
299
  main()
@@ -1,5 +1,6 @@
1
1
  """Common utilities and constants for dataframe_viewer."""
2
2
 
3
+ import json
3
4
  import os
4
5
  import re
5
6
  import sys
@@ -20,9 +21,10 @@ SUPPORTED_FORMATS = {
20
21
  "xlsx": None,
21
22
  "xls": None,
22
23
  "parquet": None,
23
- "vortex": None,
24
- "json": None,
25
24
  "ndjson": None,
25
+ "jsonl": None,
26
+ "json": None,
27
+ "vortex": None,
26
28
  }
27
29
 
28
30
 
@@ -661,6 +663,7 @@ def guess_file_format(filename: str | Path) -> str | None:
661
663
  def load_dataframe(
662
664
  filenames: list[str],
663
665
  delimiter: str | None = None,
666
+ format: str | None = None,
664
667
  header: bool | list[str] = True,
665
668
  infer_schema: bool = True,
666
669
  infer_schema_length: int | None = 100,
@@ -682,7 +685,8 @@ def load_dataframe(
682
685
 
683
686
  Args:
684
687
  filenames: List of filenames to load. If single filename is "-", read from stdin.
685
- delimiter: Optional delimiter specifier for input files (e.g., ';' for SSV).
688
+ delimiter: Optional delimiter specifier for input files (e.g., ';' for SSV). Defaults to None (infer from file extension).
689
+ format: Optional format specifier for input files (e.g., 'csv' or 'excel'). Defaults to None (infer from file extension).
686
690
  header: Specify header info. for CSV/TSV files. Can be True (header in first line), False (no header, auto-generate column names), or list of column names to use. Defaults to True.
687
691
  infer_schema: Whether to infer data types for CSV/TSV files. Defaults to True.
688
692
  infer_schema_length: Number of rows to use for schema inference when infer_schema is True. Defaults to 100.
@@ -726,6 +730,7 @@ def load_dataframe(
726
730
  source,
727
731
  prefix_sheet=prefix_sheet,
728
732
  delimiter=delimiter,
733
+ format=format,
729
734
  header=header,
730
735
  infer_schema=infer_schema,
731
736
  infer_schema_length=infer_schema_length,
@@ -757,6 +762,7 @@ def load_file(
757
762
  first_sheet: bool = False,
758
763
  prefix_sheet: bool = False,
759
764
  delimiter: str | None = None,
765
+ format: str | None = None,
760
766
  header: bool | list[str] = True,
761
767
  infer_schema_length: int | None = 100,
762
768
  infer_schema: bool = True,
@@ -784,6 +790,7 @@ def load_file(
784
790
  first_sheet: If True, only load first sheet for Excel files. Defaults to False.
785
791
  prefix_sheet: If True, prefix filename to sheet name as the tab name for Excel files. Defaults to False.
786
792
  delimiter: Optional delimiter specifier for input files (e.g., ';' for SSV). Defaults to None (infer from file extension).
793
+ format: Optional format specifier for input files (e.g., 'csv' or 'excel'). Defaults to None (infer from file extension).
787
794
  header: Specify header info. for the input file. Can be True (header in first line), False (no header, auto-generate column names), or list of column names to use.
788
795
  infer_schema: Whether to infer data types for CSV/TSV files. Defaults to True.
789
796
  infer_schema_length: Number of rows to use for inferring schema when reading CSV/TSV. Defaults to 100.
@@ -803,13 +810,8 @@ def load_file(
803
810
  """
804
811
  data: list[Source] = []
805
812
 
806
- fmt = None if delimiter else guess_file_format(source)
807
-
808
- if delimiter:
809
- fmt = None
810
- else:
811
- # Default to TSV if format cannot be determined
812
- fmt = guess_file_format(source) or "tsv"
813
+ fmt = format or (None if delimiter else guess_file_format(source) or "tsv")
814
+ if fmt:
813
815
  delimiter = SUPPORTED_FORMATS.get(fmt)
814
816
 
815
817
  filename = f"stdin.{fmt}" if isinstance(source, StringIO) else source
@@ -871,9 +873,24 @@ def load_file(
871
873
  elif fmt == "parquet":
872
874
  lf = pl.scan_parquet(source, n_rows=n_rows)
873
875
  data.append(Source(lf, filename, filepath.stem))
874
- elif fmt == "vortex":
875
- lf = scan_vortex(source, n_rows=n_rows)
876
- data.append(Source(lf, filename, filepath.stem))
876
+ elif fmt in ("jsonl", "ndjson"):
877
+ # https://github.com/pola-rs/polars/issues/23023
878
+ # read_ndjson does not retain column order for 33 or more columns
879
+ if isinstance(source, StringIO):
880
+ line = source.readline()
881
+ ordered_columns = json.loads(line).keys() # Get column order from the first line
882
+ source.seek(0) # Reset StringIO to the beginning after validation
883
+ else:
884
+ with open(source) as f:
885
+ line = f.readline()
886
+ ordered_columns = json.loads(line).keys() # Get column order from the first line
887
+ lf = pl.scan_ndjson(
888
+ source,
889
+ n_rows=n_rows,
890
+ infer_schema_length=infer_schema_length,
891
+ ignore_errors=ignore_errors,
892
+ )
893
+ data.append(Source(lf.select(ordered_columns), filename, filepath.stem))
877
894
  elif fmt == "json":
878
895
  try:
879
896
  df = pl.read_json(source)
@@ -883,16 +900,11 @@ def load_file(
883
900
  if n_rows is not None:
884
901
  df = df.head(n_rows)
885
902
  data.append(Source(df.lazy(), filename, filepath.stem))
886
- elif fmt == "ndjson":
887
- lf = pl.scan_ndjson(
888
- source,
889
- n_rows=n_rows,
890
- infer_schema_length=infer_schema_length,
891
- ignore_errors=ignore_errors,
892
- )
903
+ elif fmt == "vortex":
904
+ lf = scan_vortex(source, n_rows=n_rows)
893
905
  data.append(Source(lf, filename, filepath.stem))
894
906
  else:
895
- raise ValueError(f"Unsupported file format: {fmt}. Supported formats are: {SUPPORTED_FORMATS}")
907
+ raise ValueError(f"Unsupported file format: {fmt}. Supported formats are: {', '.join(SUPPORTED_FORMATS)}")
896
908
 
897
909
  # Attempt to collect, handling ComputeError for schema inference issues
898
910
  try:
@@ -919,7 +931,14 @@ def load_file(
919
931
  return data
920
932
 
921
933
 
922
- def convert_file(sources: list[Source], filename: str, fmt: str) -> None:
934
+ def write_file(sources: list[Source], filename: str) -> None:
935
+ if not (fmt := guess_file_format(filename)):
936
+ print(
937
+ f"Unsupported output file format for `{filename}`. Supported formats: {', '.join(SUPPORTED_FORMATS)}",
938
+ file=sys.stderr,
939
+ )
940
+ sys.exit(1)
941
+
923
942
  if len(sources) > 1 and fmt not in ("xlsx", "xls"):
924
943
  print("Only Excel formats (.xlsx, .xls) support multiple tabs", file=sys.stderr)
925
944
  sys.exit(1)
@@ -937,7 +956,7 @@ def convert_file(sources: list[Source], filename: str, fmt: str) -> None:
937
956
  sources[0].lf.sink_csv(filename, separator="|")
938
957
  elif fmt == "parquet":
939
958
  sources[0].lf.sink_parquet(filename)
940
- elif fmt == "ndjson":
959
+ elif fmt in ("jsonl", "ndjson"):
941
960
  sources[0].lf.sink_ndjson(filename)
942
961
  elif fmt == "json":
943
962
  sources[0].lf.collect().write_json(filename)
@@ -954,7 +973,10 @@ def convert_file(sources: list[Source], filename: str, fmt: str) -> None:
954
973
  worksheet = wb.add_worksheet(source.tabname)
955
974
  source.lf.collect().write_excel(workbook=wb, worksheet=worksheet)
956
975
  else:
957
- print(f"Unsupported output format: {fmt}. Supported formats are: {SUPPORTED_FORMATS}", file=sys.stderr)
976
+ print(
977
+ f"Unsupported output format: {fmt}. Supported formats are: {', '.join(SUPPORTED_FORMATS)}",
978
+ file=sys.stderr,
979
+ )
958
980
  sys.exit(1)
959
981
  except Exception as e:
960
982
  print(f"Error writing to output file: {e}", file=sys.stderr)
@@ -833,18 +833,18 @@ class DataFrameViewer(App):
833
833
  try:
834
834
  if fmt == "csv":
835
835
  df.write_csv(filename)
836
- elif fmt in ("tsv", "tab"):
836
+ elif fmt == "tsv":
837
837
  df.write_csv(filename, separator="\t")
838
838
  elif fmt == "psv":
839
839
  df.write_csv(filename, separator="|")
840
840
  elif fmt in ("xlsx", "xls"):
841
841
  self.save_excel(filename, all_tabs=all_tabs, use_view=use_view)
842
- elif fmt == "json":
843
- df.write_json(filename)
844
- elif fmt == "ndjson":
845
- df.write_ndjson(filename)
846
842
  elif fmt == "parquet":
847
843
  df.write_parquet(filename)
844
+ elif fmt in ("jsonl", "ndjson"):
845
+ df.write_ndjson(filename)
846
+ elif fmt == "json":
847
+ df.write_json(filename)
848
848
  elif fmt == "vortex":
849
849
  import vortex as vx
850
850
 
@@ -612,16 +612,18 @@ class MetaShape(TableScreen):
612
612
  """Build the metadata table."""
613
613
  self.table.clear(columns=True)
614
614
  self.table.add_column("")
615
- self.table.add_column(Text("Count", justify="right"))
615
+ self.table.add_column(Text("Value", justify="right"))
616
616
 
617
617
  # Get shape information
618
618
  num_rows, num_cols = self.dftable.df.shape
619
619
  num_cols -= 1 # Exclude RID column
620
620
  dc_int = DtypeConfig(pl.Int64)
621
+ dc_str = DtypeConfig(pl.String)
621
622
 
622
623
  # Add rows to the table
623
- self.table.add_row("Row", dc_int.format(num_rows, thousand_separator=self.thousand_separator))
624
- self.table.add_row("Column", dc_int.format(num_cols, thousand_separator=self.thousand_separator))
624
+ self.table.add_row("File Name", dc_str.format(self.dftable.filename, justify="right"))
625
+ self.table.add_row("Row Count", dc_int.format(num_rows, thousand_separator=self.thousand_separator))
626
+ self.table.add_row("Column Count", dc_int.format(num_cols, thousand_separator=self.thousand_separator))
625
627
 
626
628
  self.table.cursor_type = "none"
627
629
 
@@ -141,11 +141,11 @@ wheels = [
141
141
 
142
142
  [[package]]
143
143
  name = "attrs"
144
- version = "25.4.0"
144
+ version = "26.1.0"
145
145
  source = { registry = "https://pypi.org/simple" }
146
- sdist = { url = "https://files.pythonhosted.org/packages/6b/5c/685e6633917e101e5dcb62b9dd76946cbb57c26e133bae9e0cd36033c0a9/attrs-25.4.0.tar.gz", hash = "sha256:16d5969b87f0859ef33a48b35d55ac1be6e42ae49d5e853b597db70c35c57e11", size = 934251, upload-time = "2025-10-06T13:54:44.725Z" }
146
+ sdist = { url = "https://files.pythonhosted.org/packages/9a/8e/82a0fe20a541c03148528be8cac2408564a6c9a0cc7e9171802bc1d26985/attrs-26.1.0.tar.gz", hash = "sha256:d03ceb89cb322a8fd706d4fb91940737b6642aa36998fe130a9bc96c985eff32", size = 952055, upload-time = "2026-03-19T14:22:25.026Z" }
147
147
  wheels = [
148
- { url = "https://files.pythonhosted.org/packages/3a/2a/7cc015f5b9f5db42b7d48157e23356022889fc354a2813c15934b7cb5c0e/attrs-25.4.0-py3-none-any.whl", hash = "sha256:adcf7e2a1fb3b36ac48d97835bb6d8ade15b8dcce26aba8bf1d14847b57a3373", size = 67615, upload-time = "2025-10-06T13:54:43.17Z" },
148
+ { url = "https://files.pythonhosted.org/packages/64/b4/17d4b0b2a2dc85a6df63d1157e028ed19f90d4cd97c36717afef2bc2f395/attrs-26.1.0-py3-none-any.whl", hash = "sha256:c647aa4a12dfbad9333ca4e71fe62ddc36f4e63b2d260a37a8b83d2f043ac309", size = 67548, upload-time = "2026-03-19T14:22:23.645Z" },
149
149
  ]
150
150
 
151
151
  [[package]]
@@ -171,7 +171,7 @@ wheels = [
171
171
 
172
172
  [[package]]
173
173
  name = "dataframe-textual"
174
- version = "2.35.0"
174
+ version = "2.37.0"
175
175
  source = { editable = "." }
176
176
  dependencies = [
177
177
  { name = "fastexcel" },
@@ -194,7 +194,7 @@ dev = [
194
194
  [package.metadata]
195
195
  requires-dist = [
196
196
  { name = "fastexcel", specifier = ">=0.16.0" },
197
- { name = "polars", specifier = ">1.39.0" },
197
+ { name = "polars", specifier = ">=1.39.3" },
198
198
  { name = "textual", extras = ["syntax"], specifier = ">=8.0.2" },
199
199
  { name = "textual-dev", marker = "extra == 'dev'", specifier = ">=1.8.0" },
200
200
  { name = "vortex-data", specifier = ">=0.60.0" },
@@ -654,30 +654,30 @@ wheels = [
654
654
 
655
655
  [[package]]
656
656
  name = "polars"
657
- version = "1.39.2"
657
+ version = "1.39.3"
658
658
  source = { registry = "https://pypi.org/simple" }
659
659
  dependencies = [
660
660
  { name = "polars-runtime-32" },
661
661
  ]
662
- sdist = { url = "https://files.pythonhosted.org/packages/87/33/50d5f19904e48c79e287b825e847bb44ca9d22a010da2c54f011c007c9b4/polars-1.39.2.tar.gz", hash = "sha256:81a522dbc8a90153f8b584db65ada340e02eff35e880b1c8317a4db2972f332e", size = 728976, upload-time = "2026-03-17T17:18:41.405Z" }
662
+ sdist = { url = "https://files.pythonhosted.org/packages/93/ab/f19e592fce9e000da49c96bf35e77cef67f9cb4b040bfa538a2764c0263e/polars-1.39.3.tar.gz", hash = "sha256:2e016c7f3e8d14fa777ef86fe0477cec6c67023a20ba4c94d6e8431eefe4a63c", size = 728987, upload-time = "2026-03-20T11:16:24.836Z" }
663
663
  wheels = [
664
- { url = "https://files.pythonhosted.org/packages/c2/52/306da8d01a324a6ad693baa963dcd180f089882426653605bd418681183b/polars-1.39.2-py3-none-any.whl", hash = "sha256:4c18adebbec09e71021cb54af3b529f5d77b78d0220bb96f251855b418152691", size = 823983, upload-time = "2026-03-17T17:16:35.211Z" },
664
+ { url = "https://files.pythonhosted.org/packages/b4/db/08f4ca10c5018813e7e0b59e4472302328b3d2ab1512f5a2157a814540e0/polars-1.39.3-py3-none-any.whl", hash = "sha256:c2b955ccc0a08a2bc9259785decf3d5c007b489b523bf2390cf21cec2bb82a56", size = 823985, upload-time = "2026-03-20T11:14:23.619Z" },
665
665
  ]
666
666
 
667
667
  [[package]]
668
668
  name = "polars-runtime-32"
669
- version = "1.39.2"
669
+ version = "1.39.3"
670
670
  source = { registry = "https://pypi.org/simple" }
671
- sdist = { url = "https://files.pythonhosted.org/packages/ec/27/f152f8ac761f1bd40f8b97795d812a92fca36e2d9a4a48899a29a4b63759/polars_runtime_32-1.39.2.tar.gz", hash = "sha256:cd140b510aeaa929d868f2dde12b1d9163e6df416a30abbabc936f0dc68f58b8", size = 2871745, upload-time = "2026-03-17T17:18:43.336Z" }
671
+ sdist = { url = "https://files.pythonhosted.org/packages/17/39/c8688696bc22b6c501e3b82ef3be10e543c07a785af5660f30997cd22dd2/polars_runtime_32-1.39.3.tar.gz", hash = "sha256:c728e4f469cafab501947585f36311b8fb222d3e934c6209e83791e0df20b29d", size = 2872335, upload-time = "2026-03-20T11:16:26.581Z" }
672
672
  wheels = [
673
- { url = "https://files.pythonhosted.org/packages/f9/eb/b207c80c0e34ab9bd63dce98edc33c86e76ad3806b57faa551f9cb38483a/polars_runtime_32-1.39.2-cp310-abi3-macosx_10_12_x86_64.whl", hash = "sha256:f8165a49fd3fdb9526f23448ec62186c387ddb8b3a574b1cbe093e7efbf20b97", size = 45273242, upload-time = "2026-03-17T17:16:38.161Z" },
674
- { url = "https://files.pythonhosted.org/packages/2b/75/ceca07b2b6553fff591335213d91c944da13ee56b0dd789793d9dd5ef106/polars_runtime_32-1.39.2-cp310-abi3-macosx_11_0_arm64.whl", hash = "sha256:897deb4b2c878d65d0f753bb79c95b94902e4fb6c8f55693e059f419cebb54e6", size = 40842750, upload-time = "2026-03-17T17:16:41.806Z" },
675
- { url = "https://files.pythonhosted.org/packages/1d/42/e34654ebbba3f46c9a462b96097c425058fd1734e30c90d57f88785580d6/polars_runtime_32-1.39.2-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:eac7180dc99251050c54cc7f8e599167b4f10f0f165f64c593cfc6b6ece11da8", size = 43220738, upload-time = "2026-03-17T17:16:45.414Z" },
676
- { url = "https://files.pythonhosted.org/packages/4b/ad/f95110341491949f7137f1c74b988a6fede81b0b145771f3a69d9001f15a/polars_runtime_32-1.39.2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5895c531f61cad339a6283410c5b142f51c785263970efdea4d3ec571c1d98ef", size = 46877499, upload-time = "2026-03-17T17:16:49.411Z" },
677
- { url = "https://files.pythonhosted.org/packages/1b/1a/3eefef3da464e3f5defd957baa971567062ac8d6503a0922b9bae51cc8ce/polars_runtime_32-1.39.2-cp310-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:4786a82d300e1005b5d3ee3c42f16c5b457d3c34cb5d3e1d2423a41e53a51292", size = 43380175, upload-time = "2026-03-17T17:16:53.309Z" },
678
- { url = "https://files.pythonhosted.org/packages/9e/a4/f50f78fa8349eca7d817fd9f55781ec0bf9dd7de2d41b8fa07559f1a8c26/polars_runtime_32-1.39.2-cp310-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:b3aa5295f1fabde44230d65843974c7eed8e1826ddbe6279fb2af5ad43135432", size = 46485946, upload-time = "2026-03-17T17:16:57.511Z" },
679
- { url = "https://files.pythonhosted.org/packages/ad/38/d39a817f7bcc10b3fac623a862f7747f644a7b25c3fa9471a15676fa38a8/polars_runtime_32-1.39.2-cp310-abi3-win_amd64.whl", hash = "sha256:54681d568a7a33468248406a02d9335e767c838c6a64b0d8ea810ed73561efed", size = 46995460, upload-time = "2026-03-17T17:17:03.078Z" },
680
- { url = "https://files.pythonhosted.org/packages/61/81/ce97dc3d3ebd43f78dd47100110e586df0a48de9668b79806220f948b422/polars_runtime_32-1.39.2-cp310-abi3-win_arm64.whl", hash = "sha256:d4402c8d35a9dcec2049e6b0bcfd13853ef1a0ce456a32b489b81979d3e6f8a5", size = 41857645, upload-time = "2026-03-17T17:17:08.189Z" },
673
+ { url = "https://files.pythonhosted.org/packages/3b/74/1b41205f7368c9375ab1dea91178eaa20435fe3eff036390a53a7660b416/polars_runtime_32-1.39.3-cp310-abi3-macosx_10_12_x86_64.whl", hash = "sha256:425c0b220b573fa097b4042edff73114cc6d23432a21dfd2dc41adf329d7d2e9", size = 45273243, upload-time = "2026-03-20T11:14:26.691Z" },
674
+ { url = "https://files.pythonhosted.org/packages/90/bf/297716b3095fe719be20fcf7af1d2b6ab069c38199bbace2469608a69b3a/polars_runtime_32-1.39.3-cp310-abi3-macosx_11_0_arm64.whl", hash = "sha256:ef5884711e3c617d7dc93519a7d038e242f5741cfe5fe9afd32d58845d86c562", size = 40842924, upload-time = "2026-03-20T11:14:31.154Z" },
675
+ { url = "https://files.pythonhosted.org/packages/3d/3e/e65236d9d0d9babfa0ecba593413c06530fca60a8feb8f66243aa5dba92e/polars_runtime_32-1.39.3-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:06b47f535eb1f97a9a1e5b0053ef50db3a4276e241178e37bbb1a38b1fa53b14", size = 43220650, upload-time = "2026-03-20T11:14:35.458Z" },
676
+ { url = "https://files.pythonhosted.org/packages/b0/15/fc3e43f3fdf3f20b7dfb5abe871ab6162cf8fb4aeabf4cfad822d5dc4c79/polars_runtime_32-1.39.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8bc9e13dc1d2e828331f2fe8ccbc9757554dc4933a8d3e85e906b988178f95ed", size = 46877498, upload-time = "2026-03-20T11:14:40.14Z" },
677
+ { url = "https://files.pythonhosted.org/packages/3c/81/bd5f895919e32c6ab0a7786cd0c0ca961cb03152c47c3645808b54383f31/polars_runtime_32-1.39.3-cp310-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:363d49e3a3e638fc943e2b9887940300a7d06789930855a178a4727949259dc2", size = 43380176, upload-time = "2026-03-20T11:14:45.566Z" },
678
+ { url = "https://files.pythonhosted.org/packages/7a/3e/c86433c3b5ec0315bdfc7640d0c15d41f1216c0103a0eab9a9b5147d6c4c/polars_runtime_32-1.39.3-cp310-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:7c206bdcc7bc62ea038d6adea8e44b02f0e675e0191a54c810703b4895208ea4", size = 46485933, upload-time = "2026-03-20T11:14:51.155Z" },
679
+ { url = "https://files.pythonhosted.org/packages/54/ce/200b310cf91f98e652eb6ea09fdb3a9718aa0293ebf113dce325797c8572/polars_runtime_32-1.39.3-cp310-abi3-win_amd64.whl", hash = "sha256:d66ca522517554a883446957539c40dc7b75eb0c2220357fb28bc8940d305339", size = 46995458, upload-time = "2026-03-20T11:14:56.074Z" },
680
+ { url = "https://files.pythonhosted.org/packages/da/76/2d48927e0aa2abbdde08cbf4a2536883b73277d47fbeca95e952de86df34/polars_runtime_32-1.39.3-cp310-abi3-win_arm64.whl", hash = "sha256:f49f51461de63f13e5dd4eb080421c8f23f856945f3f8bd5b2b1f59da52c2860", size = 41857648, upload-time = "2026-03-20T11:15:01.142Z" },
681
681
  ]
682
682
 
683
683
  [[package]]
@@ -781,17 +781,17 @@ wheels = [
781
781
 
782
782
  [[package]]
783
783
  name = "protobuf"
784
- version = "6.33.5"
784
+ version = "6.33.6"
785
785
  source = { registry = "https://pypi.org/simple" }
786
- sdist = { url = "https://files.pythonhosted.org/packages/ba/25/7c72c307aafc96fa87062aa6291d9f7c94836e43214d43722e86037aac02/protobuf-6.33.5.tar.gz", hash = "sha256:6ddcac2a081f8b7b9642c09406bc6a4290128fce5f471cddd165960bb9119e5c", size = 444465, upload-time = "2026-01-29T21:51:33.494Z" }
786
+ sdist = { url = "https://files.pythonhosted.org/packages/66/70/e908e9c5e52ef7c3a6c7902c9dfbb34c7e29c25d2f81ade3856445fd5c94/protobuf-6.33.6.tar.gz", hash = "sha256:a6768d25248312c297558af96a9f9c929e8c4cee0659cb07e780731095f38135", size = 444531, upload-time = "2026-03-18T19:05:00.988Z" }
787
787
  wheels = [
788
- { url = "https://files.pythonhosted.org/packages/b1/79/af92d0a8369732b027e6d6084251dd8e782c685c72da161bd4a2e00fbabb/protobuf-6.33.5-cp310-abi3-win32.whl", hash = "sha256:d71b040839446bac0f4d162e758bea99c8251161dae9d0983a3b88dee345153b", size = 425769, upload-time = "2026-01-29T21:51:21.751Z" },
789
- { url = "https://files.pythonhosted.org/packages/55/75/bb9bc917d10e9ee13dee8607eb9ab963b7cf8be607c46e7862c748aa2af7/protobuf-6.33.5-cp310-abi3-win_amd64.whl", hash = "sha256:3093804752167bcab3998bec9f1048baae6e29505adaf1afd14a37bddede533c", size = 437118, upload-time = "2026-01-29T21:51:24.022Z" },
790
- { url = "https://files.pythonhosted.org/packages/a2/6b/e48dfc1191bc5b52950246275bf4089773e91cb5ba3592621723cdddca62/protobuf-6.33.5-cp39-abi3-macosx_10_9_universal2.whl", hash = "sha256:a5cb85982d95d906df1e2210e58f8e4f1e3cdc088e52c921a041f9c9a0386de5", size = 427766, upload-time = "2026-01-29T21:51:25.413Z" },
791
- { url = "https://files.pythonhosted.org/packages/4e/b1/c79468184310de09d75095ed1314b839eb2f72df71097db9d1404a1b2717/protobuf-6.33.5-cp39-abi3-manylinux2014_aarch64.whl", hash = "sha256:9b71e0281f36f179d00cbcb119cb19dec4d14a81393e5ea220f64b286173e190", size = 324638, upload-time = "2026-01-29T21:51:26.423Z" },
792
- { url = "https://files.pythonhosted.org/packages/c5/f5/65d838092fd01c44d16037953fd4c2cc851e783de9b8f02b27ec4ffd906f/protobuf-6.33.5-cp39-abi3-manylinux2014_s390x.whl", hash = "sha256:8afa18e1d6d20af15b417e728e9f60f3aa108ee76f23c3b2c07a2c3b546d3afd", size = 339411, upload-time = "2026-01-29T21:51:27.446Z" },
793
- { url = "https://files.pythonhosted.org/packages/9b/53/a9443aa3ca9ba8724fdfa02dd1887c1bcd8e89556b715cfbacca6b63dbec/protobuf-6.33.5-cp39-abi3-manylinux2014_x86_64.whl", hash = "sha256:cbf16ba3350fb7b889fca858fb215967792dc125b35c7976ca4818bee3521cf0", size = 323465, upload-time = "2026-01-29T21:51:28.925Z" },
794
- { url = "https://files.pythonhosted.org/packages/57/bf/2086963c69bdac3d7cff1cc7ff79b8ce5ea0bec6797a017e1be338a46248/protobuf-6.33.5-py3-none-any.whl", hash = "sha256:69915a973dd0f60f31a08b8318b73eab2bd6a392c79184b3612226b0a3f8ec02", size = 170687, upload-time = "2026-01-29T21:51:32.557Z" },
788
+ { url = "https://files.pythonhosted.org/packages/fc/9f/2f509339e89cfa6f6a4c4ff50438db9ca488dec341f7e454adad60150b00/protobuf-6.33.6-cp310-abi3-win32.whl", hash = "sha256:7d29d9b65f8afef196f8334e80d6bc1d5d4adedb449971fefd3723824e6e77d3", size = 425739, upload-time = "2026-03-18T19:04:48.373Z" },
789
+ { url = "https://files.pythonhosted.org/packages/76/5d/683efcd4798e0030c1bab27374fd13a89f7c2515fb1f3123efdfaa5eab57/protobuf-6.33.6-cp310-abi3-win_amd64.whl", hash = "sha256:0cd27b587afca21b7cfa59a74dcbd48a50f0a6400cfb59391340ad729d91d326", size = 437089, upload-time = "2026-03-18T19:04:50.381Z" },
790
+ { url = "https://files.pythonhosted.org/packages/5c/01/a3c3ed5cd186f39e7880f8303cc51385a198a81469d53d0fdecf1f64d929/protobuf-6.33.6-cp39-abi3-macosx_10_9_universal2.whl", hash = "sha256:9720e6961b251bde64edfdab7d500725a2af5280f3f4c87e57c0208376aa8c3a", size = 427737, upload-time = "2026-03-18T19:04:51.866Z" },
791
+ { url = "https://files.pythonhosted.org/packages/ee/90/b3c01fdec7d2f627b3a6884243ba328c1217ed2d978def5c12dc50d328a3/protobuf-6.33.6-cp39-abi3-manylinux2014_aarch64.whl", hash = "sha256:e2afbae9b8e1825e3529f88d514754e094278bb95eadc0e199751cdd9a2e82a2", size = 324610, upload-time = "2026-03-18T19:04:53.096Z" },
792
+ { url = "https://files.pythonhosted.org/packages/9b/ca/25afc144934014700c52e05103c2421997482d561f3101ff352e1292fb81/protobuf-6.33.6-cp39-abi3-manylinux2014_s390x.whl", hash = "sha256:c96c37eec15086b79762ed265d59ab204dabc53056e3443e702d2681f4b39ce3", size = 339381, upload-time = "2026-03-18T19:04:54.616Z" },
793
+ { url = "https://files.pythonhosted.org/packages/16/92/d1e32e3e0d894fe00b15ce28ad4944ab692713f2e7f0a99787405e43533a/protobuf-6.33.6-cp39-abi3-manylinux2014_x86_64.whl", hash = "sha256:e9db7e292e0ab79dd108d7f1a94fe31601ce1ee3f7b79e0692043423020b0593", size = 323436, upload-time = "2026-03-18T19:04:55.768Z" },
794
+ { url = "https://files.pythonhosted.org/packages/c4/72/02445137af02769918a93807b2b7890047c32bfb9f90371cbc12688819eb/protobuf-6.33.6-py3-none-any.whl", hash = "sha256:77179e006c476e69bf8e8ce866640091ec42e1beb80b213c3900006ecfba6901", size = 170656, upload-time = "2026-03-18T19:04:59.826Z" },
795
795
  ]
796
796
 
797
797
  [[package]]
@@ -868,15 +868,25 @@ wheels = [
868
868
 
869
869
  [[package]]
870
870
  name = "substrait"
871
- version = "0.27.0"
871
+ version = "0.28.0"
872
872
  source = { registry = "https://pypi.org/simple" }
873
873
  dependencies = [
874
874
  { name = "protobuf" },
875
+ { name = "substrait-extensions" },
875
876
  { name = "substrait-protobuf" },
876
877
  ]
877
- sdist = { url = "https://files.pythonhosted.org/packages/4d/73/0f3d6a1df07c7868533e78467e8b61a1559844a988c2cd0565aafa7773c2/substrait-0.27.0.tar.gz", hash = "sha256:73d6f90465c8138a10fb912c669a840abb95b04060c7d31faf331e38901bfb0a", size = 173217, upload-time = "2026-01-29T22:51:11.743Z" }
878
+ sdist = { url = "https://files.pythonhosted.org/packages/83/8b/00266dfda600802a45569b28c0f412001e6dc1bb9c264b5aefa77860adc0/substrait-0.28.0.tar.gz", hash = "sha256:0d73925a7fefb0503637d3dad35e70e14e74b2a72fa624ab95514ed79a067cac", size = 115230, upload-time = "2026-03-13T19:20:21.282Z" }
878
879
  wheels = [
879
- { url = "https://files.pythonhosted.org/packages/c6/0b/d048fe689b39f35fac47bd5468b0c1f9deaa265ba5379015b8f1c3e908c3/substrait-0.27.0-py3-none-any.whl", hash = "sha256:09fbb748d61ab9d02149e518c8d282ca4db8caebfbe60c1660b23a28007bbc85", size = 90516, upload-time = "2026-01-29T22:51:10.705Z" },
880
+ { url = "https://files.pythonhosted.org/packages/1a/b8/40c8ac43fe4099f056b84e4652f5e5a8e8c742b5d2850ea1c3dec7ee32b9/substrait-0.28.0-py3-none-any.whl", hash = "sha256:c36c5f424e901534b6150a7cc56fb75d237c6e85ce4c0e95102c16acc8f69414", size = 42028, upload-time = "2026-03-13T19:20:20.195Z" },
881
+ ]
882
+
883
+ [[package]]
884
+ name = "substrait-extensions"
885
+ version = "0.79.0"
886
+ source = { registry = "https://pypi.org/simple" }
887
+ sdist = { url = "https://files.pythonhosted.org/packages/ba/80/d8c822bc2a70026beb80eff121c2dd1160befa2622e4f0a766506b71bba2/substrait_extensions-0.79.0.tar.gz", hash = "sha256:ae295944eb007d5d8243b4e9b818635ee054c6cab224b28e2d45746541b384f2", size = 48636, upload-time = "2026-03-13T17:12:49.411Z" }
888
+ wheels = [
889
+ { url = "https://files.pythonhosted.org/packages/f3/2f/a05dd536db76ba9309bb80df559a203614d107ef2381560872fb12370396/substrait_extensions-0.79.0-py3-none-any.whl", hash = "sha256:4ca15d059b912e7e030b4c7a5f0a7c434206c7543f699e5f896caf9cb0b47b65", size = 101699, upload-time = "2026-03-13T17:12:48.505Z" },
880
890
  ]
881
891
 
882
892
  [[package]]
@@ -893,7 +903,7 @@ wheels = [
893
903
 
894
904
  [[package]]
895
905
  name = "textual"
896
- version = "8.0.2"
906
+ version = "8.1.1"
897
907
  source = { registry = "https://pypi.org/simple" }
898
908
  dependencies = [
899
909
  { name = "markdown-it-py", extra = ["linkify"] },
@@ -903,9 +913,9 @@ dependencies = [
903
913
  { name = "rich" },
904
914
  { name = "typing-extensions" },
905
915
  ]
906
- sdist = { url = "https://files.pythonhosted.org/packages/be/08/c6bcb1e3c4c9528ec9049f4ac685afdafc72866664270f0deb416ccbba2a/textual-8.0.2.tar.gz", hash = "sha256:7b342f3ee9a5f2f1bd42d7b598cae00ff1275da68536769510db4b7fe8cabf5d", size = 6099270, upload-time = "2026-03-03T20:23:46.858Z" }
916
+ sdist = { url = "https://files.pythonhosted.org/packages/72/23/8c709655c5f2208ee82ab81b8104802421865535c278a7649b842b129db1/textual-8.1.1.tar.gz", hash = "sha256:eef0256a6131f06a20ad7576412138c1f30f92ddeedd055953c08d97044bc317", size = 1843002, upload-time = "2026-03-10T10:01:38.493Z" }
907
917
  wheels = [
908
- { url = "https://files.pythonhosted.org/packages/77/bc/0cd17f96f00b6e8bfbca64c574088c85f3c614912b3030f313752e30a099/textual-8.0.2-py3-none-any.whl", hash = "sha256:4ceadbe0e8a30eb80f9995000f4d031f711420a31b02da38f3482957b7c50ce4", size = 719174, upload-time = "2026-03-03T20:23:50.46Z" },
918
+ { url = "https://files.pythonhosted.org/packages/50/21/421b02bf5943172b7a9320712a5e0d74a02a8f7597284e3f8b5b06c70b8d/textual-8.1.1-py3-none-any.whl", hash = "sha256:6712f96e335cd782e76193dee16b9c8875fe0699d923bc8d3f1228fd23e773a6", size = 719598, upload-time = "2026-03-10T10:01:48.318Z" },
909
919
  ]
910
920
 
911
921
  [package.optional-dependencies]
@@ -1156,17 +1166,18 @@ wheels = [
1156
1166
 
1157
1167
  [[package]]
1158
1168
  name = "tree-sitter-rust"
1159
- version = "0.24.0"
1169
+ version = "0.24.1"
1160
1170
  source = { registry = "https://pypi.org/simple" }
1161
- sdist = { url = "https://files.pythonhosted.org/packages/8a/ae/fde1ab896f3d79205add86749f6f443537f59c747616a8fc004c7a453c29/tree_sitter_rust-0.24.0.tar.gz", hash = "sha256:c7185f482717bd41f24ffcd90b5ee24e7e0d6334fecce69f1579609994cd599d", size = 335850, upload-time = "2025-04-01T21:06:03.522Z" }
1171
+ sdist = { url = "https://files.pythonhosted.org/packages/13/6b/20fcc994639fbf5ecc34006b4238ce8be287fc20f5b6f2772a1918d8a7d7/tree_sitter_rust-0.24.1.tar.gz", hash = "sha256:ed8a2f71ac2cb859d2201efb124f04a53bf9c7aa105ef4962fe3e3ba74ea2af9", size = 338854, upload-time = "2026-03-19T17:20:25.839Z" }
1162
1172
  wheels = [
1163
- { url = "https://files.pythonhosted.org/packages/3c/29/0594a6b135d2475d1bb8478029dad127b87856eeb13b23ce55984dd22bb4/tree_sitter_rust-0.24.0-cp39-abi3-macosx_10_9_x86_64.whl", hash = "sha256:7ea455443f5ab245afd8c5ce63a8ae38da455ef27437b459ce3618a9d4ec4f9a", size = 131884, upload-time = "2025-04-01T21:05:56.35Z" },
1164
- { url = "https://files.pythonhosted.org/packages/bf/00/4c400fe94eb3cb141b008b489d582dcd8b41e4168aca5dd8746c47a2b1bc/tree_sitter_rust-0.24.0-cp39-abi3-macosx_11_0_arm64.whl", hash = "sha256:a0a1a2694117a0e86e156b28ee7def810ec94e52402069bf805be22d43e3c1a1", size = 137904, upload-time = "2025-04-01T21:05:57.743Z" },
1165
- { url = "https://files.pythonhosted.org/packages/f3/4d/c5eb85a68a2115d9f5c23fa5590a28873c4cf3b4e17c536ff0cb098e1a91/tree_sitter_rust-0.24.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f3362992ea3150b0dd15577dd59caef4f2926b6e10806f2bb4f2533485acee2f", size = 166554, upload-time = "2025-04-01T21:05:58.965Z" },
1166
- { url = "https://files.pythonhosted.org/packages/ba/72/8ee8cf2bd51bc402531da7d8741838a4ea632b46a8c1e2df9968c7326cc7/tree_sitter_rust-0.24.0-cp39-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bf2c1f4b87df568352a9e523600af7cb32c5748dc75275f4794d6f811ab13dfe", size = 165457, upload-time = "2025-04-01T21:05:59.939Z" },
1167
- { url = "https://files.pythonhosted.org/packages/74/d1/389eecb15c3f8ef4c947fcfbcc794ef4036b3b892c0f981e110860371daa/tree_sitter_rust-0.24.0-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:615f989241b717f14105b1bc621ff0c2200c86f1c3b36f1842d61f6605021152", size = 162857, upload-time = "2025-04-01T21:06:00.835Z" },
1168
- { url = "https://files.pythonhosted.org/packages/b9/df/a6321043d6dee313e5fa3b6a13384119d590393368134cf12f2ee7f9e664/tree_sitter_rust-0.24.0-cp39-abi3-win_amd64.whl", hash = "sha256:2e29be0292eaf1f99389b3af4281f92187612af31ba129e90f4755f762993441", size = 130052, upload-time = "2025-04-01T21:06:01.743Z" },
1169
- { url = "https://files.pythonhosted.org/packages/c8/33/70b320d24cd127d6ca427d2bef1279830f0786a1f2cde160f59b4fb80728/tree_sitter_rust-0.24.0-cp39-abi3-win_arm64.whl", hash = "sha256:7a0538eaf4063b443c6cd80a47df19249f65e27dbdf129396a9193749912d0c0", size = 128583, upload-time = "2025-04-01T21:06:02.58Z" },
1173
+ { url = "https://files.pythonhosted.org/packages/54/c2/a1a9817ac58cebfbf2e3f0c28952c7d902d1accb652bd4da8b900dad4be4/tree_sitter_rust-0.24.1-cp39-abi3-macosx_10_9_x86_64.whl", hash = "sha256:aa99841370343fd5a28e2b4fc8b794da2323bc12ef6a1888f2d160c766e188a9", size = 130439, upload-time = "2026-03-19T17:20:15.036Z" },
1174
+ { url = "https://files.pythonhosted.org/packages/76/be/9b45c2f4b72dc022df7016a0395aea2b7a5575611401786f60a01d803292/tree_sitter_rust-0.24.1-cp39-abi3-macosx_11_0_arm64.whl", hash = "sha256:76d726c56f0a249c2b570e37dbb7bbeec7fb50a3969b824d8bde2fd3cddc3715", size = 137723, upload-time = "2026-03-19T17:20:16.634Z" },
1175
+ { url = "https://files.pythonhosted.org/packages/19/3a/86417abd899f4fb465b7e5abc25f0fc5fac11dfdbbb8f2d7f63825fa521c/tree_sitter_rust-0.24.1-cp39-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:916cc9c29176790d03f03a58135ca28b5f07e9cb11f5c4d2436ef9b2162b6e38", size = 165734, upload-time = "2026-03-19T17:20:17.841Z" },
1176
+ { url = "https://files.pythonhosted.org/packages/3e/05/3afa2fb2f39375a56ae95ff732d50831eeb756f47e6e143fcdadf3fe99f2/tree_sitter_rust-0.24.1-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1e464ca5bc0228c2bc82e851a2f0e2b008cd98b0520c751ff94f0e9ca30072eb", size = 171389, upload-time = "2026-03-19T17:20:19.103Z" },
1177
+ { url = "https://files.pythonhosted.org/packages/c8/e3/1183ff4af2e21df905378c6e1b9d7d8d44f830d99d3725b8be38d760983e/tree_sitter_rust-0.24.1-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:4e2bca06ebc60c3f10b0a9481752eb54364d3d9896beb5c9d6911f8b87c024b3", size = 169931, upload-time = "2026-03-19T17:20:20.418Z" },
1178
+ { url = "https://files.pythonhosted.org/packages/02/55/d66270ede3a572c88d8c5169c14cb5a5ef1d5ee41fb73fe3beb16ed68107/tree_sitter_rust-0.24.1-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:5def913248e9f2b0bf4d402b281cdfcecaad09a60ca3541ff49901fc9195b0ee", size = 163411, upload-time = "2026-03-19T17:20:21.549Z" },
1179
+ { url = "https://files.pythonhosted.org/packages/0b/49/94a55f2c2fa397a760bbe17eb7df38043545ff7ed7b6b1555d01ea8a3693/tree_sitter_rust-0.24.1-cp39-abi3-win_amd64.whl", hash = "sha256:78c72c85d88496a702c86610dadfed0af014d508134ca66896b2ea0baf7557eb", size = 130685, upload-time = "2026-03-19T17:20:23.544Z" },
1180
+ { url = "https://files.pythonhosted.org/packages/8e/08/269f090dced916f032bc84e6ba7474f56f2b33a96acc38e435f307adc1c0/tree_sitter_rust-0.24.1-cp39-abi3-win_arm64.whl", hash = "sha256:4a89771a0463dcefd8c1850eeab82185e0b22aaf4dde14ba56b138c400438622", size = 129316, upload-time = "2026-03-19T17:20:24.673Z" },
1170
1181
  ]
1171
1182
 
1172
1183
  [[package]]
@@ -1251,7 +1262,7 @@ wheels = [
1251
1262
 
1252
1263
  [[package]]
1253
1264
  name = "vortex-data"
1254
- version = "0.61.0"
1265
+ version = "0.65.0"
1255
1266
  source = { registry = "https://pypi.org/simple" }
1256
1267
  dependencies = [
1257
1268
  { name = "pyarrow" },
@@ -1259,10 +1270,10 @@ dependencies = [
1259
1270
  { name = "typing-extensions" },
1260
1271
  ]
1261
1272
  wheels = [
1262
- { url = "https://files.pythonhosted.org/packages/ed/68/72146898aade9b3a3e95829d730c23a0e70bdf0ae0be294a9768f906b2f9/vortex_data-0.61.0-cp311-abi3-macosx_10_12_x86_64.whl", hash = "sha256:6be9f0cce855a38d763999c19048ec243352ca02c7f23fb9c550e1ab9121e06c", size = 34721900, upload-time = "2026-03-03T17:38:05.808Z" },
1263
- { url = "https://files.pythonhosted.org/packages/67/36/7eb9922eca2564edfac66ce18ef73e7bca876f14465ddc8c3e9aaa8dbaf3/vortex_data-0.61.0-cp311-abi3-macosx_11_0_arm64.whl", hash = "sha256:2e6aef27dfad45edfc31bff96472b4808dd4764a82540b6038bd761ff151c55a", size = 32759039, upload-time = "2026-03-03T17:38:09.355Z" },
1264
- { url = "https://files.pythonhosted.org/packages/06/c6/62e2d9eb7812470ae9226fb29476e6a204f3b1b0f25dfe1c4e051d622172/vortex_data-0.61.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:89f51e5c2e00a086a84b9301190a18055ace99c7c0292ff937709583734b893c", size = 30248675, upload-time = "2026-03-03T17:38:12.177Z" },
1265
- { url = "https://files.pythonhosted.org/packages/3d/7e/01b3efa4a3926b5fc3384ff524988e64e2658ab1244b9ec44295ad7baafb/vortex_data-0.61.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d04c39070e12813bd2e9d9818c32b01bc080cd2e9b938178a7fe86eca67aa38a", size = 32400598, upload-time = "2026-03-03T17:38:16.179Z" },
1273
+ { url = "https://files.pythonhosted.org/packages/e1/12/4a1930499ad007ae5eb221d000f096e3cc437eda92633529d37f7874b00e/vortex_data-0.65.0-cp311-abi3-macosx_10_12_x86_64.whl", hash = "sha256:2fc524fb4ca831c16a810e02e5444f206669a6be0672087aec43e5e4b0120c62", size = 34850711, upload-time = "2026-03-25T17:44:18.914Z" },
1274
+ { url = "https://files.pythonhosted.org/packages/d5/4d/f2e8d8d11a6165e4af411fe33e7568bcf85312d1a2e8c3683e8b8eed2ad4/vortex_data-0.65.0-cp311-abi3-macosx_11_0_arm64.whl", hash = "sha256:46c62b4957fc0973f82bd44d4457f2fdae30cee35dabcccf4d7c323bb3ed51a0", size = 32883531, upload-time = "2026-03-25T17:44:22.276Z" },
1275
+ { url = "https://files.pythonhosted.org/packages/7c/8d/b6867c555cfcfe83b133e20fe7cfa3d2b96d98112b631d8001eee5787501/vortex_data-0.65.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:325c5bfc1cbf6552619d8f3563a68a163e61ee955f8812fd88083d467c85c1b3", size = 30408126, upload-time = "2026-03-25T17:44:24.97Z" },
1276
+ { url = "https://files.pythonhosted.org/packages/fe/b0/0bed46a15d03162dfda374a23f169bb84e70d948915e5ad848d6ad15e856/vortex_data-0.65.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:301f210a6f98c4951cbef84efd905448df77c1d41d823bd0be3a8efc7f9dda67", size = 32550957, upload-time = "2026-03-25T17:44:28.079Z" },
1266
1277
  ]
1267
1278
 
1268
1279
  [[package]]