listpick 0.1.16.8__tar.gz → 0.1.16.10__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.
- {listpick-0.1.16.8 → listpick-0.1.16.10}/CHANGELOG.md +11 -0
- {listpick-0.1.16.8/src/listpick.egg-info → listpick-0.1.16.10}/PKG-INFO +17 -16
- {listpick-0.1.16.8 → listpick-0.1.16.10}/README.md +16 -15
- {listpick-0.1.16.8 → listpick-0.1.16.10}/TODO.md +11 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/setup.py +1 -1
- {listpick-0.1.16.8 → listpick-0.1.16.10}/src/listpick/listpick_app.py +331 -75
- listpick-0.1.16.10/src/listpick/pane/left_pane_functions.py +198 -0
- listpick-0.1.16.10/src/listpick/pane/pane_functions_1.py +175 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/src/listpick/ui/build_help.py +4 -2
- {listpick-0.1.16.8 → listpick-0.1.16.10}/src/listpick/ui/keys.py +3 -1
- {listpick-0.1.16.8 → listpick-0.1.16.10/src/listpick.egg-info}/PKG-INFO +17 -16
- {listpick-0.1.16.8 → listpick-0.1.16.10}/src/listpick.egg-info/SOURCES.txt +2 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/.gitignore +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/LICENSE.txt +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/assets/aria2tui_screenshot.png +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/assets/file_compare.png +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/assets/lpfman.png +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/examples/data_generation/list_files.toml +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/examples/data_generation/list_files_empty.toml +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/examples/data_generation/video_duplicates.toml +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/examples/data_generation/video_mediainfo.toml +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/examples/input_files/polynomials.tsv +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/examples/input_guides/gnuplot_graph.md +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/examples/picker/auxiallary_files/2024-25_Premier_League.pkl +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/examples/picker/footer_string_example.py +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/examples/picker/picker_example.py +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/examples/picker/template.py +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/examples/picker/wikipedia_table.py +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/listpick.py +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/requirements.txt +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/setup.cfg +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/src/listpick/__init__.py +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/src/listpick/__main__.py +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/src/listpick/pane/__init__.py +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/src/listpick/pane/get_data.py +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/src/listpick/pane/pane_functions.py +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/src/listpick/pane/pane_utils.py +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/src/listpick/ui/__init__.py +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/src/listpick/ui/draw_screen.py +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/src/listpick/ui/footer.py +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/src/listpick/ui/help_screen.py +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/src/listpick/ui/input_field.py +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/src/listpick/ui/picker_colours.py +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/src/listpick/utils/__init__.py +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/src/listpick/utils/clipboard_operations.py +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/src/listpick/utils/config.py +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/src/listpick/utils/dump.py +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/src/listpick/utils/filtering.py +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/src/listpick/utils/generate_data.py +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/src/listpick/utils/generate_data_multithreaded.py +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/src/listpick/utils/graphing.py +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/src/listpick/utils/keycodes.py +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/src/listpick/utils/options_selectors.py +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/src/listpick/utils/paste_operations.py +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/src/listpick/utils/picker_log.py +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/src/listpick/utils/search_and_filter_utils.py +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/src/listpick/utils/searching.py +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/src/listpick/utils/sorting.py +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/src/listpick/utils/table_to_list_of_lists.py +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/src/listpick/utils/user_input.py +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/src/listpick/utils/utils.py +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/src/listpick.egg-info/dependency_links.txt +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/src/listpick.egg-info/entry_points.txt +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/src/listpick.egg-info/requires.txt +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/src/listpick.egg-info/top_level.txt +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/tests/kitty_control.sh +0 -0
- {listpick-0.1.16.8 → listpick-0.1.16.10}/tests/sorting_dates.csv +0 -0
|
@@ -1,6 +1,17 @@
|
|
|
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
3
|
|
|
4
|
+
## [0.1.16.10] 2025-09-23
|
|
5
|
+
- Created separate header_separator with " |" as the default which shows borders between the column-headers.
|
|
6
|
+
- Created ensure_no_overscroll() method to ensure we do not scroll past the data-set when we move the cursor down, select different columns, resize the terminal, etc.
|
|
7
|
+
- Mostly needed for consistency as each of these actions had effectively implemented their own version.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
## [0.1.16.9] 2025-09-22
|
|
11
|
+
- Feature added: support for displaying a left pane.
|
|
12
|
+
- Adjust leftmost_char when we resize the terminal.
|
|
13
|
+
- Added option to settings to allow one to precisely set the leftmost_char from the settings--lmc=83
|
|
14
|
+
|
|
4
15
|
## [0.1.16.4-6] 2025-09-09
|
|
5
16
|
- Ensured that the previous terminal settings are restored after exiting the picker.
|
|
6
17
|
- Fixed bug which caused crash when opening the input field.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: listpick
|
|
3
|
-
Version: 0.1.16.
|
|
3
|
+
Version: 0.1.16.10
|
|
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
|
-
|
|
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
|
-
|
|
110
|
+
<div align="center"> <img src="assets/aria2tui_graph_screenshot.png" alt="Aria2TUI" width="70%"> </div>
|
|
115
111
|
|
|
116
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
67
|
+
<div align="center"> <img src="assets/aria2tui_graph_screenshot.png" alt="Aria2TUI" width="70%"> </div>
|
|
72
68
|
|
|
73
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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.
|
|
19
|
+
version = "0.1.16.10",
|
|
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.",
|