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.
- {dataframe_textual-2.35.0 → dataframe_textual-2.37.0}/PKG-INFO +23 -32
- {dataframe_textual-2.35.0 → dataframe_textual-2.37.0}/README.md +21 -30
- {dataframe_textual-2.35.0 → dataframe_textual-2.37.0}/pyproject.toml +2 -2
- {dataframe_textual-2.35.0 → dataframe_textual-2.37.0}/src/dataframe_textual/__main__.py +43 -16
- {dataframe_textual-2.35.0 → dataframe_textual-2.37.0}/src/dataframe_textual/common.py +46 -24
- {dataframe_textual-2.35.0 → dataframe_textual-2.37.0}/src/dataframe_textual/data_frame_viewer.py +5 -5
- {dataframe_textual-2.35.0 → dataframe_textual-2.37.0}/src/dataframe_textual/table_screen.py +5 -3
- {dataframe_textual-2.35.0 → dataframe_textual-2.37.0}/uv.lock +58 -47
- {dataframe_textual-2.35.0 → dataframe_textual-2.37.0}/.gitignore +0 -0
- {dataframe_textual-2.35.0 → dataframe_textual-2.37.0}/LICENSE +0 -0
- {dataframe_textual-2.35.0 → dataframe_textual-2.37.0}/main.py +0 -0
- {dataframe_textual-2.35.0 → dataframe_textual-2.37.0}/src/dataframe_textual/__init__.py +0 -0
- {dataframe_textual-2.35.0 → dataframe_textual-2.37.0}/src/dataframe_textual/data_frame_help_panel.py +0 -0
- {dataframe_textual-2.35.0 → dataframe_textual-2.37.0}/src/dataframe_textual/data_frame_table.py +0 -0
- {dataframe_textual-2.35.0 → dataframe_textual-2.37.0}/src/dataframe_textual/file_picker_screen.py +0 -0
- {dataframe_textual-2.35.0 → dataframe_textual-2.37.0}/src/dataframe_textual/loading_screen.py +0 -0
- {dataframe_textual-2.35.0 → dataframe_textual-2.37.0}/src/dataframe_textual/theme_screen.py +0 -0
- {dataframe_textual-2.35.0 → dataframe_textual-2.37.0}/src/dataframe_textual/yes_no_screen.py +0 -0
- {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.
|
|
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
|
|
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
|

|
|
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]]
|
|
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
|
-
|
|
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
|
|
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
|
-
#
|
|
185
|
+
# Gzipped files are supported
|
|
202
186
|
dv data.csv.gz
|
|
203
187
|
|
|
204
|
-
# Read from stdin
|
|
205
|
-
|
|
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 -
|
|
235
|
+
dv data.csv -F
|
|
245
236
|
|
|
246
237
|
# Read only specific columns: 'name', 'age', first column, and last column
|
|
247
|
-
dv data.csv -
|
|
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
|

|
|
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]]
|
|
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
|
-
|
|
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
|
|
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
|
-
#
|
|
146
|
+
# Gzipped files are supported
|
|
163
147
|
dv data.csv.gz
|
|
164
148
|
|
|
165
|
-
# Read from stdin
|
|
166
|
-
|
|
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 -
|
|
196
|
+
dv data.csv -F
|
|
206
197
|
|
|
207
198
|
# Read only specific columns: 'name', 'age', first column, and last column
|
|
208
|
-
dv data.csv -
|
|
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.
|
|
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
|
|
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,
|
|
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
|
|
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
|
|
875
|
-
|
|
876
|
-
|
|
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 == "
|
|
887
|
-
lf =
|
|
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
|
|
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
|
|
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(
|
|
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)
|
{dataframe_textual-2.35.0 → dataframe_textual-2.37.0}/src/dataframe_textual/data_frame_viewer.py
RENAMED
|
@@ -833,18 +833,18 @@ class DataFrameViewer(App):
|
|
|
833
833
|
try:
|
|
834
834
|
if fmt == "csv":
|
|
835
835
|
df.write_csv(filename)
|
|
836
|
-
elif fmt
|
|
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("
|
|
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("
|
|
624
|
-
self.table.add_row("
|
|
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 = "
|
|
144
|
+
version = "26.1.0"
|
|
145
145
|
source = { registry = "https://pypi.org/simple" }
|
|
146
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
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/
|
|
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.
|
|
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 = "
|
|
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.
|
|
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/
|
|
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/
|
|
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.
|
|
669
|
+
version = "1.39.3"
|
|
670
670
|
source = { registry = "https://pypi.org/simple" }
|
|
671
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
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/
|
|
674
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
675
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
676
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
677
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
678
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
679
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
680
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
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.
|
|
784
|
+
version = "6.33.6"
|
|
785
785
|
source = { registry = "https://pypi.org/simple" }
|
|
786
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
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/
|
|
789
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
790
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
791
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
792
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
793
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
794
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
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.
|
|
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/
|
|
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/
|
|
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.
|
|
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/
|
|
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/
|
|
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.
|
|
1169
|
+
version = "0.24.1"
|
|
1160
1170
|
source = { registry = "https://pypi.org/simple" }
|
|
1161
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
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/
|
|
1164
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1165
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1166
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1167
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1168
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1169
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
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.
|
|
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/
|
|
1263
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1264
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1265
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
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]]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dataframe_textual-2.35.0 → dataframe_textual-2.37.0}/src/dataframe_textual/data_frame_help_panel.py
RENAMED
|
File without changes
|
{dataframe_textual-2.35.0 → dataframe_textual-2.37.0}/src/dataframe_textual/data_frame_table.py
RENAMED
|
File without changes
|
{dataframe_textual-2.35.0 → dataframe_textual-2.37.0}/src/dataframe_textual/file_picker_screen.py
RENAMED
|
File without changes
|
{dataframe_textual-2.35.0 → dataframe_textual-2.37.0}/src/dataframe_textual/loading_screen.py
RENAMED
|
File without changes
|
|
File without changes
|
{dataframe_textual-2.35.0 → dataframe_textual-2.37.0}/src/dataframe_textual/yes_no_screen.py
RENAMED
|
File without changes
|
|
File without changes
|