kenenet 1.0.8__py3-none-any.whl → 1.1.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 +2 -15
- {kenenet-1.0.8.dist-info → kenenet-1.1.1.dist-info}/METADATA +1 -1
- kenenet-1.1.1.dist-info/RECORD +5 -0
- kenenet-1.0.8.dist-info/RECORD +0 -5
- {kenenet-1.0.8.dist-info → kenenet-1.1.1.dist-info}/WHEEL +0 -0
- {kenenet-1.0.8.dist-info → kenenet-1.1.1.dist-info}/top_level.txt +0 -0
kenenet/__init__.py
CHANGED
@@ -1,14 +1,9 @@
|
|
1
|
-
import
|
1
|
+
import sys, zhmiscellany, keyboard, mss, time, linecache, os, random, pyperclip, inspect, re
|
2
2
|
import numpy as np
|
3
3
|
from PIL import Image
|
4
4
|
from collections import defaultdict
|
5
|
-
|
6
|
-
from pydub import AudioSegment
|
7
|
-
from pydub.playback import play
|
8
|
-
import random
|
9
5
|
import threading
|
10
6
|
import pyaudio
|
11
|
-
import time
|
12
7
|
from pydub import AudioSegment
|
13
8
|
from zhmiscellany._processing_supportfuncs import _ray_init_thread
|
14
9
|
import zhmiscellany.processing
|
@@ -36,7 +31,7 @@ def get_pos(key='f10', kill=False):
|
|
36
31
|
coord_rgb.append({'coord': (x,y), 'RGB': rgb})
|
37
32
|
coords.append((x,y))
|
38
33
|
pyperclip.copy(f'coords_rgb = {coord_rgb}\ncoords = {coords}')
|
39
|
-
quick_print(f"Added Coordinates: ({x}, {y}), RGB: {rgb} {color}████████{reset} to clipboard", lineno)
|
34
|
+
quick_print(f"Added Coordinates: ({str(x).rjust(4)}, {str(y).rjust(4)}), RGB: {str(rgb).ljust(18)} {color}████████{reset} to clipboard", lineno)
|
40
35
|
if kill:
|
41
36
|
quick_print('killing process')
|
42
37
|
zhmiscellany.misc.die()
|
@@ -303,14 +298,6 @@ _ignore_function_patterns = {
|
|
303
298
|
'<module>'
|
304
299
|
}
|
305
300
|
|
306
|
-
# Initialize site-packages directories
|
307
|
-
import sys
|
308
|
-
import os
|
309
|
-
import inspect
|
310
|
-
import time
|
311
|
-
import re
|
312
|
-
import linecache
|
313
|
-
from collections import defaultdict
|
314
301
|
|
315
302
|
# Get site-packages directories from sys.path
|
316
303
|
for path in sys.path:
|
@@ -0,0 +1,5 @@
|
|
1
|
+
kenenet/__init__.py,sha256=VQ4e0H5Fj6CRmCYrOgY8uzNLSug9b_EuEadGLYiiIUw,19878
|
2
|
+
kenenet-1.1.1.dist-info/METADATA,sha256=f1GztdOi4S_3_NLfunc_Hn4PJQE1pK3hJtzgU9AngKk,1693
|
3
|
+
kenenet-1.1.1.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
4
|
+
kenenet-1.1.1.dist-info/top_level.txt,sha256=gUsWXLrM0jF4b4nbYJZdksdFewIx_F3xOF-zER8fMuQ,8
|
5
|
+
kenenet-1.1.1.dist-info/RECORD,,
|
kenenet-1.0.8.dist-info/RECORD
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
kenenet/__init__.py,sha256=oC4cUSYUIAFkI15eYO98XTFtFWM8-t_2h0mQc4ueG7c,20122
|
2
|
-
kenenet-1.0.8.dist-info/METADATA,sha256=V5C3p7SASz7s7tb9KCyAkwe9b7mUgyqHNVkzPmMDRnM,1693
|
3
|
-
kenenet-1.0.8.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
4
|
-
kenenet-1.0.8.dist-info/top_level.txt,sha256=gUsWXLrM0jF4b4nbYJZdksdFewIx_F3xOF-zER8fMuQ,8
|
5
|
-
kenenet-1.0.8.dist-info/RECORD,,
|
File without changes
|
File without changes
|