kenenet 1.2.2__py3-none-any.whl → 1.2.3__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
@@ -534,6 +534,15 @@ def get_focused_process_name(mute=False):
534
534
  except psutil.NoSuchProcess:
535
535
  return None
536
536
 
537
+ def coord_rgb(coord=None):
538
+ if coord is not None:
539
+ with mss.mss() as sct:
540
+ region = {"left": coord[0], "top": coord[1], "width": 1, "height": 1}
541
+ screenshot = sct.grab(region)
542
+ rgb = screenshot.pixel(0, 0)
543
+ return rgb
544
+ else: return None
545
+
537
546
  ct = time_loop
538
547
 
539
548
  class k:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: kenenet
3
- Version: 1.2.2
3
+ Version: 1.2.3
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=4Elg3QQ7bTh2A01EMLnZh0li5OCLZpOXNOvk7doBz6Q,21857
2
+ kenenet-1.2.3.dist-info/METADATA,sha256=D8w7MBuzS1lpc-I70eMuJ38h7t_HDbShboZwe6WetVk,1693
3
+ kenenet-1.2.3.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
4
+ kenenet-1.2.3.dist-info/top_level.txt,sha256=gUsWXLrM0jF4b4nbYJZdksdFewIx_F3xOF-zER8fMuQ,8
5
+ kenenet-1.2.3.dist-info/RECORD,,
@@ -1,5 +0,0 @@
1
- kenenet/__init__.py,sha256=2tr73Q3mzdlD2GR0uU8GZgLuXAEy7PmTvGqCJcSmMz8,21557
2
- kenenet-1.2.2.dist-info/METADATA,sha256=UM_pLlbJwXmWQMmuudR9xu5fB-v5XOzLqCI-YhPkBZ8,1693
3
- kenenet-1.2.2.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
4
- kenenet-1.2.2.dist-info/top_level.txt,sha256=gUsWXLrM0jF4b4nbYJZdksdFewIx_F3xOF-zER8fMuQ,8
5
- kenenet-1.2.2.dist-info/RECORD,,