listpick 0.1.16.8__tar.gz → 0.1.16.9__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.

Potentially problematic release.


This version of listpick might be problematic. Click here for more details.

Files changed (67) hide show
  1. {listpick-0.1.16.8 → listpick-0.1.16.9}/CHANGELOG.md +4 -0
  2. {listpick-0.1.16.8/src/listpick.egg-info → listpick-0.1.16.9}/PKG-INFO +17 -16
  3. {listpick-0.1.16.8 → listpick-0.1.16.9}/README.md +16 -15
  4. {listpick-0.1.16.8 → listpick-0.1.16.9}/TODO.md +11 -0
  5. {listpick-0.1.16.8 → listpick-0.1.16.9}/setup.py +1 -1
  6. {listpick-0.1.16.8 → listpick-0.1.16.9}/src/listpick/listpick_app.py +296 -73
  7. listpick-0.1.16.9/src/listpick/pane/left_pane_functions.py +198 -0
  8. listpick-0.1.16.9/src/listpick/pane/pane_functions_1.py +175 -0
  9. {listpick-0.1.16.8 → listpick-0.1.16.9}/src/listpick/ui/build_help.py +4 -2
  10. {listpick-0.1.16.8 → listpick-0.1.16.9}/src/listpick/ui/keys.py +3 -1
  11. {listpick-0.1.16.8 → listpick-0.1.16.9/src/listpick.egg-info}/PKG-INFO +17 -16
  12. {listpick-0.1.16.8 → listpick-0.1.16.9}/src/listpick.egg-info/SOURCES.txt +2 -0
  13. {listpick-0.1.16.8 → listpick-0.1.16.9}/.gitignore +0 -0
  14. {listpick-0.1.16.8 → listpick-0.1.16.9}/LICENSE.txt +0 -0
  15. {listpick-0.1.16.8 → listpick-0.1.16.9}/assets/aria2tui_screenshot.png +0 -0
  16. {listpick-0.1.16.8 → listpick-0.1.16.9}/assets/file_compare.png +0 -0
  17. {listpick-0.1.16.8 → listpick-0.1.16.9}/assets/lpfman.png +0 -0
  18. {listpick-0.1.16.8 → listpick-0.1.16.9}/examples/data_generation/list_files.toml +0 -0
  19. {listpick-0.1.16.8 → listpick-0.1.16.9}/examples/data_generation/list_files_empty.toml +0 -0
  20. {listpick-0.1.16.8 → listpick-0.1.16.9}/examples/data_generation/video_duplicates.toml +0 -0
  21. {listpick-0.1.16.8 → listpick-0.1.16.9}/examples/data_generation/video_mediainfo.toml +0 -0
  22. {listpick-0.1.16.8 → listpick-0.1.16.9}/examples/input_files/polynomials.tsv +0 -0
  23. {listpick-0.1.16.8 → listpick-0.1.16.9}/examples/input_guides/gnuplot_graph.md +0 -0
  24. {listpick-0.1.16.8 → listpick-0.1.16.9}/examples/picker/auxiallary_files/2024-25_Premier_League.pkl +0 -0
  25. {listpick-0.1.16.8 → listpick-0.1.16.9}/examples/picker/footer_string_example.py +0 -0
  26. {listpick-0.1.16.8 → listpick-0.1.16.9}/examples/picker/picker_example.py +0 -0
  27. {listpick-0.1.16.8 → listpick-0.1.16.9}/examples/picker/template.py +0 -0
  28. {listpick-0.1.16.8 → listpick-0.1.16.9}/examples/picker/wikipedia_table.py +0 -0
  29. {listpick-0.1.16.8 → listpick-0.1.16.9}/listpick.py +0 -0
  30. {listpick-0.1.16.8 → listpick-0.1.16.9}/requirements.txt +0 -0
  31. {listpick-0.1.16.8 → listpick-0.1.16.9}/setup.cfg +0 -0
  32. {listpick-0.1.16.8 → listpick-0.1.16.9}/src/listpick/__init__.py +0 -0
  33. {listpick-0.1.16.8 → listpick-0.1.16.9}/src/listpick/__main__.py +0 -0
  34. {listpick-0.1.16.8 → listpick-0.1.16.9}/src/listpick/pane/__init__.py +0 -0
  35. {listpick-0.1.16.8 → listpick-0.1.16.9}/src/listpick/pane/get_data.py +0 -0
  36. {listpick-0.1.16.8 → listpick-0.1.16.9}/src/listpick/pane/pane_functions.py +0 -0
  37. {listpick-0.1.16.8 → listpick-0.1.16.9}/src/listpick/pane/pane_utils.py +0 -0
  38. {listpick-0.1.16.8 → listpick-0.1.16.9}/src/listpick/ui/__init__.py +0 -0
  39. {listpick-0.1.16.8 → listpick-0.1.16.9}/src/listpick/ui/draw_screen.py +0 -0
  40. {listpick-0.1.16.8 → listpick-0.1.16.9}/src/listpick/ui/footer.py +0 -0
  41. {listpick-0.1.16.8 → listpick-0.1.16.9}/src/listpick/ui/help_screen.py +0 -0
  42. {listpick-0.1.16.8 → listpick-0.1.16.9}/src/listpick/ui/input_field.py +0 -0
  43. {listpick-0.1.16.8 → listpick-0.1.16.9}/src/listpick/ui/picker_colours.py +0 -0
  44. {listpick-0.1.16.8 → listpick-0.1.16.9}/src/listpick/utils/__init__.py +0 -0
  45. {listpick-0.1.16.8 → listpick-0.1.16.9}/src/listpick/utils/clipboard_operations.py +0 -0
  46. {listpick-0.1.16.8 → listpick-0.1.16.9}/src/listpick/utils/config.py +0 -0
  47. {listpick-0.1.16.8 → listpick-0.1.16.9}/src/listpick/utils/dump.py +0 -0
  48. {listpick-0.1.16.8 → listpick-0.1.16.9}/src/listpick/utils/filtering.py +0 -0
  49. {listpick-0.1.16.8 → listpick-0.1.16.9}/src/listpick/utils/generate_data.py +0 -0
  50. {listpick-0.1.16.8 → listpick-0.1.16.9}/src/listpick/utils/generate_data_multithreaded.py +0 -0
  51. {listpick-0.1.16.8 → listpick-0.1.16.9}/src/listpick/utils/graphing.py +0 -0
  52. {listpick-0.1.16.8 → listpick-0.1.16.9}/src/listpick/utils/keycodes.py +0 -0
  53. {listpick-0.1.16.8 → listpick-0.1.16.9}/src/listpick/utils/options_selectors.py +0 -0
  54. {listpick-0.1.16.8 → listpick-0.1.16.9}/src/listpick/utils/paste_operations.py +0 -0
  55. {listpick-0.1.16.8 → listpick-0.1.16.9}/src/listpick/utils/picker_log.py +0 -0
  56. {listpick-0.1.16.8 → listpick-0.1.16.9}/src/listpick/utils/search_and_filter_utils.py +0 -0
  57. {listpick-0.1.16.8 → listpick-0.1.16.9}/src/listpick/utils/searching.py +0 -0
  58. {listpick-0.1.16.8 → listpick-0.1.16.9}/src/listpick/utils/sorting.py +0 -0
  59. {listpick-0.1.16.8 → listpick-0.1.16.9}/src/listpick/utils/table_to_list_of_lists.py +0 -0
  60. {listpick-0.1.16.8 → listpick-0.1.16.9}/src/listpick/utils/user_input.py +0 -0
  61. {listpick-0.1.16.8 → listpick-0.1.16.9}/src/listpick/utils/utils.py +0 -0
  62. {listpick-0.1.16.8 → listpick-0.1.16.9}/src/listpick.egg-info/dependency_links.txt +0 -0
  63. {listpick-0.1.16.8 → listpick-0.1.16.9}/src/listpick.egg-info/entry_points.txt +0 -0
  64. {listpick-0.1.16.8 → listpick-0.1.16.9}/src/listpick.egg-info/requires.txt +0 -0
  65. {listpick-0.1.16.8 → listpick-0.1.16.9}/src/listpick.egg-info/top_level.txt +0 -0
  66. {listpick-0.1.16.8 → listpick-0.1.16.9}/tests/kitty_control.sh +0 -0
  67. {listpick-0.1.16.8 → listpick-0.1.16.9}/tests/sorting_dates.csv +0 -0
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG.md
2
2
  Note that the changes between 0.1.11.0 and 1.1.12.0 are listed under 0.1.11
3
+ ## [0.1.16.9] 2025-09-22
4
+ - Feature added: support for displaying a left pane.
5
+ - Adjust leftmost_char when we resize the terminal.
6
+ - Added option to settings to allow one to precisely set the leftmost_char from the settings--lmc=83
3
7
 
4
8
  ## [0.1.16.4-6] 2025-09-09
5
9
  - Ensured that the previous terminal settings are restored after exiting the picker.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: listpick
3
- Version: 0.1.16.8
3
+ Version: 0.1.16.9
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
@@ -41,7 +41,7 @@ Dynamic: requires-dist
41
41
  Dynamic: requires-python
42
42
  Dynamic: summary
43
43
 
44
- # listpick
44
+ qq# listpick
45
45
 
46
46
  listpick is a TUI tool which displays a tabulated list of rows and allows the user to operate upon these rows--select, copy, pipe. A very simple concept but also, I hope, a powerful tool that will make it easier for people to develop TUI apps.
47
47
 
@@ -102,31 +102,32 @@ The application allows you to:
102
102
  ## Examples
103
103
 
104
104
 
105
- ### Identify video duplicates (./examples/data_generation//video_duplicates.toml):
106
- ```python
107
- listpick -g ./examples/data_generation/video_duplicates.toml
108
- ```
109
- - From the list of commands in the toml file we generate the properties we will use to identify the duplicates.
110
105
 
111
- - In the example file we set the directory and get the files with a simle `eza` (`ls`) command. We could also use `find` or `cat` from a list of files.
106
+ ### Aria2TUI
112
107
 
108
+ [Aria2TUI](https://github.com/grimandgreedy/Aria2TUI) is implemented using listpick. This is a good example of how listpick can be used for menus, data viewing, and active data retrieval.
113
109
 
114
- - We get the SHA1 hash to identify identical files; we also get the size, duration, resolution, and bitrate so that we can identify a video duplicate that may have the same duration but a lower resolution.
110
+ <div align="center"> <img src="assets/aria2tui_graph_screenshot.png" alt="Aria2TUI" width="70%"> </div>
115
111
 
116
- <div align="center"> <img src="assets/file_compare.png" alt="Video Compare" width="70%"> </div>
112
+ ### lpfman
113
+ [lpfman](https://github.com/grimandgreedy/lpfman) is a terminal file manager with extensive column support.
117
114
 
115
+ <div align="center"> <img src="https://github.com/grimandgreedy/lpfman/blob/master/assets/lpfman_image_preview.png?raw=true" alt="lpfman" width="70%"> </div>
118
116
 
119
- ### Aria2TUI
120
117
 
121
- [Aria2TUI](https://github.com/grimandgreedy/Aria2TUI) is implemented using listpick. This is a good example of how listpick can be used for menus, data viewing, and active data retrieval.
118
+ ### Data generation from toml file
119
+
120
+ ```python
121
+ listpick -g ./examples/data_generation/video_duplicates.toml
122
+ ```
123
+ - From the list of commands in the toml file we generate the properties we will use to identify the duplicates.
122
124
 
123
- <div align="center"> <img src="assets/aria2tui_screenshot.png" alt="Aria2TUI" width="70%"> </div>
125
+ - In the example file we set the directory and get the files with a simle `eza` (`ls`) command. We could also use `find` or `cat` from a list of files.
124
126
 
125
- ### lpfman
126
- [lpfman](https://github.com/grimandgreedy/lpfman) is a basic file manager created for the purposes of illustrating how easy TUI apps can be developed with the use of listpick. In 20 minutes and <100 lines of code we made a very basic file manager.
127
127
 
128
- <div align="center"> <img src="assets/lpfman.png" alt="lpfman" width="70%"> </div>
128
+ - We get the SHA1 hash to identify identical files; we also get the size, duration, resolution, and bitrate so that we can identify a video duplicate that may have the same duration but a lower resolution.
129
129
 
130
+ <div align="center"> <img src="assets/file_compare.png" alt="Video Compare" width="70%"> </div>
130
131
 
131
132
 
132
133
  ## Description
@@ -1,4 +1,4 @@
1
- # listpick
1
+ qq# listpick
2
2
 
3
3
  listpick is a TUI tool which displays a tabulated list of rows and allows the user to operate upon these rows--select, copy, pipe. A very simple concept but also, I hope, a powerful tool that will make it easier for people to develop TUI apps.
4
4
 
@@ -59,31 +59,32 @@ The application allows you to:
59
59
  ## Examples
60
60
 
61
61
 
62
- ### Identify video duplicates (./examples/data_generation//video_duplicates.toml):
63
- ```python
64
- listpick -g ./examples/data_generation/video_duplicates.toml
65
- ```
66
- - From the list of commands in the toml file we generate the properties we will use to identify the duplicates.
67
62
 
68
- - In the example file we set the directory and get the files with a simle `eza` (`ls`) command. We could also use `find` or `cat` from a list of files.
63
+ ### Aria2TUI
69
64
 
65
+ [Aria2TUI](https://github.com/grimandgreedy/Aria2TUI) is implemented using listpick. This is a good example of how listpick can be used for menus, data viewing, and active data retrieval.
70
66
 
71
- - We get the SHA1 hash to identify identical files; we also get the size, duration, resolution, and bitrate so that we can identify a video duplicate that may have the same duration but a lower resolution.
67
+ <div align="center"> <img src="assets/aria2tui_graph_screenshot.png" alt="Aria2TUI" width="70%"> </div>
72
68
 
73
- <div align="center"> <img src="assets/file_compare.png" alt="Video Compare" width="70%"> </div>
69
+ ### lpfman
70
+ [lpfman](https://github.com/grimandgreedy/lpfman) is a terminal file manager with extensive column support.
74
71
 
72
+ <div align="center"> <img src="https://github.com/grimandgreedy/lpfman/blob/master/assets/lpfman_image_preview.png?raw=true" alt="lpfman" width="70%"> </div>
75
73
 
76
- ### Aria2TUI
77
74
 
78
- [Aria2TUI](https://github.com/grimandgreedy/Aria2TUI) is implemented using listpick. This is a good example of how listpick can be used for menus, data viewing, and active data retrieval.
75
+ ### Data generation from toml file
76
+
77
+ ```python
78
+ listpick -g ./examples/data_generation/video_duplicates.toml
79
+ ```
80
+ - From the list of commands in the toml file we generate the properties we will use to identify the duplicates.
79
81
 
80
- <div align="center"> <img src="assets/aria2tui_screenshot.png" alt="Aria2TUI" width="70%"> </div>
82
+ - In the example file we set the directory and get the files with a simle `eza` (`ls`) command. We could also use `find` or `cat` from a list of files.
81
83
 
82
- ### lpfman
83
- [lpfman](https://github.com/grimandgreedy/lpfman) is a basic file manager created for the purposes of illustrating how easy TUI apps can be developed with the use of listpick. In 20 minutes and <100 lines of code we made a very basic file manager.
84
84
 
85
- <div align="center"> <img src="assets/lpfman.png" alt="lpfman" width="70%"> </div>
85
+ - We get the SHA1 hash to identify identical files; we also get the size, duration, resolution, and bitrate so that we can identify a video duplicate that may have the same duration but a lower resolution.
86
86
 
87
+ <div align="center"> <img src="assets/file_compare.png" alt="Video Compare" width="70%"> </div>
87
88
 
88
89
 
89
90
  ## Description
@@ -41,6 +41,17 @@
41
41
  > - [ ] Go to a loading directory > filter > move down the entries. We are brought back to the top.
42
42
  > - [ ] Probably due to calling Picker.initialise_variables() when we get new data.
43
43
  > - [ ] Allow multiple files to be added with different generation functions.
44
+ > - [ ] Use os.get_terminal_size rather than curses getmaxyx
45
+ > - [ ] We have to get the size of a subwindow in a picker... this subwindow needs to call curses.window.getmaxyx...
46
+ > - [ ] notification,
47
+ > - [ ] Fix pane width adjustment in calculate_section_sizes when the panes are bigger than the screen.
48
+ > - [ ] Add different pane width options:
49
+ > - [x] proportion
50
+ > - [ ] fixed size
51
+ > - [ ] function
52
+ > - [ ] Add alternating header colours so they can be more easily distinguished
53
+ > - [ ] Add new opts key
54
+ > - [ ] Add option to display empty rows with separator value (e.g., show empty cells with |)
44
55
 
45
56
 
46
57
 
@@ -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.16.8",
19
+ version = "0.1.16.9",
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.",