listpick 0.1.16.5__tar.gz → 0.1.16.6__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.5 → listpick-0.1.16.6}/CHANGELOG.md +2 -0
- {listpick-0.1.16.5/src/listpick.egg-info → listpick-0.1.16.6}/PKG-INFO +1 -1
- {listpick-0.1.16.5 → listpick-0.1.16.6}/TODO.md +1 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/setup.py +1 -1
- {listpick-0.1.16.5 → listpick-0.1.16.6}/src/listpick/ui/input_field.py +1 -19
- {listpick-0.1.16.5 → listpick-0.1.16.6/src/listpick.egg-info}/PKG-INFO +1 -1
- {listpick-0.1.16.5 → listpick-0.1.16.6}/.gitignore +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/LICENSE.txt +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/README.md +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/assets/aria2tui_screenshot.png +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/assets/file_compare.png +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/assets/lpfman.png +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/examples/data_generation/list_files.toml +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/examples/data_generation/list_files_empty.toml +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/examples/data_generation/video_duplicates.toml +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/examples/data_generation/video_mediainfo.toml +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/examples/input_files/polynomials.tsv +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/examples/input_guides/gnuplot_graph.md +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/examples/picker/auxiallary_files/2024-25_Premier_League.pkl +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/examples/picker/footer_string_example.py +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/examples/picker/picker_example.py +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/examples/picker/template.py +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/examples/picker/wikipedia_table.py +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/listpick.py +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/requirements.txt +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/setup.cfg +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/src/listpick/__init__.py +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/src/listpick/__main__.py +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/src/listpick/listpick_app.py +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/src/listpick/pane/__init__.py +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/src/listpick/pane/get_data.py +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/src/listpick/pane/pane_functions.py +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/src/listpick/pane/pane_utils.py +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/src/listpick/ui/__init__.py +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/src/listpick/ui/build_help.py +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/src/listpick/ui/draw_screen.py +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/src/listpick/ui/footer.py +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/src/listpick/ui/help_screen.py +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/src/listpick/ui/keys.py +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/src/listpick/ui/picker_colours.py +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/src/listpick/utils/__init__.py +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/src/listpick/utils/clipboard_operations.py +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/src/listpick/utils/config.py +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/src/listpick/utils/dump.py +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/src/listpick/utils/filtering.py +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/src/listpick/utils/generate_data.py +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/src/listpick/utils/generate_data_multithreaded.py +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/src/listpick/utils/graphing.py +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/src/listpick/utils/keycodes.py +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/src/listpick/utils/options_selectors.py +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/src/listpick/utils/paste_operations.py +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/src/listpick/utils/picker_log.py +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/src/listpick/utils/search_and_filter_utils.py +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/src/listpick/utils/searching.py +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/src/listpick/utils/sorting.py +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/src/listpick/utils/table_to_list_of_lists.py +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/src/listpick/utils/user_input.py +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/src/listpick/utils/utils.py +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/src/listpick.egg-info/SOURCES.txt +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/src/listpick.egg-info/dependency_links.txt +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/src/listpick.egg-info/entry_points.txt +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/src/listpick.egg-info/requires.txt +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/src/listpick.egg-info/top_level.txt +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/tests/kitty_control.sh +0 -0
- {listpick-0.1.16.5 → listpick-0.1.16.6}/tests/sorting_dates.csv +0 -0
|
@@ -1,7 +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
3
|
|
|
4
|
+
## [0.1.16.4-6] 2025-09-09
|
|
4
5
|
- Ensured that the previous terminal settings are restored after exiting the picker.
|
|
6
|
+
- Fixed bug which caused crash when opening the input field.
|
|
5
7
|
|
|
6
8
|
## [0.1.16.4] 2025-09-09
|
|
7
9
|
- Commands passed to generate_picker_data can now use multiple {} and each will be replaced by the filename
|
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
> - [ ] Keep track of running threads and tasks to do.
|
|
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
|
+
> - [ ] Allow multiple files to be added with different generation functions.
|
|
43
44
|
|
|
44
45
|
|
|
45
46
|
|
|
@@ -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.6",
|
|
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.",
|
|
@@ -16,27 +16,9 @@ from datetime import datetime
|
|
|
16
16
|
import logging
|
|
17
17
|
|
|
18
18
|
logger = logging.getLogger('picker_log')
|
|
19
|
-
import select
|
|
20
|
-
import tty
|
|
21
19
|
from listpick.utils.user_input import get_char, open_tty
|
|
22
20
|
from listpick.utils import keycodes
|
|
23
21
|
|
|
24
|
-
# def open_tty():
|
|
25
|
-
# """ Return a file descriptor for the tty that we are opening"""
|
|
26
|
-
# tty_fd = os.open('/dev/tty', os.O_RDONLY)
|
|
27
|
-
# tty.setraw(tty_fd)
|
|
28
|
-
# return tty_fd
|
|
29
|
-
#
|
|
30
|
-
# def get_char(tty_fd, timeout: float = 0.2) -> int:
|
|
31
|
-
# """ Get character from a tty_fd with a timeout. """
|
|
32
|
-
# rlist, _, _ = select.select([tty_fd], [], [], timeout)
|
|
33
|
-
# if rlist:
|
|
34
|
-
# # key = ord(tty_fd.read(1))
|
|
35
|
-
# key = ord(os.read(tty_fd, 1))
|
|
36
|
-
# else:
|
|
37
|
-
# key = -1
|
|
38
|
-
# return key
|
|
39
|
-
|
|
40
22
|
def input_field(
|
|
41
23
|
stdscr: curses.window,
|
|
42
24
|
usrtxt:str="",
|
|
@@ -126,7 +108,7 @@ def input_field(
|
|
|
126
108
|
offscreen_x, offscreen_y = False, False
|
|
127
109
|
orig_x, orig_y = x, y
|
|
128
110
|
|
|
129
|
-
tty_fd = open_tty()
|
|
111
|
+
tty_fd, saved_terminal_state = open_tty()
|
|
130
112
|
|
|
131
113
|
# Input field loop
|
|
132
114
|
while True:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{listpick-0.1.16.5 → listpick-0.1.16.6}/examples/picker/auxiallary_files/2024-25_Premier_League.pkl
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|