listpick 0.1.14.13__py3-none-any.whl → 0.1.14.14__py3-none-any.whl
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/listpick_app.py +4 -3
- listpick/ui/picker_colours.py +23 -0
- {listpick-0.1.14.13.dist-info → listpick-0.1.14.14.dist-info}/METADATA +1 -1
- {listpick-0.1.14.13.dist-info → listpick-0.1.14.14.dist-info}/RECORD +8 -8
- {listpick-0.1.14.13.dist-info → listpick-0.1.14.14.dist-info}/WHEEL +0 -0
- {listpick-0.1.14.13.dist-info → listpick-0.1.14.14.dist-info}/entry_points.txt +0 -0
- {listpick-0.1.14.13.dist-info → listpick-0.1.14.14.dist-info}/licenses/LICENSE.txt +0 -0
- {listpick-0.1.14.13.dist-info → listpick-0.1.14.14.dist-info}/top_level.txt +0 -0
listpick/listpick_app.py
CHANGED
|
@@ -3190,10 +3190,11 @@ class Picker:
|
|
|
3190
3190
|
|
|
3191
3191
|
if not selected_indices:
|
|
3192
3192
|
if len(self.indexed_items):
|
|
3193
|
-
|
|
3194
|
-
|
|
3193
|
+
pos = self.indexed_items[self.cursor_pos][0]
|
|
3194
|
+
if " " in self.items[pos][self.selected_column]:
|
|
3195
|
+
full_values = [repr(self.items[pos][self.selected_column])]
|
|
3195
3196
|
else:
|
|
3196
|
-
full_values = [self.items[
|
|
3197
|
+
full_values = [self.items[pos][self.selected_column]]
|
|
3197
3198
|
|
|
3198
3199
|
else:
|
|
3199
3200
|
return None
|
listpick/ui/picker_colours.py
CHANGED
|
@@ -360,3 +360,26 @@ def get_theme_count() -> int:
|
|
|
360
360
|
break
|
|
361
361
|
col_list.append(x)
|
|
362
362
|
return i
|
|
363
|
+
|
|
364
|
+
def check_for_missing_keys():
|
|
365
|
+
""" Check if any of the colour_dicts have missing keys--i.e., if their keys are incongruous. """
|
|
366
|
+
ref = 0
|
|
367
|
+
count = get_theme_count()
|
|
368
|
+
|
|
369
|
+
colours = [get_colours(i) for i in range(count)]
|
|
370
|
+
|
|
371
|
+
diffs = []
|
|
372
|
+
for i in range(count):
|
|
373
|
+
print(f"{i}")
|
|
374
|
+
for j in range(count):
|
|
375
|
+
diff = set(colours[i].keys()) - set(colours[j].keys())
|
|
376
|
+
print(f" colours[{i}] - colours[{j}] = {diff}")
|
|
377
|
+
if diff:
|
|
378
|
+
diffs.append(f" colours[{i}] - colours[{j}] = {diff}")
|
|
379
|
+
|
|
380
|
+
if diffs:
|
|
381
|
+
print("*"*80)
|
|
382
|
+
print("*"*80)
|
|
383
|
+
for d in diffs:
|
|
384
|
+
print(d)
|
|
385
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
listpick/__init__.py,sha256=ExXc97-bibodH--wlwpQivl0zCNR5D1hvpvrf7OBofU,154
|
|
2
2
|
listpick/__main__.py,sha256=wkCjDdqw093W27yWwnlC3nG_sMRKaIad7hHHWy0RBgY,193
|
|
3
|
-
listpick/listpick_app.py,sha256=
|
|
3
|
+
listpick/listpick_app.py,sha256=lvmg2iAxoL91NMv7ptQmdjZHCG0GvsSIqEKBJmtDhFw,187716
|
|
4
4
|
listpick/ui/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
listpick/ui/build_help.py,sha256=B_NuIqexvqui8sDZotyu36aN_Yypfg6EJYCynZICLOY,10176
|
|
6
6
|
listpick/ui/footer.py,sha256=9oJm95pOCxMEoS7Y-77G3D3dPGK4NnsqPMEAtaOpJco,15087
|
|
@@ -8,7 +8,7 @@ listpick/ui/help_screen.py,sha256=zbfGIgb-IXtATpl4_Sx7nPbsnRXZ7eiMYlCKGS9EFmw,56
|
|
|
8
8
|
listpick/ui/input_field.py,sha256=ylf3fiLXdAD4pueHWfzIrlwaRb9f5zm8f1UGkEPBxgM,30539
|
|
9
9
|
listpick/ui/keys.py,sha256=7ZhJfsSatpk-jwfXj_FvzgQsQdUoF7JkD5Mniu9XZ0o,13328
|
|
10
10
|
listpick/ui/pane_stuff.py,sha256=7GXa4UnV_7YmBv-baRi5moN51wYcuS4p0odl5C3m0Tc,169
|
|
11
|
-
listpick/ui/picker_colours.py,sha256=
|
|
11
|
+
listpick/ui/picker_colours.py,sha256=wftDxmUI6tGmOIPwBe4rUUsrPTtpFGgztptCifa_tqA,12287
|
|
12
12
|
listpick/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
13
13
|
listpick/utils/clipboard_operations.py,sha256=ORdNm2kgGbfs51xJSvgJPERgoSmBgT11axuMkvSoP9A,3133
|
|
14
14
|
listpick/utils/config.py,sha256=MEnAZg2Rhfl38XofEIN0uoVAOY7I0ftc79Evk3fOiVw,1654
|
|
@@ -25,9 +25,9 @@ listpick/utils/sorting.py,sha256=WZZiVlVA3Zkcpwji3U5SNFlQ14zVEk3cZJtQirBkecQ,532
|
|
|
25
25
|
listpick/utils/table_to_list_of_lists.py,sha256=XBj7eGBDF15BRME-swnoXyOfZWxXCxrXp0pzsBfcJ5g,12224
|
|
26
26
|
listpick/utils/user_input.py,sha256=oyJZPAwA7UGAclPhdPL44tKnPIVNHWhX-tZEnCdBKC0,4318
|
|
27
27
|
listpick/utils/utils.py,sha256=McOl9uT3jh7l4TIWeSd8ZGjK_e7r0YZF0Gl20yI6fl0,13873
|
|
28
|
-
listpick-0.1.14.
|
|
29
|
-
listpick-0.1.14.
|
|
30
|
-
listpick-0.1.14.
|
|
31
|
-
listpick-0.1.14.
|
|
32
|
-
listpick-0.1.14.
|
|
33
|
-
listpick-0.1.14.
|
|
28
|
+
listpick-0.1.14.14.dist-info/licenses/LICENSE.txt,sha256=2mP-MRHJptADDNE9VInMNg1tE-C6Qv93Z4CCQKrpg9w,1061
|
|
29
|
+
listpick-0.1.14.14.dist-info/METADATA,sha256=Xm4gp-Ad6QT0I7nKM7k9c00IWS9xLNj5R68nRAVTzOc,8091
|
|
30
|
+
listpick-0.1.14.14.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
31
|
+
listpick-0.1.14.14.dist-info/entry_points.txt,sha256=-QCf_BKIkUz35Y9nkYpjZWs2Qg0KfRna2PAs5DnF6BE,43
|
|
32
|
+
listpick-0.1.14.14.dist-info/top_level.txt,sha256=5mtsGEz86rz3qQDe0D463gGjAfSp6A3EWg4J4AGYr-Q,9
|
|
33
|
+
listpick-0.1.14.14.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|