smemhack 5.11.9__py3-none-any.whl → 5.11.10__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.
- smemhack/__init__.py +1 -1
- smemhack/images/exercise.PNG +0 -0
- smemhack/images/exit.PNG +0 -0
- smemhack/images/next.PNG +0 -0
- smemhack/images/question.PNG +0 -0
- smemhack/main.py +8 -4
- {smemhack-5.11.9.dist-info → smemhack-5.11.10.dist-info}/METADATA +5 -2
- smemhack-5.11.10.dist-info/RECORD +11 -0
- {smemhack-5.11.9.dist-info → smemhack-5.11.10.dist-info}/WHEEL +1 -1
- smemhack-5.11.9.dist-info/RECORD +0 -7
- {smemhack-5.11.9.dist-info → smemhack-5.11.10.dist-info}/LICENSE.txt +0 -0
- {smemhack-5.11.9.dist-info → smemhack-5.11.10.dist-info}/top_level.txt +0 -0
smemhack/__init__.py
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
from .main import *
|
2
|
-
__version__="5.11.
|
2
|
+
__version__="5.11.10"
|
Binary file
|
smemhack/images/exit.PNG
ADDED
Binary file
|
smemhack/images/next.PNG
ADDED
Binary file
|
Binary file
|
smemhack/main.py
CHANGED
@@ -30,14 +30,18 @@ def hack(number):
|
|
30
30
|
time.sleep(1) # Wait for 1 second to allow the switch to complete
|
31
31
|
py.keyUp("alt") # Release the Alt key
|
32
32
|
time.sleep(1)
|
33
|
+
e=pkg_resources.resource_filename("smemhack","images/exercise.png")
|
34
|
+
q=pkg_resources.resource_filename("smemhack","images/question.png")
|
35
|
+
n=pkg_resources.resource_filename("smemhack","images/next.png")
|
36
|
+
ex=pkg_resources.resource_filename("smemhack","images/exit.png")
|
33
37
|
try:
|
34
|
-
exercise=py.locateCenterOnScreen(
|
38
|
+
exercise=py.locateCenterOnScreen(e,grayscale=False)
|
35
39
|
py.click(exercise)
|
36
40
|
time.sleep(0.5)
|
37
|
-
question=py.locateCenterOnScreen(
|
41
|
+
question=py.locateCenterOnScreen(q,grayscale=False)
|
38
42
|
question=question[0]+100
|
39
|
-
qnext=py.locateCenterOnScreen(
|
40
|
-
qexit=py.locateCenterOnScreen(
|
43
|
+
qnext=py.locateCenterOnScreen(n,grayscale=False)
|
44
|
+
qexit=py.locateCenterOnScreen(ex,grayscale=False)
|
41
45
|
except:
|
42
46
|
print("can't locate")
|
43
47
|
os._exit(0)
|
@@ -1,17 +1,18 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: smemhack
|
3
|
-
Version: 5.11.
|
3
|
+
Version: 5.11.10
|
4
4
|
Summary: A Python library to automate online homework tasks with AI and system control.
|
5
|
+
Home-page: UNKNOWN
|
5
6
|
Author: Dickily
|
6
7
|
Author-email: dickilyyiu@gmail.com
|
7
8
|
License: Proprietary
|
9
|
+
Platform: UNKNOWN
|
8
10
|
Classifier: License :: Other/Proprietary License
|
9
11
|
Classifier: Programming Language :: Python :: 3
|
10
12
|
Classifier: Programming Language :: Python :: 3.8
|
11
13
|
Classifier: Operating System :: OS Independent
|
12
14
|
Requires-Python: >=3.8.18
|
13
15
|
Description-Content-Type: text/markdown
|
14
|
-
License-File: LICENSE.txt
|
15
16
|
Requires-Dist: tensorflow>=2.8.0
|
16
17
|
Requires-Dist: pyautogui>=0.9.53
|
17
18
|
Requires-Dist: pyperclip>=1.8.2
|
@@ -76,3 +77,5 @@ To use the library, simply call the `hack()` function:
|
|
76
77
|
from smemhack import hack
|
77
78
|
|
78
79
|
hack(new_word_number)
|
80
|
+
|
81
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
smemhack/__init__.py,sha256=QvEjRqu_RnWZslJqMgtwua4dR1PZAE-jlVeUbCT4GG8,42
|
2
|
+
smemhack/main.py,sha256=EJytWiNgtyoBHkT6eGy2HhI6vyN3OJ-udixASJjYZH0,7998
|
3
|
+
smemhack/images/exercise.PNG,sha256=vM_byly_GRI022Y4rYNHOkwPMUAeiyrIhT8n-H1BZMg,453
|
4
|
+
smemhack/images/exit.PNG,sha256=VYxVolgLiuSz7BnSpFgbyKlZzDNhLsuyyVdHOUEOsqA,454
|
5
|
+
smemhack/images/next.PNG,sha256=TSqR8yA5UEDN4gMHJuFRKGMvGwJ8XyHR_q-tyA3KUMk,1827
|
6
|
+
smemhack/images/question.PNG,sha256=GpSAVAmhJ_K8q0Xh-tBbuLFKM-PMrEzcQZlWDBqR2rU,502
|
7
|
+
smemhack-5.11.10.dist-info/LICENSE.txt,sha256=RJahtv1H4Hjtstu6FLflvTF63-bB_QahD7q_vLWCVus,906
|
8
|
+
smemhack-5.11.10.dist-info/METADATA,sha256=0Lx2LmdMESd3-PVmPDjjiy1bhb0cIxip-ZyRVn3gzbg,2211
|
9
|
+
smemhack-5.11.10.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
10
|
+
smemhack-5.11.10.dist-info/top_level.txt,sha256=xNcFNsBkAsQ7cvrsNoZurwu9SXFyvBe6PxS-zt5MuG8,9
|
11
|
+
smemhack-5.11.10.dist-info/RECORD,,
|
smemhack-5.11.9.dist-info/RECORD
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
smemhack/__init__.py,sha256=JcGF4PydV-lf-0Z2XVND1rdY3enRNYfh9nfpu9NS7OU,41
|
2
|
-
smemhack/main.py,sha256=N-8laK-1iHHod6aVrNMvliOoVfGKSB9T2MxM4KXFY4M,7756
|
3
|
-
smemhack-5.11.9.dist-info/LICENSE.txt,sha256=RJahtv1H4Hjtstu6FLflvTF63-bB_QahD7q_vLWCVus,906
|
4
|
-
smemhack-5.11.9.dist-info/METADATA,sha256=OISUH0Wdbp4--zzfvDPy9cM8LvSOcSF8xTVCUXajzCY,2194
|
5
|
-
smemhack-5.11.9.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
|
6
|
-
smemhack-5.11.9.dist-info/top_level.txt,sha256=xNcFNsBkAsQ7cvrsNoZurwu9SXFyvBe6PxS-zt5MuG8,9
|
7
|
-
smemhack-5.11.9.dist-info/RECORD,,
|
File without changes
|
File without changes
|