smemhack 5.11.9__py3-none-any.whl → 5.11.11__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 CHANGED
@@ -1,2 +1,2 @@
1
1
  from .main import *
2
- __version__="5.11.9"
2
+ __version__="5.11.11"
Binary file
Binary file
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("exercise.png",grayscale=False)
38
+ exercise=py.locateCenterOnScreen(e,grayscale=False)
35
39
  py.click(exercise)
36
- time.sleep(0.5)
37
- question=py.locateCenterOnScreen("question.png",grayscale=False)
40
+ time.sleep(1)
41
+ question=py.locateCenterOnScreen(q,grayscale=False)
38
42
  question=question[0]+100
39
- qnext=py.locateCenterOnScreen("next.png",grayscale=False)
40
- qexit=py.locateCenterOnScreen("exit.png",grayscale=False)
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.9
3
+ Version: 5.11.11
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=Scr9UR0jBiuRKUyjpke_PCkTXH0UARpuLUcJsxbMBxI,42
2
+ smemhack/main.py,sha256=L-nyVyyTbKqslhYr1SoM7sDS0WZNaJTYte8yhqByrsQ,7996
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.11.dist-info/LICENSE.txt,sha256=RJahtv1H4Hjtstu6FLflvTF63-bB_QahD7q_vLWCVus,906
8
+ smemhack-5.11.11.dist-info/METADATA,sha256=bea8QWiLAB0f57m5cGQuuZ5Ilima-HXTE_erWAQFW-I,2211
9
+ smemhack-5.11.11.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
10
+ smemhack-5.11.11.dist-info/top_level.txt,sha256=xNcFNsBkAsQ7cvrsNoZurwu9SXFyvBe6PxS-zt5MuG8,9
11
+ smemhack-5.11.11.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.3.2)
2
+ Generator: bdist_wheel (0.45.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -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,,