XMWAI 0.1.81__py3-none-any.whl → 0.2.0__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.
Potentially problematic release.
This version of XMWAI might be problematic. Click here for more details.
- XMWAI/core.py +14 -3
- {xmwai-0.1.81.dist-info → xmwai-0.2.0.dist-info}/METADATA +1 -1
- {xmwai-0.1.81.dist-info → xmwai-0.2.0.dist-info}/RECORD +6 -6
- {xmwai-0.1.81.dist-info → xmwai-0.2.0.dist-info}/WHEEL +1 -1
- {xmwai-0.1.81.dist-info → xmwai-0.2.0.dist-info}/licenses/LICENSE.txt +0 -0
- {xmwai-0.1.81.dist-info → xmwai-0.2.0.dist-info}/top_level.txt +0 -0
XMWAI/core.py
CHANGED
|
@@ -2,6 +2,7 @@ import re
|
|
|
2
2
|
import requests
|
|
3
3
|
import json
|
|
4
4
|
import os
|
|
5
|
+
import zipfile
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
def story(role, time, address, event, key=""):
|
|
@@ -211,7 +212,17 @@ def poem(title, key=""):
|
|
|
211
212
|
|
|
212
213
|
response_data = json.loads(response.text)
|
|
213
214
|
content = response_data["choices"][0]["message"]["content"]
|
|
214
|
-
content.replace("
|
|
215
|
-
|
|
216
|
-
|
|
215
|
+
content = content.replace("\n", "")
|
|
216
|
+
while " " in content:
|
|
217
|
+
content = content.replace(" ", "")
|
|
217
218
|
return content
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
def crack(name, pwd):
|
|
222
|
+
try:
|
|
223
|
+
zFile=zipfile.ZipFile(name + ".zip")
|
|
224
|
+
zFile.extractall(pwd=str(pwd).encode())
|
|
225
|
+
print("已成功破解密码:",pwd)
|
|
226
|
+
os.system("Treasuremap.png")
|
|
227
|
+
except:
|
|
228
|
+
print("密码错误")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
XMWAI/__init__.py,sha256=2ZiaoXUtLQ6YFSyb7Q7iOulKRLK128ddeBdYBbcIyww,494
|
|
2
2
|
XMWAI/bomb_core.py,sha256=dRORqAyhItkFuMUHAN0vwQcvrvb3C5X18hmaUMJ0hhE,1708
|
|
3
|
-
XMWAI/core.py,sha256=
|
|
3
|
+
XMWAI/core.py,sha256=wo4ruTUBoGm2L4wzNLEpQr_mwEdcUF1C8V2MoqjLM9Q,8056
|
|
4
4
|
XMWAI/idiom.json,sha256=HUtPRUzhxBbWoasjadbmbA_5ngQ5AXLu9weQSZ4hzhk,10319857
|
|
5
5
|
XMWAI/idiom_core.py,sha256=0Uu9GxVwEvFAhjj0M2Orw-E9FjKT05jKQDbUvg0wAXE,1577
|
|
6
6
|
XMWAI/magic_core.py,sha256=XU7K4Ta7EAvwBLk20_Hlu18E6Kz8B0HxUBq0YsawikE,3441
|
|
@@ -91,8 +91,8 @@ XMWAI/gif/84.gif,sha256=6Ip_uQmvrr2fagLXu1YqWyI_DL2PVVtKCPtmNtzt3P4,38767
|
|
|
91
91
|
XMWAI/gif/85.gif,sha256=6Ip_uQmvrr2fagLXu1YqWyI_DL2PVVtKCPtmNtzt3P4,38767
|
|
92
92
|
XMWAI/gif/9.gif,sha256=cPouth-xwc3QPcg2m6HMP2OD1ZCeRBD_-RPImvvKAA0,9485
|
|
93
93
|
XMWAI/gif/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
94
|
-
xmwai-0.
|
|
95
|
-
xmwai-0.
|
|
96
|
-
xmwai-0.
|
|
97
|
-
xmwai-0.
|
|
98
|
-
xmwai-0.
|
|
94
|
+
xmwai-0.2.0.dist-info/licenses/LICENSE.txt,sha256=bcaIQMrIhdQ3O-PoZlexjmW6h-wLGvHxh5Oksl4ohtc,1066
|
|
95
|
+
xmwai-0.2.0.dist-info/METADATA,sha256=yHeQU6iL2J4OieNsJfwcCo_0m3sHXpFKC2lEvXgL2Zc,1033
|
|
96
|
+
xmwai-0.2.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
97
|
+
xmwai-0.2.0.dist-info/top_level.txt,sha256=yvGcDI-sggK5jqd9wz0saipZvk3oIE3hNGHlqUjxf0c,6
|
|
98
|
+
xmwai-0.2.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|