listpick 0.1.14.7__tar.gz → 0.1.14.8__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 (59) hide show
  1. listpick-0.1.14.8/.gitignore +35 -0
  2. listpick-0.1.14.8/CHANGELOG.md +176 -0
  3. {listpick-0.1.14.7/src/listpick.egg-info → listpick-0.1.14.8}/PKG-INFO +1 -1
  4. listpick-0.1.14.8/TODO.md +483 -0
  5. listpick-0.1.14.8/assets/aria2tui_screenshot.png +0 -0
  6. listpick-0.1.14.8/assets/file_compare.png +0 -0
  7. listpick-0.1.14.8/assets/lpfman.png +0 -0
  8. listpick-0.1.14.8/examples/data_generation/list_files.toml +23 -0
  9. listpick-0.1.14.8/examples/data_generation/list_files_empty.toml +22 -0
  10. listpick-0.1.14.8/examples/data_generation/video_duplicates.toml +36 -0
  11. listpick-0.1.14.8/examples/data_generation/video_mediainfo.toml +32 -0
  12. listpick-0.1.14.8/examples/input_files/polynomials.tsv +31 -0
  13. listpick-0.1.14.8/examples/input_guides/gnuplot_graph.md +13 -0
  14. listpick-0.1.14.8/examples/picker/auxiallary_files/2024-25_Premier_League.pkl +0 -0
  15. listpick-0.1.14.8/examples/picker/footer_string_example.py +30 -0
  16. listpick-0.1.14.8/examples/picker/picker_example.py +54 -0
  17. listpick-0.1.14.8/examples/picker/template.py +28 -0
  18. listpick-0.1.14.8/examples/picker/wikipedia_table.py +78 -0
  19. listpick-0.1.14.8/listpick.py +30 -0
  20. listpick-0.1.14.8/requirements.txt +13 -0
  21. {listpick-0.1.14.7 → listpick-0.1.14.8}/setup.py +1 -1
  22. {listpick-0.1.14.7 → listpick-0.1.14.8}/src/listpick/listpick_app.py +8 -3
  23. listpick-0.1.14.8/src/listpick/ui/git-bugreport-2025-08-16-1438.txt +37 -0
  24. {listpick-0.1.14.7 → listpick-0.1.14.8/src/listpick.egg-info}/PKG-INFO +1 -1
  25. {listpick-0.1.14.7 → listpick-0.1.14.8}/src/listpick.egg-info/SOURCES.txt +23 -1
  26. listpick-0.1.14.8/tests/kitty_control.sh +14 -0
  27. listpick-0.1.14.8/tests/sorting_dates.csv +8 -0
  28. {listpick-0.1.14.7 → listpick-0.1.14.8}/LICENSE.txt +0 -0
  29. {listpick-0.1.14.7 → listpick-0.1.14.8}/README.md +0 -0
  30. {listpick-0.1.14.7 → listpick-0.1.14.8}/setup.cfg +0 -0
  31. {listpick-0.1.14.7 → listpick-0.1.14.8}/src/listpick/__init__.py +0 -0
  32. {listpick-0.1.14.7 → listpick-0.1.14.8}/src/listpick/__main__.py +0 -0
  33. {listpick-0.1.14.7 → listpick-0.1.14.8}/src/listpick/ui/__init__.py +0 -0
  34. {listpick-0.1.14.7 → listpick-0.1.14.8}/src/listpick/ui/build_help.py +0 -0
  35. {listpick-0.1.14.7 → listpick-0.1.14.8}/src/listpick/ui/footer.py +0 -0
  36. {listpick-0.1.14.7 → listpick-0.1.14.8}/src/listpick/ui/help_screen.py +0 -0
  37. {listpick-0.1.14.7 → listpick-0.1.14.8}/src/listpick/ui/input_field.py +0 -0
  38. {listpick-0.1.14.7 → listpick-0.1.14.8}/src/listpick/ui/keycodes.py +0 -0
  39. {listpick-0.1.14.7 → listpick-0.1.14.8}/src/listpick/ui/keys.py +0 -0
  40. {listpick-0.1.14.7 → listpick-0.1.14.8}/src/listpick/ui/pane_stuff.py +0 -0
  41. {listpick-0.1.14.7 → listpick-0.1.14.8}/src/listpick/ui/picker_colours.py +0 -0
  42. {listpick-0.1.14.7 → listpick-0.1.14.8}/src/listpick/utils/__init__.py +0 -0
  43. {listpick-0.1.14.7 → listpick-0.1.14.8}/src/listpick/utils/clipboard_operations.py +0 -0
  44. {listpick-0.1.14.7 → listpick-0.1.14.8}/src/listpick/utils/config.py +0 -0
  45. {listpick-0.1.14.7 → listpick-0.1.14.8}/src/listpick/utils/dump.py +0 -0
  46. {listpick-0.1.14.7 → listpick-0.1.14.8}/src/listpick/utils/filtering.py +0 -0
  47. {listpick-0.1.14.7 → listpick-0.1.14.8}/src/listpick/utils/generate_data.py +0 -0
  48. {listpick-0.1.14.7 → listpick-0.1.14.8}/src/listpick/utils/options_selectors.py +0 -0
  49. {listpick-0.1.14.7 → listpick-0.1.14.8}/src/listpick/utils/paste_operations.py +0 -0
  50. {listpick-0.1.14.7 → listpick-0.1.14.8}/src/listpick/utils/picker_log.py +0 -0
  51. {listpick-0.1.14.7 → listpick-0.1.14.8}/src/listpick/utils/search_and_filter_utils.py +0 -0
  52. {listpick-0.1.14.7 → listpick-0.1.14.8}/src/listpick/utils/searching.py +0 -0
  53. {listpick-0.1.14.7 → listpick-0.1.14.8}/src/listpick/utils/sorting.py +0 -0
  54. {listpick-0.1.14.7 → listpick-0.1.14.8}/src/listpick/utils/table_to_list_of_lists.py +0 -0
  55. {listpick-0.1.14.7 → listpick-0.1.14.8}/src/listpick/utils/utils.py +0 -0
  56. {listpick-0.1.14.7 → listpick-0.1.14.8}/src/listpick.egg-info/dependency_links.txt +0 -0
  57. {listpick-0.1.14.7 → listpick-0.1.14.8}/src/listpick.egg-info/entry_points.txt +0 -0
  58. {listpick-0.1.14.7 → listpick-0.1.14.8}/src/listpick.egg-info/requires.txt +0 -0
  59. {listpick-0.1.14.7 → listpick-0.1.14.8}/src/listpick.egg-info/top_level.txt +0 -0
@@ -0,0 +1,35 @@
1
+ aria2tui.toml
2
+ data_stuff.py
3
+ *.pyc
4
+ oldcode.py
5
+ .vscode
6
+ ./.vscode
7
+ tmp/
8
+ ./list_picker/tmp/
9
+ ./scripts
10
+
11
+ # Compile stuff
12
+ __pycache__/
13
+ src/listpick/__pycache__
14
+ src/listpick/utils/__pycache__/
15
+ src/listpick/ui/__pycache__/
16
+
17
+ # Distribution / packaging
18
+ .Python
19
+ build/
20
+ develop-eggs/
21
+ dist/
22
+ downloads/
23
+ eggs/
24
+ .eggs/
25
+ lib64/
26
+ parts/
27
+ sdist/
28
+ var/
29
+ wheels/
30
+ share/python-wheels/
31
+ *.egg-info/
32
+ .installed.cfg
33
+ *.egg
34
+ MANIFEST
35
+
@@ -0,0 +1,176 @@
1
+ # CHANGELOG.md
2
+ Note that the changes between 0.1.11.0 and 1.1.12.0 are listed under 0.1.11
3
+
4
+ ## [0.1.15] 2025-??-??
5
+ - Added info screen to display all information on the running Picker.
6
+ - Added keys for file_next and file_prev
7
+ - Added __sizeof__() function for the Picker class.
8
+ - Fixed rows resizing twice when opening/switching between some files.
9
+ - Added to settings: goto row, goto column
10
+ - NaN replaced with empty string when loading empty cells from xlsx or ods files.
11
+ - Added Picker.get_config(path) method.
12
+ - Can now take input on stdin -- e.g., `du -h | listpick --stdin`
13
+ - We now get user input via '/dev/tty' rather than stdscr.getch() (which uses stdin).
14
+ - This was necessary to ensure that we can pipe data in via stdin and still receive user input.
15
+ - Bugs fixed:
16
+ - Closing files causes issues switching between files.
17
+ - Fixed crash when loading non-existent config file.
18
+ - Fixed highlighted cell not being aligned in the way that we expect.
19
+ - Create ~/.config/listpick directory for storing input history if it doesn't already exist.
20
+ - Added error checking when opening files.
21
+ - Added --headerless flag to prevent interpreting the first line of the input as the header.
22
+ - Fixed special keys not working:
23
+ - arrow keys (main picker)
24
+ - meta+key (input_field)
25
+ - Added column number to footer
26
+ - Improved splitting of whitespace separated data passed on stdin.
27
+
28
+ ## [0.1.14] 2025-08-20
29
+ - Fixed bug when cells are centred vertically.
30
+ - Added "level" keyword for highlight dictionary.
31
+ - l0: show highlight above base rows
32
+ - l1: show highlight above selected cells/rows
33
+ - l2: show highlight above cursor cell/row.
34
+ - Added separate selected_column argument (distinct from sort_column) so that columns can be navigated without sorting on the selected column. 's' has to be pressed on the selected_column to trigger sorting.
35
+ - Changed scrolling to start/end so that it selects the first/last column.
36
+ - Bug fixes:
37
+ - When data was centred vertically it would take an extra draw_screen loop to determine the proper column widths when the column sizes changed. This has been fixed.
38
+ - Refreshing sorted data would resort it on the selected column rather than the sort column. Fixed.
39
+ - Fixed error when padding uneven lists when a list of strings is passed instead of a list of lists.
40
+ - Fixed crash when showing certain notifications. The notification message was not being split into lines properly.
41
+ - Fixed wrong page number in the footer when paginate=True.
42
+ - Added some extra options to the settings:
43
+ - Toggle header
44
+ - Toggle row header
45
+ - Toggle modes
46
+ - Add/insert blank row
47
+ - Add/insert blank column
48
+ - Added splash screen to picker which can be displayed when loading a large data set, for example.
49
+ - Ensured that the curses colour pairs are redefined if we are loading from a picker save state.
50
+ - Added functions to insert an empty row/column at an an arbitrary position in the picker items.
51
+ - Adjusted the commandline arguments so that the filename can be passed without the -i flag.
52
+ - If no input file type is specified on the command line it will now guess based on the input file's extension.
53
+ - Improved display of cells/rows with various unicode characters. It is much better but there are still some problems with alignment and highlighting.
54
+ - Setup logging for the Picker class. Currently still very basic but will track to the last function that was run before crash if the --debug flag is passed to the picker.
55
+ - Added pin_cursor options which keeps the cursor on the same row during a refresh rather than tracking the id of the highlighted row.
56
+ - Updated StandardFooter. Now shows information on two lines rather than three; all cursor and selection information on the first line and the sort information on the second. Cursor, Visual (de)selection now abreviated to C, VS, and VDS.
57
+ - Added try-except wrapper to draw_screen function to prevent crashes during rapid resizing.
58
+ - Speed improvements:
59
+ - Create and track self.selected_cells_by_row when selections change rather than derive it from the self.cell_selections
60
+ - Much faster with very large data sets as we need to determine selected_cells_by_row every time we run self.draw_screen()
61
+ - We can now pipe data from cells in multiple columns to a command.
62
+ - e.g., pipe two cols to gnuplot
63
+ - Features added:
64
+ - Listpick now supports multiple open files.
65
+ - 'file_next' setting
66
+ - Listpick now supports files with multiple sheets.
67
+ - 'sheet_next' setting
68
+ - Fixed error when opening xlsx files.
69
+ - Can now open multiple files from the command line: listpick -i file1.csv, file2.csv
70
+
71
+ ## [0.1.13] 2025-07-28
72
+ - Cell-based picker is now supported.
73
+ - Cell-wise navigation.
74
+ - Cell-wise selection.
75
+ - Cell-wise copying.
76
+ - Cell-wise pasting.
77
+ - Pasting cells a picker is now supported
78
+ - Added footer_style class variable which can be given to select the footer style. Currently supports StandardFooter, CompactFooter, and NoFooter.
79
+ - Fixed bug which showed a distorted footer when the footer string was one char longer than the width of the terminal.
80
+ - Can now display a left-justified column indicating the row numbers (show_row_header)
81
+ - Selecting column to the left or right now scrolls the selected column into view.
82
+ - Input field autocompletion significantly improved.
83
+ - Now shows popup list showing the next autocomplete suggestions
84
+ - Supports auto-completing any words passed to the auto_complete_words argument of the input_field function
85
+ - Search and filter autocomplete any words in the items of the picker by default.
86
+ - Supports auto-complete functions %time and %date
87
+ - Supports auto-complete formulae.
88
+ - Will allow formulae filling at a later date.
89
+ - Can now edit input_field string in nvim by pressing ctrl+x
90
+ - Added functionality to add (empty) rows after the cursor and add (empty) columns after the cursor.
91
+
92
+ ## [0.1.12] 2025-07-25
93
+ - The Picker now supports different footer options. Three options have been added:
94
+ - StandardFooter
95
+ - CompactFooter
96
+ - NoFooter
97
+ - Added input field history for search and filter, pipe, settings, and opts.
98
+ - Fixed instacrash when a terminal doesn't have 8bit colour support.
99
+ - Created a fallback colour theme for terminals with < 256 colours available.
100
+ - Fixed bug when scrollbar doesn't show with several thousand entries. Ensured it is always at least 1 character high.
101
+ - Fixed colour configuration errors on some terminals by setting curses.use_default_colours().
102
+ - Added save and load history functions.
103
+ - Can now load full Picker from pickled save state.
104
+ - Fixed size of option-picker dialogue.
105
+ - Added the ability to add highlights from the settings input.
106
+ - hl,.*,3,8: highlight field 3
107
+ - Can now select theme with th# in settings; th still cycles as before.
108
+
109
+ ## [0.1.11] 2025-07-13
110
+ - Greatly improved the input_field
111
+ - Implemented path auto-completion with tab/shift+tab
112
+ - History can be passed to the input field
113
+ - Implemented a kill-ring
114
+ - Can paste into the input_field
115
+ - Implemented more readline keybinds:
116
+ - Alt+w: delete to word-separator character (' ' or '/')
117
+ - Alt+f: forwards one word
118
+ - Alt+b: backwards one word
119
+ - Ctrl+g: exit
120
+ - Ctrl+y: Yank from the top of the kill ring
121
+ - Alt+y: Yank from the kill ring. As is typical, this only works after a yank.
122
+ - Ctrl+n: Cycle forwards through history
123
+ - Ctrl+p: Cycle backwards through history
124
+ - Now accepts curses colour pair to set colours.
125
+ - Fixed bug where searching with a lot of matches causes slow down.
126
+ -
127
+
128
+ ## [0.1.10] 2025-07-04
129
+ - Help is now *built* (rather than simply displaying help text) using the active keys_dict and so only shows keys that function in the current Picker object.
130
+
131
+ ## [0.1.9] 2025-07-04
132
+ - Added asynchronous data refresh requests using threading.
133
+
134
+ ## [0.1.8] 2025-07-03
135
+ - Added left-right scrolling using h/l.
136
+ - Scroll to home/end with H/L.
137
+ - Fixed header columns not being aligned when len(header)>10.
138
+
139
+ ## [0.1.7] 2025-07-02
140
+ - Added row-wise highlighting.
141
+ - Added MIT license information.
142
+
143
+ ## [0.1.6] 2025-07-01
144
+ - Fixed footer_string not displaying immediately if passed with a refresh function.
145
+
146
+ ## [0.1.5] 2025-06-29
147
+ - Renamed list_picker listpick.
148
+ - Restructured project and added it to pypi so that it can be intalled with pip.
149
+ - Modified dependencies so that the dependencies required for loading/saving--pandas, csv, openpyxl, etc.--are only installed with `python -m pip install listpick[full]`."
150
+ - `python -m pip install listpick` will install all run-time dependencies outside of those used for saving data.
151
+
152
+ ## [0.1.4] 2025-06-27
153
+ - Added more themes: blue and purple.
154
+ - Added an a key dict which will work well with data passed in to be edited--e.g., settings.
155
+ - Column width is now determined by the width of the visible data rather than all data in the column.
156
+ - Notifications and options-picker can be exited with escape.
157
+
158
+ ## [0.1.3] 2025-06-19
159
+ - Fixed bug where list_picker crashed when rapidly resizing terminal or rapidly changing font-size.
160
+ - Fixed bug with filtering/searching where multiple tokens could not be specified for the same column.
161
+ - Visual improvements:
162
+ - Changed the footer colour to match the title bar in the main theme.
163
+ - Right aligned the elements in the footer
164
+ - Improved the appearance of the refresh indicator.
165
+ - Pickle files can now be loaded from the command line in addition to being able to be loaded wile running the Picker.
166
+
167
+ ## [0.1.2] 2025-06-18
168
+ - Added the ability to edit current instance of Picker in ipython when Ctrl+e is pressed.
169
+ - Quick-toggle footer with '_'.
170
+
171
+ ## [0.1.1] 2025-06-18
172
+ - Added a footer string function which can be auto refreshed with a given function.
173
+
174
+ ## [0.1.0] 2025-06-17
175
+ - CHANGELOG created
176
+ - Converted the underlying Picker from a function into a class.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: listpick
3
- Version: 0.1.14.7
3
+ Version: 0.1.14.8
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