listpick 0.1.15.5__tar.gz → 0.1.15.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.
Files changed (63) hide show
  1. {listpick-0.1.15.5 → listpick-0.1.15.6}/CHANGELOG.md +3 -0
  2. {listpick-0.1.15.5/src/listpick.egg-info → listpick-0.1.15.6}/PKG-INFO +1 -1
  3. {listpick-0.1.15.5 → listpick-0.1.15.6}/TODO.md +3 -1
  4. {listpick-0.1.15.5 → listpick-0.1.15.6}/setup.py +1 -1
  5. {listpick-0.1.15.5 → listpick-0.1.15.6}/src/listpick/listpick_app.py +6 -2
  6. {listpick-0.1.15.5 → listpick-0.1.15.6/src/listpick.egg-info}/PKG-INFO +1 -1
  7. {listpick-0.1.15.5 → listpick-0.1.15.6}/.gitignore +0 -0
  8. {listpick-0.1.15.5 → listpick-0.1.15.6}/LICENSE.txt +0 -0
  9. {listpick-0.1.15.5 → listpick-0.1.15.6}/README.md +0 -0
  10. {listpick-0.1.15.5 → listpick-0.1.15.6}/assets/aria2tui_screenshot.png +0 -0
  11. {listpick-0.1.15.5 → listpick-0.1.15.6}/assets/file_compare.png +0 -0
  12. {listpick-0.1.15.5 → listpick-0.1.15.6}/assets/lpfman.png +0 -0
  13. {listpick-0.1.15.5 → listpick-0.1.15.6}/examples/data_generation/list_files.toml +0 -0
  14. {listpick-0.1.15.5 → listpick-0.1.15.6}/examples/data_generation/list_files_empty.toml +0 -0
  15. {listpick-0.1.15.5 → listpick-0.1.15.6}/examples/data_generation/video_duplicates.toml +0 -0
  16. {listpick-0.1.15.5 → listpick-0.1.15.6}/examples/data_generation/video_mediainfo.toml +0 -0
  17. {listpick-0.1.15.5 → listpick-0.1.15.6}/examples/input_files/polynomials.tsv +0 -0
  18. {listpick-0.1.15.5 → listpick-0.1.15.6}/examples/input_guides/gnuplot_graph.md +0 -0
  19. {listpick-0.1.15.5 → listpick-0.1.15.6}/examples/picker/auxiallary_files/2024-25_Premier_League.pkl +0 -0
  20. {listpick-0.1.15.5 → listpick-0.1.15.6}/examples/picker/footer_string_example.py +0 -0
  21. {listpick-0.1.15.5 → listpick-0.1.15.6}/examples/picker/picker_example.py +0 -0
  22. {listpick-0.1.15.5 → listpick-0.1.15.6}/examples/picker/template.py +0 -0
  23. {listpick-0.1.15.5 → listpick-0.1.15.6}/examples/picker/wikipedia_table.py +0 -0
  24. {listpick-0.1.15.5 → listpick-0.1.15.6}/listpick.py +0 -0
  25. {listpick-0.1.15.5 → listpick-0.1.15.6}/requirements.txt +0 -0
  26. {listpick-0.1.15.5 → listpick-0.1.15.6}/setup.cfg +0 -0
  27. {listpick-0.1.15.5 → listpick-0.1.15.6}/src/listpick/__init__.py +0 -0
  28. {listpick-0.1.15.5 → listpick-0.1.15.6}/src/listpick/__main__.py +0 -0
  29. {listpick-0.1.15.5 → listpick-0.1.15.6}/src/listpick/pane/__init__.py +0 -0
  30. {listpick-0.1.15.5 → listpick-0.1.15.6}/src/listpick/pane/get_data.py +0 -0
  31. {listpick-0.1.15.5 → listpick-0.1.15.6}/src/listpick/pane/pane_functions.py +0 -0
  32. {listpick-0.1.15.5 → listpick-0.1.15.6}/src/listpick/pane/pane_utils.py +0 -0
  33. {listpick-0.1.15.5 → listpick-0.1.15.6}/src/listpick/ui/__init__.py +0 -0
  34. {listpick-0.1.15.5 → listpick-0.1.15.6}/src/listpick/ui/build_help.py +0 -0
  35. {listpick-0.1.15.5 → listpick-0.1.15.6}/src/listpick/ui/footer.py +0 -0
  36. {listpick-0.1.15.5 → listpick-0.1.15.6}/src/listpick/ui/help_screen.py +0 -0
  37. {listpick-0.1.15.5 → listpick-0.1.15.6}/src/listpick/ui/input_field.py +0 -0
  38. {listpick-0.1.15.5 → listpick-0.1.15.6}/src/listpick/ui/keys.py +0 -0
  39. {listpick-0.1.15.5 → listpick-0.1.15.6}/src/listpick/ui/picker_colours.py +0 -0
  40. {listpick-0.1.15.5 → listpick-0.1.15.6}/src/listpick/utils/__init__.py +0 -0
  41. {listpick-0.1.15.5 → listpick-0.1.15.6}/src/listpick/utils/clipboard_operations.py +0 -0
  42. {listpick-0.1.15.5 → listpick-0.1.15.6}/src/listpick/utils/config.py +0 -0
  43. {listpick-0.1.15.5 → listpick-0.1.15.6}/src/listpick/utils/dump.py +0 -0
  44. {listpick-0.1.15.5 → listpick-0.1.15.6}/src/listpick/utils/filtering.py +0 -0
  45. {listpick-0.1.15.5 → listpick-0.1.15.6}/src/listpick/utils/generate_data.py +0 -0
  46. {listpick-0.1.15.5 → listpick-0.1.15.6}/src/listpick/utils/graphing.py +0 -0
  47. {listpick-0.1.15.5 → listpick-0.1.15.6}/src/listpick/utils/keycodes.py +0 -0
  48. {listpick-0.1.15.5 → listpick-0.1.15.6}/src/listpick/utils/options_selectors.py +0 -0
  49. {listpick-0.1.15.5 → listpick-0.1.15.6}/src/listpick/utils/paste_operations.py +0 -0
  50. {listpick-0.1.15.5 → listpick-0.1.15.6}/src/listpick/utils/picker_log.py +0 -0
  51. {listpick-0.1.15.5 → listpick-0.1.15.6}/src/listpick/utils/search_and_filter_utils.py +0 -0
  52. {listpick-0.1.15.5 → listpick-0.1.15.6}/src/listpick/utils/searching.py +0 -0
  53. {listpick-0.1.15.5 → listpick-0.1.15.6}/src/listpick/utils/sorting.py +0 -0
  54. {listpick-0.1.15.5 → listpick-0.1.15.6}/src/listpick/utils/table_to_list_of_lists.py +0 -0
  55. {listpick-0.1.15.5 → listpick-0.1.15.6}/src/listpick/utils/user_input.py +0 -0
  56. {listpick-0.1.15.5 → listpick-0.1.15.6}/src/listpick/utils/utils.py +0 -0
  57. {listpick-0.1.15.5 → listpick-0.1.15.6}/src/listpick.egg-info/SOURCES.txt +0 -0
  58. {listpick-0.1.15.5 → listpick-0.1.15.6}/src/listpick.egg-info/dependency_links.txt +0 -0
  59. {listpick-0.1.15.5 → listpick-0.1.15.6}/src/listpick.egg-info/entry_points.txt +0 -0
  60. {listpick-0.1.15.5 → listpick-0.1.15.6}/src/listpick.egg-info/requires.txt +0 -0
  61. {listpick-0.1.15.5 → listpick-0.1.15.6}/src/listpick.egg-info/top_level.txt +0 -0
  62. {listpick-0.1.15.5 → listpick-0.1.15.6}/tests/kitty_control.sh +0 -0
  63. {listpick-0.1.15.5 → listpick-0.1.15.6}/tests/sorting_dates.csv +0 -0
@@ -1,6 +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.15.6] 2025-07-27
5
+ - Fixed misaligned header with very long header values.
6
+
4
7
  ## [0.1.15.4] 2025-07-27
5
8
  - Fixed error with filtering when there are no rows (i.e., items=[[]])
6
9
  - Fixed error with changing modes when there are no rows (i.e., items=[[]]).
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: listpick
3
- Version: 0.1.15.5
3
+ Version: 0.1.15.6
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
@@ -1,7 +1,7 @@
1
1
  # TODO for listpick
2
2
 
3
3
 
4
- ASAP
4
+ > [!IMPORTANT] 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.
@@ -381,6 +381,8 @@ ASAP
381
381
  > - [x] Highlighted cells display padded cell string when it should not be padded.
382
382
  > - [x] When there is an active search it overlaps the last row.
383
383
  > - [x] Update footer height when there is a search query.
384
+ > - [x] Header columns are not aligned with long header values.
385
+ > - [x] Done: 2025-08-27
384
386
 
385
387
 
386
388
 
@@ -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.5",
19
+ version = "0.1.15.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.",
@@ -866,7 +866,11 @@ class Picker:
866
866
  number = f"{i}. " if self.number_columns else ""
867
867
  # number = f"{intStringToExponentString(str(i))}. " if self.number_columns else ""
868
868
  header_str += number
869
- header_str += f"{self.header[i]:^{self.column_widths[i]-len(number)}}"
869
+ # header_str += f"{self.header[i]:^{self.column_widths[i]-len(number)}}"
870
+ col_str = self.header[i][:self.column_widths[i]-len(number)]
871
+
872
+
873
+ header_str += f"{col_str:^{self.column_widths[i]-len(number)}}"
870
874
  header_str += self.separator
871
875
 
872
876
  header_str = header_str[self.leftmost_char:]
@@ -885,7 +889,7 @@ class Picker:
885
889
  highlighted_col_str = (number+f"{self.header[self.selected_column]:^{self.column_widths[self.selected_column]-len(number)}}") + self.separator
886
890
  end_of_highlighted_col_str = self.rows_w-(highlighed_col_startx+len(highlighted_col_str)) if (highlighed_col_startx+len(highlighted_col_str)) > self.rows_w else len(highlighted_col_str)
887
891
  start_of_highlighted_col_str = max(self.leftmost_char - len(up_to_selected_col), 0)
888
- self.stdscr.addstr(header_ypos, highlighed_col_startx , highlighted_col_str[start_of_highlighted_col_str:end_of_highlighted_col_str], curses.color_pair(self.colours_start+19) | curses.A_BOLD)
892
+ self.stdscr.addstr(header_ypos, highlighed_col_startx , highlighted_col_str[start_of_highlighted_col_str:end_of_highlighted_col_str][:self.column_widths[self.selected_column]+len(self.separator)], curses.color_pair(self.colours_start+19) | curses.A_BOLD)
889
893
  except:
890
894
  pass
891
895
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: listpick
3
- Version: 0.1.15.5
3
+ Version: 0.1.15.6
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