listpick 0.1.15.10__tar.gz → 0.1.15.11__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 (63) hide show
  1. {listpick-0.1.15.10 → listpick-0.1.15.11}/CHANGELOG.md +10 -8
  2. {listpick-0.1.15.10/src/listpick.egg-info → listpick-0.1.15.11}/PKG-INFO +1 -1
  3. {listpick-0.1.15.10 → listpick-0.1.15.11}/setup.py +1 -1
  4. {listpick-0.1.15.10 → listpick-0.1.15.11}/src/listpick/listpick_app.py +13 -0
  5. {listpick-0.1.15.10 → listpick-0.1.15.11}/src/listpick/ui/build_help.py +5 -3
  6. {listpick-0.1.15.10 → listpick-0.1.15.11}/src/listpick/ui/keys.py +2 -0
  7. {listpick-0.1.15.10 → listpick-0.1.15.11/src/listpick.egg-info}/PKG-INFO +1 -1
  8. {listpick-0.1.15.10 → listpick-0.1.15.11}/.gitignore +0 -0
  9. {listpick-0.1.15.10 → listpick-0.1.15.11}/LICENSE.txt +0 -0
  10. {listpick-0.1.15.10 → listpick-0.1.15.11}/README.md +0 -0
  11. {listpick-0.1.15.10 → listpick-0.1.15.11}/TODO.md +0 -0
  12. {listpick-0.1.15.10 → listpick-0.1.15.11}/assets/aria2tui_screenshot.png +0 -0
  13. {listpick-0.1.15.10 → listpick-0.1.15.11}/assets/file_compare.png +0 -0
  14. {listpick-0.1.15.10 → listpick-0.1.15.11}/assets/lpfman.png +0 -0
  15. {listpick-0.1.15.10 → listpick-0.1.15.11}/examples/data_generation/list_files.toml +0 -0
  16. {listpick-0.1.15.10 → listpick-0.1.15.11}/examples/data_generation/list_files_empty.toml +0 -0
  17. {listpick-0.1.15.10 → listpick-0.1.15.11}/examples/data_generation/video_duplicates.toml +0 -0
  18. {listpick-0.1.15.10 → listpick-0.1.15.11}/examples/data_generation/video_mediainfo.toml +0 -0
  19. {listpick-0.1.15.10 → listpick-0.1.15.11}/examples/input_files/polynomials.tsv +0 -0
  20. {listpick-0.1.15.10 → listpick-0.1.15.11}/examples/input_guides/gnuplot_graph.md +0 -0
  21. {listpick-0.1.15.10 → listpick-0.1.15.11}/examples/picker/auxiallary_files/2024-25_Premier_League.pkl +0 -0
  22. {listpick-0.1.15.10 → listpick-0.1.15.11}/examples/picker/footer_string_example.py +0 -0
  23. {listpick-0.1.15.10 → listpick-0.1.15.11}/examples/picker/picker_example.py +0 -0
  24. {listpick-0.1.15.10 → listpick-0.1.15.11}/examples/picker/template.py +0 -0
  25. {listpick-0.1.15.10 → listpick-0.1.15.11}/examples/picker/wikipedia_table.py +0 -0
  26. {listpick-0.1.15.10 → listpick-0.1.15.11}/listpick.py +0 -0
  27. {listpick-0.1.15.10 → listpick-0.1.15.11}/requirements.txt +0 -0
  28. {listpick-0.1.15.10 → listpick-0.1.15.11}/setup.cfg +0 -0
  29. {listpick-0.1.15.10 → listpick-0.1.15.11}/src/listpick/__init__.py +0 -0
  30. {listpick-0.1.15.10 → listpick-0.1.15.11}/src/listpick/__main__.py +0 -0
  31. {listpick-0.1.15.10 → listpick-0.1.15.11}/src/listpick/pane/__init__.py +0 -0
  32. {listpick-0.1.15.10 → listpick-0.1.15.11}/src/listpick/pane/get_data.py +0 -0
  33. {listpick-0.1.15.10 → listpick-0.1.15.11}/src/listpick/pane/pane_functions.py +0 -0
  34. {listpick-0.1.15.10 → listpick-0.1.15.11}/src/listpick/pane/pane_utils.py +0 -0
  35. {listpick-0.1.15.10 → listpick-0.1.15.11}/src/listpick/ui/__init__.py +0 -0
  36. {listpick-0.1.15.10 → listpick-0.1.15.11}/src/listpick/ui/footer.py +0 -0
  37. {listpick-0.1.15.10 → listpick-0.1.15.11}/src/listpick/ui/help_screen.py +0 -0
  38. {listpick-0.1.15.10 → listpick-0.1.15.11}/src/listpick/ui/input_field.py +0 -0
  39. {listpick-0.1.15.10 → listpick-0.1.15.11}/src/listpick/ui/picker_colours.py +0 -0
  40. {listpick-0.1.15.10 → listpick-0.1.15.11}/src/listpick/utils/__init__.py +0 -0
  41. {listpick-0.1.15.10 → listpick-0.1.15.11}/src/listpick/utils/clipboard_operations.py +0 -0
  42. {listpick-0.1.15.10 → listpick-0.1.15.11}/src/listpick/utils/config.py +0 -0
  43. {listpick-0.1.15.10 → listpick-0.1.15.11}/src/listpick/utils/dump.py +0 -0
  44. {listpick-0.1.15.10 → listpick-0.1.15.11}/src/listpick/utils/filtering.py +0 -0
  45. {listpick-0.1.15.10 → listpick-0.1.15.11}/src/listpick/utils/generate_data.py +0 -0
  46. {listpick-0.1.15.10 → listpick-0.1.15.11}/src/listpick/utils/graphing.py +0 -0
  47. {listpick-0.1.15.10 → listpick-0.1.15.11}/src/listpick/utils/keycodes.py +0 -0
  48. {listpick-0.1.15.10 → listpick-0.1.15.11}/src/listpick/utils/options_selectors.py +0 -0
  49. {listpick-0.1.15.10 → listpick-0.1.15.11}/src/listpick/utils/paste_operations.py +0 -0
  50. {listpick-0.1.15.10 → listpick-0.1.15.11}/src/listpick/utils/picker_log.py +0 -0
  51. {listpick-0.1.15.10 → listpick-0.1.15.11}/src/listpick/utils/search_and_filter_utils.py +0 -0
  52. {listpick-0.1.15.10 → listpick-0.1.15.11}/src/listpick/utils/searching.py +0 -0
  53. {listpick-0.1.15.10 → listpick-0.1.15.11}/src/listpick/utils/sorting.py +0 -0
  54. {listpick-0.1.15.10 → listpick-0.1.15.11}/src/listpick/utils/table_to_list_of_lists.py +0 -0
  55. {listpick-0.1.15.10 → listpick-0.1.15.11}/src/listpick/utils/user_input.py +0 -0
  56. {listpick-0.1.15.10 → listpick-0.1.15.11}/src/listpick/utils/utils.py +0 -0
  57. {listpick-0.1.15.10 → listpick-0.1.15.11}/src/listpick.egg-info/SOURCES.txt +0 -0
  58. {listpick-0.1.15.10 → listpick-0.1.15.11}/src/listpick.egg-info/dependency_links.txt +0 -0
  59. {listpick-0.1.15.10 → listpick-0.1.15.11}/src/listpick.egg-info/entry_points.txt +0 -0
  60. {listpick-0.1.15.10 → listpick-0.1.15.11}/src/listpick.egg-info/requires.txt +0 -0
  61. {listpick-0.1.15.10 → listpick-0.1.15.11}/src/listpick.egg-info/top_level.txt +0 -0
  62. {listpick-0.1.15.10 → listpick-0.1.15.11}/tests/kitty_control.sh +0 -0
  63. {listpick-0.1.15.10 → listpick-0.1.15.11}/tests/sorting_dates.csv +0 -0
@@ -1,31 +1,33 @@
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.15.11] 2025-08-30
4
+ - Added new quickscroll keys to scroll left/right by 25 chars.
3
5
 
4
- ## [0.1.15.10] 2025-07-29
6
+ ## [0.1.15.10] 2025-08-29
5
7
  - Ensure that pane data is retrieved immediately when cycling through panes.
6
8
 
7
- ## [0.1.15.9] 2025-07-29
9
+ ## [0.1.15.9] 2025-08-29
8
10
  - We can now have multiple right panes which can be cycled through by pressing ".
9
11
 
10
- ## [0.1.15.7] 2025-07-28
12
+ ## [0.1.15.8] 2025-08-28
11
13
  - Fixed header column alignment problems which popped up with some datasets.
12
14
 
13
- ## [0.1.15.6] 2025-07-27
15
+ ## [0.1.15.6] 2025-08-27
14
16
  - Fixed misaligned header with very long header values.
15
17
 
16
- ## [0.1.15.4] 2025-07-27
18
+ ## [0.1.15.4] 2025-08-27
17
19
  - Fixed error with filtering when there are no rows (i.e., items=[[]])
18
20
  - Fixed error with changing modes when there are no rows (i.e., items=[[]]).
19
21
 
20
22
  Fixed errors caused by filtering when items=[[]]; this also fixed problems changing modes when items=[[]].
21
- ## [0.1.15.3] 2025-07-27
23
+ ## [0.1.15.3] 2025-08-27
22
24
  - Added error checking when setting the cursor_pos_id in fetch_data.
23
25
 
24
- ## [0.1.15.1] 2025-07-27
26
+ ## [0.1.15.1] 2025-08-27
25
27
  - Added key to toggle right pane.
26
28
  - Improved appearance of help screen.
27
29
 
28
- ## [0.1.15.0] 2025-07-27
30
+ ## [0.1.15.0] 2025-08-27
29
31
  - Feature added: support for dynamic data display in a right pane.
30
32
  - Bugs fixed:
31
33
  - Fixed ipython not working when data is piped into the picker.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: listpick
3
- Version: 0.1.15.10
3
+ Version: 0.1.15.11
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
@@ -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.15.10",
19
+ version = "0.1.15.11",
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.",
@@ -2960,11 +2960,24 @@ class Picker:
2960
2960
  row_width = sum(self.column_widths) + len(self.separator)*(len(self.column_widths)-1)
2961
2961
  if row_width-self.leftmost_char >= self.rows_w-self.startx-5:
2962
2962
  self.leftmost_char += 5
2963
+ self.leftmost_char = min(self.leftmost_char, row_width - (self.rows_w - self.startx) + 5)
2964
+
2965
+ elif self.check_key("scroll_right_25", key, self.keys_dict):
2966
+ self.logger.info(f"key_function scroll_right")
2967
+ if len(self.indexed_items):
2968
+ row_width = sum(self.column_widths) + len(self.separator)*(len(self.column_widths)-1)
2969
+ if row_width-self.leftmost_char >= self.rows_w-self.startx-25:
2970
+ self.leftmost_char += 25
2971
+ self.leftmost_char = min(self.leftmost_char, row_width - (self.rows_w - self.startx) + 5)
2963
2972
 
2964
2973
  elif self.check_key("scroll_left", key, self.keys_dict):
2965
2974
  self.logger.info(f"key_function scroll_left")
2966
2975
  self.leftmost_char = max(self.leftmost_char-5, 0)
2967
2976
 
2977
+ elif self.check_key("scroll_left_25", key, self.keys_dict):
2978
+ self.logger.info(f"key_function scroll_left")
2979
+ self.leftmost_char = max(self.leftmost_char-25, 0)
2980
+
2968
2981
  elif self.check_key("scroll_far_left", key, self.keys_dict):
2969
2982
  self.logger.info(f"key_function scroll_far_left")
2970
2983
  self.leftmost_char = 0
@@ -129,8 +129,10 @@ def build_help_rows(keys_dict: dict, debug: bool = False) -> list[list[str]]:
129
129
  "notification_toggle": "Toggle empty notification.",
130
130
  "redo": "Redo.",
131
131
  "undo": "Undo.",
132
- "scroll_right": "Scroll right.",
133
- "scroll_left": "Scroll left.",
132
+ "scroll_right": "Scroll right (5 chars).",
133
+ "scroll_left": "Scroll left (5 chars).",
134
+ "scroll_right_25": "Scroll right (25 chars).",
135
+ "scroll_left_25": "Scroll left (25 chars).",
134
136
  "scroll_far_right": "Scroll to the end of the column set.",
135
137
  "scroll_far_left": "Scroll to the left home.",
136
138
  "add_column_before": "Insert column before cursor.",
@@ -146,7 +148,7 @@ def build_help_rows(keys_dict: dict, debug: bool = False) -> list[list[str]]:
146
148
  "cycle_right_pane": "Cycle through right panes",
147
149
  }
148
150
  sections = {
149
- "Navigation:": [ "cursor_down", "cursor_up", "half_page_up", "half_page_down", "page_up", "page_down", "cursor_bottom", "cursor_top", "five_up", "five_down", "scroll_right", "scroll_left", "scroll_far_right", "scroll_far_left" ],
151
+ "Navigation:": [ "cursor_down", "cursor_up", "half_page_up", "half_page_down", "page_up", "page_down", "cursor_bottom", "cursor_top", "five_up", "five_down", "scroll_right", "scroll_left", "scroll_right_25", "scroll_left_25", "scroll_far_right", "scroll_far_left" ],
150
152
  "Selection:": [ "toggle_select", "select_all", "select_none", "visual_selection_toggle", "visual_deselection_toggle", "enter" ],
151
153
  "UI:": [ "toggle_footer", "redraw_screen", "decrease_lines_per_page", "increase_lines_per_page", "increase_column_width", "decrease_column_width", "notification_toggle", "toggle_right_pane", "cycle_right_pane"],
152
154
  "Sort:": [ "cycle_sort_method", "cycle_sort_method_reverse", "cycle_sort_order", ] ,
@@ -74,6 +74,8 @@ picker_keys = {
74
74
  "redo": [ord('.')],
75
75
  "undo": [26], # Ctrl+z
76
76
  "scroll_right": [ord('l'), curses.KEY_RIGHT],
77
+ "scroll_right_25": [keycodes.META_l],
78
+ "scroll_left_25": [keycodes.META_h],
77
79
  "scroll_left": [ord('h'), curses.KEY_LEFT],
78
80
  "scroll_far_right": [ord('L')],
79
81
  "scroll_far_left": [ord('H')],
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: listpick
3
- Version: 0.1.15.10
3
+ Version: 0.1.15.11
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
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes