ml-lab-prep 0.3.2__tar.gz → 0.3.3__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ml-lab-prep
3
- Version: 0.3.2
3
+ Version: 0.3.3
4
4
  Summary: 4 bare-bones ML lab pipeline notebooks
5
5
  Requires-Python: >=3.9
6
6
  Description-Content-Type: text/markdown
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "ml-lab-prep"
7
- version = "0.3.2"
7
+ version = "0.3.3"
8
8
  description = "4 bare-bones ML lab pipeline notebooks "
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
@@ -0,0 +1 @@
1
+ __version__ = "0.3.3"
@@ -18,7 +18,7 @@ def pick():
18
18
  cur, on = 0, set()
19
19
  while True:
20
20
  scr.erase()
21
- scr.addstr(0, 0, "ml-lab-prep up/down move | space select | a all | enter download | q quit")
21
+ scr.addstr(0, 0, "ml-lab-prep up/down move | space select | enter download (none selected = all 4) | q quit")
22
22
  for i, k in enumerate(keys):
23
23
  mark = "[x]" if k in on else "[ ]"
24
24
  line = f" {mark} {ITEMS[k][0]:<40} {ITEMS[k][1]}"
@@ -29,7 +29,7 @@ def pick():
29
29
  elif c in (curses.KEY_DOWN, ord("j")): cur = (cur + 1) % len(keys)
30
30
  elif c == ord(" "): on ^= {keys[cur]}
31
31
  elif c == ord("a"): on = set(keys) if len(on) < len(keys) else set()
32
- elif c in (10, 13, curses.KEY_ENTER): return [k for k in keys if k in on]
32
+ elif c in (10, 13, curses.KEY_ENTER): return [k for k in keys if k in on] or keys
33
33
  elif c in (ord("q"), 27): return []
34
34
 
35
35
  return curses.wrapper(ui)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ml-lab-prep
3
- Version: 0.3.2
3
+ Version: 0.3.3
4
4
  Summary: 4 bare-bones ML lab pipeline notebooks
5
5
  Requires-Python: >=3.9
6
6
  Description-Content-Type: text/markdown
@@ -1 +0,0 @@
1
- __version__ = "0.3.2"
File without changes
File without changes