listpick 0.1.13.61__tar.gz → 0.1.14.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 (55) hide show
  1. {listpick-0.1.13.61 → listpick-0.1.14.0}/CHANGELOG.md +12 -0
  2. {listpick-0.1.13.61/src/listpick.egg-info → listpick-0.1.14.0}/PKG-INFO +6 -5
  3. {listpick-0.1.13.61 → listpick-0.1.14.0}/README.md +4 -4
  4. {listpick-0.1.13.61 → listpick-0.1.14.0}/TODO.md +17 -0
  5. {listpick-0.1.13.61 → listpick-0.1.14.0}/requirements.txt +1 -0
  6. {listpick-0.1.13.61 → listpick-0.1.14.0}/setup.py +2 -1
  7. {listpick-0.1.13.61 → listpick-0.1.14.0}/src/listpick/listpick_app.py +314 -70
  8. {listpick-0.1.13.61 → listpick-0.1.14.0}/src/listpick/ui/footer.py +98 -16
  9. {listpick-0.1.13.61 → listpick-0.1.14.0}/src/listpick/utils/generate_data.py +4 -1
  10. {listpick-0.1.13.61 → listpick-0.1.14.0}/src/listpick/utils/table_to_list_of_lists.py +51 -36
  11. {listpick-0.1.13.61 → listpick-0.1.14.0}/src/listpick/utils/utils.py +7 -4
  12. {listpick-0.1.13.61 → listpick-0.1.14.0/src/listpick.egg-info}/PKG-INFO +6 -5
  13. {listpick-0.1.13.61 → listpick-0.1.14.0}/src/listpick.egg-info/SOURCES.txt +0 -9
  14. {listpick-0.1.13.61 → listpick-0.1.14.0}/src/listpick.egg-info/requires.txt +1 -0
  15. listpick-0.1.13.61/examples/footer_string_example.py +0 -21
  16. listpick-0.1.13.61/examples/input.toml +0 -25
  17. listpick-0.1.13.61/examples/input.txt +0 -20
  18. listpick-0.1.13.61/examples/list_files.toml +0 -15
  19. listpick-0.1.13.61/examples/list_files_empty.toml +0 -15
  20. listpick-0.1.13.61/examples/picker_example.py +0 -45
  21. listpick-0.1.13.61/examples/setup.cfg +0 -26
  22. listpick-0.1.13.61/examples/template.py +0 -19
  23. listpick-0.1.13.61/examples/video_duplicates.toml +0 -27
  24. {listpick-0.1.13.61 → listpick-0.1.14.0}/.gitignore +0 -0
  25. {listpick-0.1.13.61 → listpick-0.1.14.0}/LICENSE.txt +0 -0
  26. {listpick-0.1.13.61 → listpick-0.1.14.0}/assets/aria2tui_screenshot.png +0 -0
  27. {listpick-0.1.13.61 → listpick-0.1.14.0}/assets/file_compare.png +0 -0
  28. {listpick-0.1.13.61 → listpick-0.1.14.0}/assets/lpfman.png +0 -0
  29. {listpick-0.1.13.61 → listpick-0.1.14.0}/listpick.py +0 -0
  30. {listpick-0.1.13.61 → listpick-0.1.14.0}/setup.cfg +0 -0
  31. {listpick-0.1.13.61 → listpick-0.1.14.0}/src/listpick/__init__.py +0 -0
  32. {listpick-0.1.13.61 → listpick-0.1.14.0}/src/listpick/__main__.py +0 -0
  33. {listpick-0.1.13.61 → listpick-0.1.14.0}/src/listpick/ui/__init__.py +0 -0
  34. {listpick-0.1.13.61 → listpick-0.1.14.0}/src/listpick/ui/build_help.py +0 -0
  35. {listpick-0.1.13.61 → listpick-0.1.14.0}/src/listpick/ui/help_screen.py +0 -0
  36. {listpick-0.1.13.61 → listpick-0.1.14.0}/src/listpick/ui/input_field.py +0 -0
  37. {listpick-0.1.13.61 → listpick-0.1.14.0}/src/listpick/ui/keys.py +0 -0
  38. {listpick-0.1.13.61 → listpick-0.1.14.0}/src/listpick/ui/pane_stuff.py +0 -0
  39. {listpick-0.1.13.61 → listpick-0.1.14.0}/src/listpick/ui/picker_colours.py +0 -0
  40. {listpick-0.1.13.61 → listpick-0.1.14.0}/src/listpick/utils/__init__.py +0 -0
  41. {listpick-0.1.13.61 → listpick-0.1.14.0}/src/listpick/utils/clipboard_operations.py +0 -0
  42. {listpick-0.1.13.61 → listpick-0.1.14.0}/src/listpick/utils/config.py +0 -0
  43. {listpick-0.1.13.61 → listpick-0.1.14.0}/src/listpick/utils/dump.py +0 -0
  44. {listpick-0.1.13.61 → listpick-0.1.14.0}/src/listpick/utils/filtering.py +0 -0
  45. {listpick-0.1.13.61 → listpick-0.1.14.0}/src/listpick/utils/options_selectors.py +0 -0
  46. {listpick-0.1.13.61 → listpick-0.1.14.0}/src/listpick/utils/paste_operations.py +0 -0
  47. {listpick-0.1.13.61 → listpick-0.1.14.0}/src/listpick/utils/picker_log.py +0 -0
  48. {listpick-0.1.13.61 → listpick-0.1.14.0}/src/listpick/utils/search_and_filter_utils.py +0 -0
  49. {listpick-0.1.13.61 → listpick-0.1.14.0}/src/listpick/utils/searching.py +0 -0
  50. {listpick-0.1.13.61 → listpick-0.1.14.0}/src/listpick/utils/sorting.py +0 -0
  51. {listpick-0.1.13.61 → listpick-0.1.14.0}/src/listpick.egg-info/dependency_links.txt +0 -0
  52. {listpick-0.1.13.61 → listpick-0.1.14.0}/src/listpick.egg-info/entry_points.txt +0 -0
  53. {listpick-0.1.13.61 → listpick-0.1.14.0}/src/listpick.egg-info/top_level.txt +0 -0
  54. {listpick-0.1.13.61 → listpick-0.1.14.0}/tests/kitty_control.sh +0 -0
  55. {listpick-0.1.13.61 → listpick-0.1.14.0}/tests/sorting_dates.csv +0 -0
@@ -10,6 +10,9 @@
10
10
  - Bug fixes:
11
11
  - When data was centred vertically it would take an extra draw_screen loop to determine the proper column widths when the column sizes changed. This has been fixed.
12
12
  - Refreshing sorted data would resort it on the selected column rather than the sort column. Fixed.
13
+ - Fixed error when padding uneven lists when a list of strings is passed instead of a list of lists.
14
+ - Fixed crash when showing certain notifications. The notification message was not being split into lines properly.
15
+ - Fixed wrong page number in the footer when paginate=True.
13
16
  - Added some extra options to the settings:
14
17
  - Toggle header
15
18
  - Toggle row header
@@ -29,6 +32,15 @@
29
32
  - Speed improvements:
30
33
  - Create and track self.selected_cells_by_row when selections change rather than derive it from the self.cell_selections
31
34
  - Much faster with very large data sets as we need to determine selected_cells_by_row every time we run self.draw_screen()
35
+ - We can now pipe data from cells in multiple columns to a command.
36
+ - e.g., pipe two cols to gnuplot
37
+ - Features added:
38
+ - Listpick now supports multiple open files.
39
+ - 'file_next' setting
40
+ - Listpick now supports files with multiple sheets.
41
+ - 'sheet_next' setting
42
+ - Fixed error when opening xlsx files.
43
+ - Can now open multiple files from the command line: listpick -i file1.csv, file2.csv
32
44
 
33
45
  ## [0.1.13] 2025-07-28
34
46
  - Cell-based picker is now supported.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: listpick
3
- Version: 0.1.13.61
3
+ Version: 0.1.14.0
4
4
  Summary: Listpick is a powerful TUI data tool for creating TUI apps or viewing/comparing tabulated data.
5
5
  Home-page: https://github.com/grimandgreedy/listpick
6
6
  Author: Grim
@@ -26,6 +26,7 @@ Requires-Dist: pandas; extra == "full"
26
26
  Requires-Dist: pyperclip; extra == "full"
27
27
  Requires-Dist: toml; extra == "full"
28
28
  Requires-Dist: traitlets; extra == "full"
29
+ Requires-Dist: odfpy; extra == "full"
29
30
  Dynamic: author
30
31
  Dynamic: author-email
31
32
  Dynamic: classifier
@@ -80,7 +81,7 @@ close_curses(stdscr)
80
81
  Use the listpick binary to generate and display rows based on a list of commands:
81
82
 
82
83
  ```
83
- wget https://raw.githubusercontent.com/grimandgreedy/listpick/refs/heads/master/examples/list_files.toml
84
+ wget https://raw.githubusercontent.com/grimandgreedy/listpick/refs/heads/master/examples/data_generation/list_files.toml
84
85
  listpick -g list_files.py
85
86
  ```
86
87
 
@@ -100,9 +101,9 @@ The application allows you to:
100
101
  ## Examples
101
102
 
102
103
 
103
- ### Identify video duplicates (./examples/video_duplicates.toml):
104
+ ### Identify video duplicates (./examples/data_generation//video_duplicates.toml):
104
105
  ```python
105
- listpick -g ./examples/video_duplicates.toml
106
+ listpick -g ./examples/data_generation/video_duplicates.toml
106
107
  ```
107
108
  - From the list of commands in the toml file we generate the properties we will use to identify the duplicates.
108
109
 
@@ -142,7 +143,7 @@ listpick -i ~/dn.pkl -t pkl
142
143
 
143
144
  2. **Generate data based on an toml file with relevant commands to generate the rows.**
144
145
  ```python
145
- listpick -g ./examples/video_duplicates.toml
146
+ listpick -g ./examples/data_generation/video_duplicates.toml
146
147
  ```
147
148
 
148
149
  - See ./examples/
@@ -39,7 +39,7 @@ close_curses(stdscr)
39
39
  Use the listpick binary to generate and display rows based on a list of commands:
40
40
 
41
41
  ```
42
- wget https://raw.githubusercontent.com/grimandgreedy/listpick/refs/heads/master/examples/list_files.toml
42
+ wget https://raw.githubusercontent.com/grimandgreedy/listpick/refs/heads/master/examples/data_generation/list_files.toml
43
43
  listpick -g list_files.py
44
44
  ```
45
45
 
@@ -59,9 +59,9 @@ The application allows you to:
59
59
  ## Examples
60
60
 
61
61
 
62
- ### Identify video duplicates (./examples/video_duplicates.toml):
62
+ ### Identify video duplicates (./examples/data_generation//video_duplicates.toml):
63
63
  ```python
64
- listpick -g ./examples/video_duplicates.toml
64
+ listpick -g ./examples/data_generation/video_duplicates.toml
65
65
  ```
66
66
  - From the list of commands in the toml file we generate the properties we will use to identify the duplicates.
67
67
 
@@ -101,7 +101,7 @@ listpick -i ~/dn.pkl -t pkl
101
101
 
102
102
  2. **Generate data based on an toml file with relevant commands to generate the rows.**
103
103
  ```python
104
- listpick -g ./examples/video_duplicates.toml
104
+ listpick -g ./examples/data_generation/video_duplicates.toml
105
105
  ```
106
106
 
107
107
  - See ./examples/
@@ -5,6 +5,21 @@ ASAP
5
5
  > - [ ] Unify in-app load and command-line input file
6
6
  > - [ ] Implement default_option_selector and pass the picker options (!!!)
7
7
  > - [ ] Make sure that all class initialisation variables are returned in the get_function_variables function.
8
+ > - [ ] Go through each of the class variables and see which should be held as common in set_function_data
9
+ > - [ ] Make input field look better:
10
+ > - [ ] During input
11
+ > - [ ] While being displayed.
12
+ > - [ ] Handle multiple files
13
+ > - [x] Display 'open' files in footer
14
+ > - [x] Open multiple files with file_picker
15
+ > - [x] Switch between 'open' files
16
+ > - [ ] Handle unsaved files.
17
+ > - [x] Remember state when switching between files.
18
+ > - [x] Selections
19
+ > - [ ] Add support in the alternate footers
20
+ > - [x] Handle files with multiple sheets.
21
+ > - [ ] Add support in the alternate footers
22
+ > - [ ] Support opening multiple files from the command line.
8
23
 
9
24
 
10
25
 
@@ -259,6 +274,8 @@ ASAP
259
274
  > - [ ] Add a broader editor_picker option which enables/disables add/remove columns in the settings.
260
275
  > - [ ] If no -t type argument is given then guess filetype.
261
276
  > - [ ] Add row selection using 'V'--select all cells in a row.
277
+ > - [ ] Add option for those who don't use a nerdfont.
278
+ > - [ ] refreshing symbol, pin cursor symbol,
262
279
 
263
280
  > [!Bug] Bugs
264
281
  > - [ ] fix resizing when input field active
@@ -10,3 +10,4 @@ tmp==0.0.2
10
10
  toml==0.10.2
11
11
  traitlets==5.14.3
12
12
  wcwidth==0.2.13
13
+ odfpy
@@ -16,7 +16,7 @@ with open("README.md", "r", encoding = "utf-8") as fh:
16
16
 
17
17
  setuptools.setup(
18
18
  name = "listpick",
19
- version = "0.1.13.61",
19
+ version = "0.1.14.0",
20
20
  author = "Grim",
21
21
  author_email = "grimandgreedy@protonmail.com",
22
22
  description = "Listpick is a powerful TUI data tool for creating TUI apps or viewing/comparing tabulated data.",
@@ -59,6 +59,7 @@ setuptools.setup(
59
59
  "pyperclip",
60
60
  "toml",
61
61
  "traitlets",
62
+ "odfpy",
62
63
  ]
63
64
  },
64
65