smemhack 5.8.2__tar.gz → 5.10__tar.gz

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-5.10/PKG-INFO ADDED
@@ -0,0 +1,74 @@
1
+ Metadata-Version: 2.1
2
+ Name: smemhack
3
+ Version: 5.10
4
+ Summary: A Python library to automate online homework tasks with AI and system control.
5
+ Author: Dickily
6
+ Author-email: dickilyyiu@gmail.com
7
+ License: Proprietary
8
+ Classifier: License :: Other/Proprietary License
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Programming Language :: Python :: 3.8
11
+ Classifier: Operating System :: OS Independent
12
+ Requires-Python: >=3.8.18
13
+ Description-Content-Type: text/markdown
14
+ License-File: LICENSE.txt
15
+ Requires-Dist: tensorflow>=2.8.0
16
+ Requires-Dist: pyautogui>=0.9.53
17
+ Requires-Dist: pyperclip>=1.8.2
18
+ Requires-Dist: numpy>=1.20.0
19
+ Requires-Dist: keyboard>=0.13.5
20
+ Requires-Dist: fuzzywuzzy>=0.18.0
21
+ Requires-Dist: python-Levenshtein>=0.12.2
22
+ Requires-Dist: Pillow>=8.0.0
23
+
24
+ # smemhack
25
+ **smemhack** is a Python library designed to automate online homework tasks with AI and system control.
26
+ What is inside:
27
+
28
+ 1.auto train ai to finish solidmemory
29
+
30
+ 2.having a compare system to prevent accident error
31
+
32
+ **What is New in version 5.5**
33
+
34
+ You now can control the new word number(max=5)
35
+
36
+ How to Use it:
37
+
38
+ 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
39
+
40
+ **What is new in version 5.6**
41
+
42
+ Now you can't enter number below 0 or larger than 5
43
+
44
+ **What is new in version 5.7**
45
+
46
+ 1.Now it has auto debug function,it will auto restart process if detected bug
47
+
48
+ 2.You now can exit the program by pressing esc
49
+
50
+ **What is new in version 5.8**
51
+
52
+ Upgraded the backup compare system
53
+
54
+ **What is new in version 5.9**
55
+
56
+ Now it will auto upgrade the program
57
+
58
+ # What is new in version 5.10
59
+
60
+ Updated the code so that it will fit everybody's computer
61
+
62
+ **How to Use it:**
63
+
64
+ 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
65
+
66
+ 1.Prepare a not started solidmemory page(exercise page)
67
+
68
+ 2.Run the code
69
+ ## Usage
70
+ To use the library, simply call the `hack()` function:
71
+ ```python
72
+ from smemhack import hack
73
+
74
+ hack(new_word_number)
@@ -24,15 +24,23 @@ Now you can't enter number below 0 or larger than 5
24
24
 
25
25
  2.You now can exit the program by pressing esc
26
26
 
27
- # What is new in version 5.8
27
+ **What is new in version 5.8**
28
28
 
29
29
  Upgraded the backup compare system
30
30
 
31
+ **What is new in version 5.9**
32
+
33
+ Now it will auto upgrade the program
34
+
35
+ # What is new in version 5.10
36
+
37
+ Updated the code so that it will fit everybody's computer
38
+
31
39
  **How to Use it:**
32
40
 
33
41
  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
34
42
 
35
- 1.Prepare a started solidmemory page(exercise page)
43
+ 1.Prepare a not started solidmemory page(exercise page)
36
44
 
37
45
  2.Run the code
38
46
  ## Usage
@@ -6,7 +6,7 @@ with open("README.md", "r", encoding="utf-8") as f:
6
6
 
7
7
  setup(
8
8
  name="smemhack",
9
- version="5.8.2",
9
+ version="5.10",
10
10
  packages=find_packages(),
11
11
  install_requires=[
12
12
  "tensorflow>=2.8.0", # Require TensorFlow version 2.8.0 or newer
@@ -15,7 +15,8 @@ setup(
15
15
  "numpy>=1.20.0", # Require NumPy version 1.20.0 or newer
16
16
  "keyboard>=0.13.5", # Require Keyboard package version 0.13.5 or newer
17
17
  "fuzzywuzzy>=0.18.0", # Require FuzzyWuzzy version 0.18.0 or newer
18
- "python-Levenshtein>=0.12.2" # Require Python-Levenshtein version 0.12.2 or newer
18
+ "python-Levenshtein>=0.12.2", # Require Python-Levenshtein version 0.12.2 or newer
19
+ "Pillow>=8.0.0" # Add Pillow for PyAutoGUI screenshot functionality
19
20
  ],
20
21
  description="A Python library to automate online homework tasks with AI and system control.",
21
22
  long_description=long_description, # Use README.md for the description
@@ -1,2 +1,2 @@
1
1
  from .main import *
2
- __version__="5.8.2"
2
+ __version__="5.10"
@@ -21,11 +21,21 @@ def hack(number):
21
21
  def hexit():
22
22
  keyboard.add_hotkey("esc",exit)
23
23
  keyboard.wait()
24
+ os.system("pip install --upgrade smemhack")
25
+ os.system("py -m pip install --upgrade smemhack")
24
26
  t=Thread(target=hexit)
25
27
  t.start()
26
- sox,soy=1366,768
27
- x,y=py.size()
28
- nx,ny=x/sox,y/soy
28
+ try:
29
+ exercise=py.locateCenterOnScreen("exercise.png",grayscale=False)
30
+ py.click(exercise)
31
+ time.sleep(0.5)
32
+ question=py.locateCenterOnScreen("question.png",grayscale=False)
33
+ question=question[0]+100
34
+ qnext=py.locateCenterOnScreen("next.png",grayscale=False)
35
+ qexit=py.locateCenterOnScreen("exit.png",grayscale=False)
36
+ except:
37
+ print("can't locate")
38
+ os._exit(0)
29
39
  py.keyDown("alt") # Simulate pressing down the Alt key
30
40
  time.sleep(1) # Wait for 1 second to ensure the key press is registered
31
41
  py.press("tab") # Simulate pressing the Tab key to switch between applications/windows
@@ -37,7 +47,7 @@ def hack(number):
37
47
  def get_w():
38
48
  py.press("enter")
39
49
  time.sleep(0.5)
40
- py.click(971*nx,106*ny)
50
+ py.click(question)
41
51
  py.click()
42
52
  py.mouseDown()
43
53
  py.keyDown("ctrl")
@@ -49,15 +59,15 @@ def hack(number):
49
59
  first=first.split(" ")
50
60
  first="".join(first)
51
61
  if "_" in first:
52
- py.click(1315*nx,41*ny)
62
+ py.click(qexit)
53
63
  time.sleep(0.5)
54
- py.click(1053*nx,317*ny)
64
+ py.click(exercise)
55
65
  get_w()
56
66
  time.sleep(1)
57
67
  time.sleep(0.5)
58
- py.click(773*nx,157*ny)
68
+ py.click(qnext)
59
69
  time.sleep(0.5)
60
- py.click(115*nx,604*ny)
70
+ py.click(115,604)
61
71
  time.sleep(0.5)
62
72
  py.keyDown("ctrl")
63
73
  py.press("a")
@@ -66,7 +76,7 @@ def hack(number):
66
76
  py.click()
67
77
  time.sleep(0.5)
68
78
  first_g=pycopy.paste()
69
- py.click(971*nx,106*ny)
79
+ py.click(question)
70
80
  time.sleep(0.5)
71
81
  py.typewrite(first)
72
82
  time.sleep(0.5)
@@ -77,7 +87,7 @@ def hack(number):
77
87
  while True:
78
88
  py.press("enter")
79
89
  time.sleep(0.5)
80
- py.click(971*nx,106*ny)
90
+ py.click(question)
81
91
  py.click()
82
92
  py.mouseDown()
83
93
  time.sleep(0.5)
@@ -87,21 +97,21 @@ def hack(number):
87
97
  py.mouseUp()
88
98
  py.click()
89
99
  time.sleep(0.5)
90
- py.click(797*nx,156*ny)
100
+ py.click(qnext)
91
101
  n=pycopy.paste()
92
102
  n=n.split(" ")
93
103
  n="".join(n)
94
104
  if "_" in n:
95
- py.click(1315*nx,41*ny)
105
+ py.click(qexit)
96
106
  time.sleep(0.5)
97
- py.click(1053*nx,317*ny)
107
+ py.click(exercise)
98
108
  get_w()
99
109
  if n== first:
100
110
  break
101
111
  else:
102
112
  data.append(n)
103
113
  time.sleep(0.5)
104
- py.click(115*nx,604*ny)
114
+ py.click(115,604)
105
115
  time.sleep(0.5)
106
116
  py.keyDown("ctrl")
107
117
  py.press("a")
@@ -111,14 +121,14 @@ def hack(number):
111
121
  time.sleep(0.5)
112
122
  nn=pycopy.paste()
113
123
  get.append(nn)
114
- py.click(971*nx,106*ny)
124
+ py.click(question)
115
125
  time.sleep(0.5)
116
126
  py.typewrite(n)
117
127
  time.sleep(0.5)
118
128
  py.press("enter")
119
129
  time.sleep(0.5)
120
130
  time.sleep(0.5)
121
- py.click(1315*nx,41*ny)
131
+ py.click(qexit)
122
132
  get_w()
123
133
  py.keyDown("alt") # Simulate pressing down the Alt key
124
134
  time.sleep(1) # Wait for 1 second to ensure the key press is registered
@@ -146,7 +156,7 @@ def hack(number):
146
156
  py.press("tab") # Simulate pressing the Tab key to switch between applications/windows
147
157
  time.sleep(1) # Wait for 1 second to allow the switch to complete
148
158
  py.keyUp("alt")
149
- py.click(1053*nx,317*ny)
159
+ py.click(exercise)
150
160
  time.sleep(1)
151
161
  lw=""
152
162
  def normal_w(ggget,data):
@@ -157,7 +167,7 @@ def hack(number):
157
167
  gget="\n".join(gget)
158
168
  xget.append(gget)
159
169
  for _ in range(0,len(data)+number):
160
- py.click(115*nx,604*ny)
170
+ py.click(115,604)
161
171
  py.keyDown("ctrl")
162
172
  py.press("a")
163
173
  py.press("c")
@@ -169,13 +179,13 @@ def hack(number):
169
179
  w=w[2:]
170
180
  w="\n".join(w)
171
181
  word,_=process.extractOne(w,xget)
172
- py.click(971*nx,106*ny)
182
+ py.click(question)
173
183
  time.sleep(0.5)
174
184
  py.typewrite(data[xget.index(word)])
175
185
  py.press("enter")
176
186
  time.sleep(1)
177
187
  for _ in range(0,len(data)+number):
178
- py.click(115*nx,604*ny)
188
+ py.click(115,604)
179
189
  py.keyDown("ctrl")
180
190
  py.press("a")
181
191
  py.press("c")
@@ -184,9 +194,9 @@ def hack(number):
184
194
  time.sleep(0.5)
185
195
  gg=pycopy.paste()
186
196
  if gg== lw:
187
- py.click(1315*nx,41*ny)
197
+ py.click(qexit)
188
198
  time.sleep(0.5)
189
- py.click(1053*nx,317*ny)
199
+ py.click(exercise)
190
200
  normal_w(get,data)
191
201
  break
192
202
  else:
@@ -196,7 +206,7 @@ def hack(number):
196
206
  gg=pad_sequences(gg,maxlen=5)
197
207
  prediction=model.predict(gg)
198
208
  pd=np.argmax(prediction)
199
- py.click(971*nx,106*ny)
209
+ py.click(question)
200
210
  time.sleep(0.5)
201
211
  py.typewrite(data[pd])
202
212
  py.press("enter")
@@ -0,0 +1,74 @@
1
+ Metadata-Version: 2.1
2
+ Name: smemhack
3
+ Version: 5.10
4
+ Summary: A Python library to automate online homework tasks with AI and system control.
5
+ Author: Dickily
6
+ Author-email: dickilyyiu@gmail.com
7
+ License: Proprietary
8
+ Classifier: License :: Other/Proprietary License
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Programming Language :: Python :: 3.8
11
+ Classifier: Operating System :: OS Independent
12
+ Requires-Python: >=3.8.18
13
+ Description-Content-Type: text/markdown
14
+ License-File: LICENSE.txt
15
+ Requires-Dist: tensorflow>=2.8.0
16
+ Requires-Dist: pyautogui>=0.9.53
17
+ Requires-Dist: pyperclip>=1.8.2
18
+ Requires-Dist: numpy>=1.20.0
19
+ Requires-Dist: keyboard>=0.13.5
20
+ Requires-Dist: fuzzywuzzy>=0.18.0
21
+ Requires-Dist: python-Levenshtein>=0.12.2
22
+ Requires-Dist: Pillow>=8.0.0
23
+
24
+ # smemhack
25
+ **smemhack** is a Python library designed to automate online homework tasks with AI and system control.
26
+ What is inside:
27
+
28
+ 1.auto train ai to finish solidmemory
29
+
30
+ 2.having a compare system to prevent accident error
31
+
32
+ **What is New in version 5.5**
33
+
34
+ You now can control the new word number(max=5)
35
+
36
+ How to Use it:
37
+
38
+ 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
39
+
40
+ **What is new in version 5.6**
41
+
42
+ Now you can't enter number below 0 or larger than 5
43
+
44
+ **What is new in version 5.7**
45
+
46
+ 1.Now it has auto debug function,it will auto restart process if detected bug
47
+
48
+ 2.You now can exit the program by pressing esc
49
+
50
+ **What is new in version 5.8**
51
+
52
+ Upgraded the backup compare system
53
+
54
+ **What is new in version 5.9**
55
+
56
+ Now it will auto upgrade the program
57
+
58
+ # What is new in version 5.10
59
+
60
+ Updated the code so that it will fit everybody's computer
61
+
62
+ **How to Use it:**
63
+
64
+ 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
65
+
66
+ 1.Prepare a not started solidmemory page(exercise page)
67
+
68
+ 2.Run the code
69
+ ## Usage
70
+ To use the library, simply call the `hack()` function:
71
+ ```python
72
+ from smemhack import hack
73
+
74
+ hack(new_word_number)
@@ -5,3 +5,4 @@ numpy>=1.20.0
5
5
  keyboard>=0.13.5
6
6
  fuzzywuzzy>=0.18.0
7
7
  python-Levenshtein>=0.12.2
8
+ Pillow>=8.0.0
smemhack-5.8.2/PKG-INFO DELETED
@@ -1,59 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: smemhack
3
- Version: 5.8.2
4
- Summary: A Python library to automate online homework tasks with AI and system control.
5
- Home-page: UNKNOWN
6
- Author: Dickily
7
- Author-email: dickilyyiu@gmail.com
8
- License: Proprietary
9
- Description: # smemhack
10
- **smemhack** is a Python library designed to automate online homework tasks with AI and system control.
11
- What is inside:
12
-
13
- 1.auto train ai to finish solidmemory
14
-
15
- 2.having a compare system to prevent accident error
16
-
17
- **What is New in version 5.5**
18
-
19
- You now can control the new word number(max=5)
20
-
21
- How to Use it:
22
-
23
- 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
24
-
25
- **What is new in version 5.6**
26
-
27
- Now you can't enter number below 0 or larger than 5
28
-
29
- **What is new in version 5.7**
30
-
31
- 1.Now it has auto debug function,it will auto restart process if detected bug
32
-
33
- 2.You now can exit the program by pressing esc
34
-
35
- # What is new in version 5.8
36
-
37
- Upgraded the backup compare system
38
-
39
- **How to Use it:**
40
-
41
- 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
42
-
43
- 1.Prepare a started solidmemory page(exercise page)
44
-
45
- 2.Run the code
46
- ## Usage
47
- To use the library, simply call the `hack()` function:
48
- ```python
49
- from smemhack import hack
50
-
51
- hack(new_word_number)
52
-
53
- Platform: UNKNOWN
54
- Classifier: License :: Other/Proprietary License
55
- Classifier: Programming Language :: Python :: 3
56
- Classifier: Programming Language :: Python :: 3.8
57
- Classifier: Operating System :: OS Independent
58
- Requires-Python: >=3.8.18
59
- Description-Content-Type: text/markdown
@@ -1,59 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: smemhack
3
- Version: 5.8.2
4
- Summary: A Python library to automate online homework tasks with AI and system control.
5
- Home-page: UNKNOWN
6
- Author: Dickily
7
- Author-email: dickilyyiu@gmail.com
8
- License: Proprietary
9
- Description: # smemhack
10
- **smemhack** is a Python library designed to automate online homework tasks with AI and system control.
11
- What is inside:
12
-
13
- 1.auto train ai to finish solidmemory
14
-
15
- 2.having a compare system to prevent accident error
16
-
17
- **What is New in version 5.5**
18
-
19
- You now can control the new word number(max=5)
20
-
21
- How to Use it:
22
-
23
- 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
24
-
25
- **What is new in version 5.6**
26
-
27
- Now you can't enter number below 0 or larger than 5
28
-
29
- **What is new in version 5.7**
30
-
31
- 1.Now it has auto debug function,it will auto restart process if detected bug
32
-
33
- 2.You now can exit the program by pressing esc
34
-
35
- # What is new in version 5.8
36
-
37
- Upgraded the backup compare system
38
-
39
- **How to Use it:**
40
-
41
- 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
42
-
43
- 1.Prepare a started solidmemory page(exercise page)
44
-
45
- 2.Run the code
46
- ## Usage
47
- To use the library, simply call the `hack()` function:
48
- ```python
49
- from smemhack import hack
50
-
51
- hack(new_word_number)
52
-
53
- Platform: UNKNOWN
54
- Classifier: License :: Other/Proprietary License
55
- Classifier: Programming Language :: Python :: 3
56
- Classifier: Programming Language :: Python :: 3.8
57
- Classifier: Operating System :: OS Independent
58
- Requires-Python: >=3.8.18
59
- Description-Content-Type: text/markdown
File without changes
File without changes