kenenet 0.3.9__py3-none-any.whl → 0.4.1__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.
kenenet/__init__.py CHANGED
@@ -14,7 +14,7 @@ def quick_print(message, l=None):
14
14
 
15
15
  def get_pos(key='f10', kill=False):
16
16
  coordinates = []
17
- def _get_pos(key, lineno, kill=False):
17
+ def _get_pos(key, kill=False):
18
18
  while True:
19
19
  keyboard.wait(key)
20
20
  x, y = zhmiscellany.misc.get_mouse_xy()
@@ -25,7 +25,7 @@ def get_pos(key='f10', kill=False):
25
25
  color = f"\033[38;2;{rgb[0]};{rgb[1]};{rgb[2]}m"
26
26
  reset = "\033[38;2;0;255;26m"
27
27
  coordinates.append({'coord': (x,y), 'RGB': rgb})
28
- pyperclip.copy(coordinates)
28
+ pyperclip.copy(str(coordinates))
29
29
  quick_print(f"Added Coordinates: ({x}, {y}), RGB: {rgb} {color}████████{reset} to clipboard", lineno)
30
30
  if kill:
31
31
  quick_print('killing process')
@@ -33,7 +33,7 @@ def get_pos(key='f10', kill=False):
33
33
  quick_print(f'Press {key} when ever you want the location')
34
34
  frame = inspect.currentframe().f_back
35
35
  lineno = frame.f_lineno
36
- _get_pos(key=key, kill=kill)
36
+ _get_pos(key, kill)
37
37
  # zhmiscellany.processing.start_daemon(target=_get_pos, args=(key, lineno, ))
38
38
 
39
39
  def timer(clock=1):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: kenenet
3
- Version: 0.3.9
3
+ Version: 0.4.1
4
4
  Summary: dude what the fuck even is this package
5
5
  Home-page: https://www.youtube.com/@KiddyKene
6
6
  Author: kiddykene
@@ -0,0 +1,5 @@
1
+ kenenet/__init__.py,sha256=r2pb62B4iyqZSSvW88QfzGTnkVak0vcCjILA__pwnJ4,6575
2
+ kenenet-0.4.1.dist-info/METADATA,sha256=SgV_UlO_u2G9BDiYR-OjRgRWm-zwW_Xf1GDb6YT2zdc,633
3
+ kenenet-0.4.1.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
4
+ kenenet-0.4.1.dist-info/top_level.txt,sha256=gUsWXLrM0jF4b4nbYJZdksdFewIx_F3xOF-zER8fMuQ,8
5
+ kenenet-0.4.1.dist-info/RECORD,,
@@ -1,5 +0,0 @@
1
- kenenet/__init__.py,sha256=VXKnVNpmxu8vtTggxweoJBXhkn_t97dfw4itiocg7zg,6587
2
- kenenet-0.3.9.dist-info/METADATA,sha256=GR-qkWee6IRAMW03pcTGYhQvgy-cf1k7EweRg4rEzs8,633
3
- kenenet-0.3.9.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
4
- kenenet-0.3.9.dist-info/top_level.txt,sha256=gUsWXLrM0jF4b4nbYJZdksdFewIx_F3xOF-zER8fMuQ,8
5
- kenenet-0.3.9.dist-info/RECORD,,