smemhack 5.6.1__py3-none-any.whl → 5.7__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.6.1"
2
+ __version__="5.7"
smemhack/main.py CHANGED
@@ -3,6 +3,9 @@ from pyautogui import * # Import all functions from pyautogui (note: this may b
3
3
  import time # Import the time module for adding delays and calculating time intervals
4
4
  import pyperclip as pycopy # Import the pyperclip module (aliased as pycopy) to perform clipboard operations
5
5
  from pyperclip import * # Import all functions from pyperclip (again, may be redundant)
6
+ import keyboard
7
+ import os
8
+ from threading import Thread
6
9
  import tensorflow as tf
7
10
  from tensorflow.keras.models import Sequential
8
11
  from tensorflow.keras.layers import Dense,LSTM,Embedding
@@ -12,6 +15,13 @@ import numpy as np
12
15
  def hack(number):
13
16
  if number >5 or number <0 :
14
17
  raise ValueError("you only can enter number between 0-5")
18
+ def exit():
19
+ os._exit(0)
20
+ def hexit():
21
+ keyboard.add_hotkey("esc",exit)
22
+ keyboard.wait()
23
+ t=Thread(target=hexit)
24
+ t.start()
15
25
  sox,soy=1366,768
16
26
  x,y=py.size()
17
27
  nx,ny=x/sox,y/soy
@@ -37,6 +47,12 @@ def hack(number):
37
47
  first=pycopy.paste()
38
48
  first=first.split(" ")
39
49
  first="".join(first)
50
+ if "_" in first:
51
+ py.click(1316*nx,54*ny)
52
+ time.sleep(0.5)
53
+ py.click(1053*nx,317*ny)
54
+ get_w()
55
+ time.sleep(1)
40
56
  time.sleep(0.5)
41
57
  py.click(773*nx,157*ny)
42
58
  time.sleep(0.5)
@@ -183,4 +199,6 @@ def hack(number):
183
199
  time.sleep(1) # Wait for 1 second to allow the switch to complete
184
200
  py.keyUp("alt")
185
201
  input("Proccess completed...time used:%.2f"%(time.time()-tttnnn))
186
-
202
+ t.join()
203
+ if __name__=="__main__":
204
+ hack(5)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: smemhack
3
- Version: 5.6.1
3
+ Version: 5.7
4
4
  Summary: A Python library to automate online homework tasks with AI and system control.
5
5
  Home-page: UNKNOWN
6
6
  Author: Dickily
@@ -17,6 +17,7 @@ Requires-Dist: tensorflow
17
17
  Requires-Dist: pyautogui
18
18
  Requires-Dist: pyperclip
19
19
  Requires-Dist: numpy
20
+ Requires-Dist: keyboard
20
21
 
21
22
  # smemhack
22
23
  **smemhack** is a Python library designed to automate online homework tasks with AI and system control.
@@ -34,10 +35,16 @@ How to Use it:
34
35
 
35
36
  copy the code i give in the last of this discription and change the new_word_number to the number of new word you have entered
36
37
 
37
- # What is new in version 5.6
38
+ **What is new in version 5.6**
38
39
 
39
40
  Now you can't enter number below 0 or larger than 5
40
41
 
42
+ # What is new in version 5.7
43
+
44
+ 1.Now it has auto debug function,it will auto restart process if detected bug
45
+
46
+ 2.You now can exit the program by pressing esc
47
+
41
48
  **How to Use it:**
42
49
 
43
50
  copy the code i give in the last of this discription and change the new_word_number to the number of new word you have entered
@@ -0,0 +1,7 @@
1
+ smemhack/__init__.py,sha256=EhV7DQcEfmVWtsddzpCq6H0Qhvxvo0b_N7l_sRr947E,38
2
+ smemhack/main.py,sha256=iMETq0SY90_z7wsWVugim6yovTbLe0tMH8K-N1wufYA,7191
3
+ smemhack-5.7.dist-info/LICENSE.txt,sha256=RJahtv1H4Hjtstu6FLflvTF63-bB_QahD7q_vLWCVus,906
4
+ smemhack-5.7.dist-info/METADATA,sha256=mbrPNj7C1AhUAHRXrV3SlNekt_mNSvur3Y4DLo6I1J4,1719
5
+ smemhack-5.7.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
6
+ smemhack-5.7.dist-info/top_level.txt,sha256=xNcFNsBkAsQ7cvrsNoZurwu9SXFyvBe6PxS-zt5MuG8,9
7
+ smemhack-5.7.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- smemhack/__init__.py,sha256=kPbSDdXHYUnmFbmB1VLeDsPNDhZB80HwgCTSTp6RbhE,40
2
- smemhack/main.py,sha256=R0uB7bU9wdXrxtNKM85dN2MNFx_opVB1dO03EG-k2mA,6745
3
- smemhack-5.6.1.dist-info/LICENSE.txt,sha256=RJahtv1H4Hjtstu6FLflvTF63-bB_QahD7q_vLWCVus,906
4
- smemhack-5.6.1.dist-info/METADATA,sha256=C-O6lMGXpSqJ0nblLX3R-MlGZ85w7DmeOWnKsetIyd8,1531
5
- smemhack-5.6.1.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
6
- smemhack-5.6.1.dist-info/top_level.txt,sha256=xNcFNsBkAsQ7cvrsNoZurwu9SXFyvBe6PxS-zt5MuG8,9
7
- smemhack-5.6.1.dist-info/RECORD,,