smemhack 5.10__py3-none-any.whl → 5.11.1__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/main.py +11 -2
- {smemhack-5.10.dist-info → smemhack-5.11.1.dist-info}/METADATA +1 -1
- smemhack-5.11.1.dist-info/RECORD +7 -0
- smemhack-5.10.dist-info/RECORD +0 -7
- {smemhack-5.10.dist-info → smemhack-5.11.1.dist-info}/LICENSE.txt +0 -0
- {smemhack-5.10.dist-info → smemhack-5.11.1.dist-info}/WHEEL +0 -0
- {smemhack-5.10.dist-info → smemhack-5.11.1.dist-info}/top_level.txt +0 -0
smemhack/__init__.py
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
from .main import *
|
2
|
-
__version__="5.
|
2
|
+
__version__="5.11.1"
|
smemhack/main.py
CHANGED
@@ -7,6 +7,7 @@ import keyboard
|
|
7
7
|
import os
|
8
8
|
from fuzzywuzzy import process
|
9
9
|
from threading import Thread
|
10
|
+
import pkg_resources
|
10
11
|
import tensorflow as tf
|
11
12
|
from tensorflow.keras.models import Sequential
|
12
13
|
from tensorflow.keras.layers import Dense,LSTM,Embedding
|
@@ -21,8 +22,16 @@ def hack(number):
|
|
21
22
|
def hexit():
|
22
23
|
keyboard.add_hotkey("esc",exit)
|
23
24
|
keyboard.wait()
|
24
|
-
|
25
|
-
|
25
|
+
def restart():
|
26
|
+
os.system(f"python {os.path.abspath(__file__)}")
|
27
|
+
exit()
|
28
|
+
def package_version():
|
29
|
+
current_ver=pkg_resources.get_distribution("smemhack").version
|
30
|
+
if current_ver != 5.11:
|
31
|
+
os.system("pip install --upgrade smemhack")
|
32
|
+
os.system("py -m pip install --upgrade smemhack")
|
33
|
+
restart()
|
34
|
+
package_version()
|
26
35
|
t=Thread(target=hexit)
|
27
36
|
t.start()
|
28
37
|
try:
|
@@ -0,0 +1,7 @@
|
|
1
|
+
smemhack/__init__.py,sha256=2ex0NljbbHbmYG0mtNtsqqG6NY60B7cib7l6IuyyFD0,41
|
2
|
+
smemhack/main.py,sha256=tuMyuv9ClCJ47QVNbFLf_DjJ7xS1HRgdTI-C2P-fnCs,8130
|
3
|
+
smemhack-5.11.1.dist-info/LICENSE.txt,sha256=RJahtv1H4Hjtstu6FLflvTF63-bB_QahD7q_vLWCVus,906
|
4
|
+
smemhack-5.11.1.dist-info/METADATA,sha256=uF-w1T0gZPcNo8rlkqBgfvIjmuByOCilcirqXjGKDQk,2101
|
5
|
+
smemhack-5.11.1.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
|
6
|
+
smemhack-5.11.1.dist-info/top_level.txt,sha256=xNcFNsBkAsQ7cvrsNoZurwu9SXFyvBe6PxS-zt5MuG8,9
|
7
|
+
smemhack-5.11.1.dist-info/RECORD,,
|
smemhack-5.10.dist-info/RECORD
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
smemhack/__init__.py,sha256=qxd-Coqzhgh2B4dWt49lYg_4N9B6LqKuArZr_OVF6_U,39
|
2
|
-
smemhack/main.py,sha256=3AmczPFQY6pNUIVBKI5mT8D1NnqFR8jZ7105hiEoGag,7819
|
3
|
-
smemhack-5.10.dist-info/LICENSE.txt,sha256=RJahtv1H4Hjtstu6FLflvTF63-bB_QahD7q_vLWCVus,906
|
4
|
-
smemhack-5.10.dist-info/METADATA,sha256=GNJcri-_F8ZvKuzrBe-InKDUGQ86MQ9aRLnFQtZNjXU,2099
|
5
|
-
smemhack-5.10.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
|
6
|
-
smemhack-5.10.dist-info/top_level.txt,sha256=xNcFNsBkAsQ7cvrsNoZurwu9SXFyvBe6PxS-zt5MuG8,9
|
7
|
-
smemhack-5.10.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|