kenenet 0.1.9__py3-none-any.whl → 0.2.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
@@ -7,9 +7,7 @@ def adding(a, b):
7
7
 
8
8
  def _quick_print(message, l=None):
9
9
  if l:
10
- frame = inspect.currentframe().f_back
11
- lineno = frame.f_lineno
12
- sys.stdout.write(f"\033[38;2;0;255;26m{lineno} || {message}\033[0m\n")
10
+ sys.stdout.write(f"\033[38;2;0;255;26m{l} || {message}\033[0m\n")
13
11
  else:
14
12
  sys.stdout.write(f"\033[38;2;0;255;26m {message}\033[0m\n")
15
13
 
@@ -25,7 +23,7 @@ def get_pos(key='f10', kill=False):
25
23
  rgb = screenshot.pixel(0, 0)
26
24
  color = f"\033[38;2;{rgb[0]};{rgb[1]};{rgb[2]}m"
27
25
  reset = "\033[0m"
28
- frame = inspect.currentframe().f_back
26
+ frame = inspect.currentframe().f_back.f_back.f_back
29
27
  lineno = frame.f_lineno
30
28
  _quick_print(f"Coordinates: ({x}, {y}), RGB: {rgb} {color}████████{reset}", lineno)
31
29
  if kill:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: kenenet
3
- Version: 0.1.9
3
+ Version: 0.2.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=dxsYTEgSfSJwpxuyNYHYKJKCZBneSXt-XWEtq_xSixY,1832
2
+ kenenet-0.2.1.dist-info/METADATA,sha256=DHVGCtUbl6cjYt8sKqOr2CU-fjKjEf-t1vbOWRTpzlk,513
3
+ kenenet-0.2.1.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
4
+ kenenet-0.2.1.dist-info/top_level.txt,sha256=gUsWXLrM0jF4b4nbYJZdksdFewIx_F3xOF-zER8fMuQ,8
5
+ kenenet-0.2.1.dist-info/RECORD,,
@@ -1,5 +0,0 @@
1
- kenenet/__init__.py,sha256=_uLBeB4DUTZdzen-NJpGFesXk-lJYUg5wCbuk8qD4uo,1903
2
- kenenet-0.1.9.dist-info/METADATA,sha256=TplWJsyiG9mK3hhIdOPkKfHHUiiBp_kwFS_-j6SGmqQ,513
3
- kenenet-0.1.9.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
4
- kenenet-0.1.9.dist-info/top_level.txt,sha256=gUsWXLrM0jF4b4nbYJZdksdFewIx_F3xOF-zER8fMuQ,8
5
- kenenet-0.1.9.dist-info/RECORD,,