smemhack 5.11.8__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 CHANGED
@@ -1,2 +1,2 @@
1
1
  from .main import *
2
- __version__="5.11.8"
2
+ __version__="5.11.10"
Binary file
Binary file
Binary file
Binary file
smemhack/main.py CHANGED
@@ -29,14 +29,19 @@ def hack(number):
29
29
  py.press("tab") # Simulate pressing the Tab key to switch between applications/windows
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
+ 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")
32
37
  try:
33
- exercise=py.locateCenterOnScreen("exercise.png",grayscale=False)
38
+ exercise=py.locateCenterOnScreen(e,grayscale=False)
34
39
  py.click(exercise)
35
40
  time.sleep(0.5)
36
- question=py.locateCenterOnScreen("question.png",grayscale=False)
41
+ question=py.locateCenterOnScreen(q,grayscale=False)
37
42
  question=question[0]+100
38
- qnext=py.locateCenterOnScreen("next.png",grayscale=False)
39
- qexit=py.locateCenterOnScreen("exit.png",grayscale=False)
43
+ qnext=py.locateCenterOnScreen(n,grayscale=False)
44
+ qexit=py.locateCenterOnScreen(ex,grayscale=False)
40
45
  except:
41
46
  print("can't locate")
42
47
  os._exit(0)
@@ -1,17 +1,18 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: smemhack
3
- Version: 5.11.8
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,,
@@ -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=0PvGRCCz51SMRf-PJ4XkvCRDBCmyeGVFlIi-3u_g2pQ,41
2
- smemhack/main.py,sha256=vX04KsWpUmtb3w0cs4r-BjW62pIqJoc2-DHvdae8GDc,7737
3
- smemhack-5.11.8.dist-info/LICENSE.txt,sha256=RJahtv1H4Hjtstu6FLflvTF63-bB_QahD7q_vLWCVus,906
4
- smemhack-5.11.8.dist-info/METADATA,sha256=p-Xc-RekI9FoDaps20ii_0udQWHZRi7I-2m4cj7VL8A,2194
5
- smemhack-5.11.8.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
6
- smemhack-5.11.8.dist-info/top_level.txt,sha256=xNcFNsBkAsQ7cvrsNoZurwu9SXFyvBe6PxS-zt5MuG8,9
7
- smemhack-5.11.8.dist-info/RECORD,,