kenenet 0.2.2__py3-none-any.whl → 0.2.4__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
@@ -13,7 +13,7 @@ def _quick_print(message, l=None):
13
13
 
14
14
 
15
15
  def get_pos(key='f10', kill=False):
16
- def _get_pos(key):
16
+ def _get_pos(key, lineno):
17
17
  while True:
18
18
  keyboard.wait(key)
19
19
  x, y = zhmiscellany.misc.get_mouse_xy()
@@ -23,13 +23,13 @@ def get_pos(key='f10', kill=False):
23
23
  rgb = screenshot.pixel(0, 0)
24
24
  color = f"\033[38;2;{rgb[0]};{rgb[1]};{rgb[2]}m"
25
25
  reset = "\033[0m"
26
- frame = inspect.currentframe().f_back.f_back.f_back.f_back
27
- lineno = frame.f_lineno
28
26
  _quick_print(f"Coordinates: ({x}, {y}), RGB: {rgb} {color}████████{reset}", lineno)
29
27
  if kill:
30
28
  _quick_print('killing process')
31
29
  zhmiscellany.misc.die()
32
- zhmiscellany.processing.start_daemon(target=_get_pos, args=(key,))
30
+ frame = inspect.currentframe().f_back
31
+ lineno = frame.f_lineno
32
+ zhmiscellany.processing.start_daemon(target=_get_pos, args=(key, lineno, ))
33
33
 
34
34
  def time_it(clock=1):
35
35
  if clock in timings:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: kenenet
3
- Version: 0.2.2
3
+ Version: 0.2.4
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=TA46WAqRKSmxUt2IgtF0o0Fb8IAnCZ2jBjbN5n2MiTc,1819
2
+ kenenet-0.2.4.dist-info/METADATA,sha256=_VhwsXfqtHY-E31j_Cux-zJED8zcJFlVcPVuo8PIXm0,513
3
+ kenenet-0.2.4.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
4
+ kenenet-0.2.4.dist-info/top_level.txt,sha256=gUsWXLrM0jF4b4nbYJZdksdFewIx_F3xOF-zER8fMuQ,8
5
+ kenenet-0.2.4.dist-info/RECORD,,
@@ -1,5 +0,0 @@
1
- kenenet/__init__.py,sha256=fs4GySamKtThzsAPKPOtWaGpdgIWQsJiPPMNBPgZUy4,1839
2
- kenenet-0.2.2.dist-info/METADATA,sha256=_QlZgZuor-xLW_Az8R3l5t35_L_jyKcccFFuidk8xeI,513
3
- kenenet-0.2.2.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
4
- kenenet-0.2.2.dist-info/top_level.txt,sha256=gUsWXLrM0jF4b4nbYJZdksdFewIx_F3xOF-zER8fMuQ,8
5
- kenenet-0.2.2.dist-info/RECORD,,