MaaFw 3.0.0b2__py3-none-win_amd64.whl → 3.0.3__py3-none-win_amd64.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 MaaFw might be problematic. Click here for more details.
- {MaaFw-3.0.0b2.dist-info → MaaFw-3.0.3.dist-info}/METADATA +8 -2
- {MaaFw-3.0.0b2.dist-info → MaaFw-3.0.3.dist-info}/RECORD +12 -12
- maa/bin/MaaAdbControlUnit.dll +0 -0
- maa/bin/MaaDbgControlUnit.dll +0 -0
- maa/bin/MaaFramework.dll +0 -0
- maa/bin/MaaToolkit.dll +0 -0
- maa/bin/MaaUtils.dll +0 -0
- maa/bin/MaaWin32ControlUnit.dll +0 -0
- maa/resource.py +16 -0
- {MaaFw-3.0.0b2.dist-info → MaaFw-3.0.3.dist-info}/LICENSE.md +0 -0
- {MaaFw-3.0.0b2.dist-info → MaaFw-3.0.3.dist-info}/WHEEL +0 -0
- {MaaFw-3.0.0b2.dist-info → MaaFw-3.0.3.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: MaaFw
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.3
|
|
4
4
|
Summary: An automation black-box testing framework based on image recognition
|
|
5
5
|
Author: MaaXYZ
|
|
6
6
|
Project-URL: Homepage, https://github.com/MaaXYZ/MaaFramework
|
|
@@ -127,7 +127,13 @@ MAA 正计划建设为一类项目,而非舟的单一软件。
|
|
|
127
127
|
|
|
128
128
|
## 许可证
|
|
129
129
|
|
|
130
|
-
|
|
130
|
+
### MaaFramework
|
|
131
|
+
|
|
132
|
+
本项目采用 [`LGPL-3.0`](./LICENSE.md) 许可证进行开源。
|
|
133
|
+
|
|
134
|
+
### DirectML
|
|
135
|
+
|
|
136
|
+
本项目支持 GPU 加速功能,其在 Windows 平台上依赖于 Microsoft 提供的独立组件 [DirectML](https://learn.microsoft.com/en-us/windows/ai/directml/)。DirectML 并非本项目的开源部分,也不受 LGPL-3.0 的约束。为方便用户,我们随安装包附带了一个未经修改的 DirectML.dll 文件。如果您无需 GPU 加速功能,可安全删除该 DLL 文件,软件的核心功能仍可正常运行。
|
|
131
137
|
|
|
132
138
|
## 开发
|
|
133
139
|
|
|
@@ -8,21 +8,21 @@ maa/define.py,sha256=d86Bu4_M4EAW-O19WLvjN6AC4Y-xpP1Kv-xf45g99Zc,13168
|
|
|
8
8
|
maa/job.py,sha256=MUI5T2X9ON9c7Dl6yo_0pp8Ulpn25XOD_uEdGm2k-TA,1231
|
|
9
9
|
maa/library.py,sha256=AwdFx_zWHEah81NwOmD-SDzysSuVbsreDLIaxpWsXvY,1267
|
|
10
10
|
maa/notification_handler.py,sha256=1sFukH3R5l9Fp73CP7DV8fv6gTYge_kb6foSDNcNERY,5251
|
|
11
|
-
maa/resource.py,sha256=
|
|
11
|
+
maa/resource.py,sha256=XJ4zGYaM2onao45FUSicv3ghClrba4xQhyD_f4eLyww,9825
|
|
12
12
|
maa/tasker.py,sha256=whGIavf89NoiPffEoRJk3xtzeW8NUyzMoi6ZIo2d5b8,14409
|
|
13
13
|
maa/toolkit.py,sha256=BE_o8XgznuW1d_7YairYHOrqOp5Ha9GYMcinsYYBgVM,11163
|
|
14
14
|
maa/bin/DirectML.dll,sha256=nJ5tgiVhxsQbkOaZSz6IV88dZtv7HgxMeZx8ibTpLaE,18527776
|
|
15
|
-
maa/bin/MaaAdbControlUnit.dll,sha256=
|
|
16
|
-
maa/bin/MaaDbgControlUnit.dll,sha256=
|
|
17
|
-
maa/bin/MaaFramework.dll,sha256=
|
|
18
|
-
maa/bin/MaaToolkit.dll,sha256=
|
|
19
|
-
maa/bin/MaaUtils.dll,sha256=
|
|
20
|
-
maa/bin/MaaWin32ControlUnit.dll,sha256=
|
|
15
|
+
maa/bin/MaaAdbControlUnit.dll,sha256=XEkV6MpXBWdI8Kml-xOzO2QCsZCdC0tGRDGhe1plHlQ,741376
|
|
16
|
+
maa/bin/MaaDbgControlUnit.dll,sha256=B5gBhz-hI62WKghB73nAVqhJ9QzKLhzlszo_-kbBkNE,391168
|
|
17
|
+
maa/bin/MaaFramework.dll,sha256=UTyXYKSg2PnQypwZElhKxSBLbJN_zesVmbDJJH12MSU,1530880
|
|
18
|
+
maa/bin/MaaToolkit.dll,sha256=v2BqObxgKfIz_hC-Rcd_3-Xlk9KyBMY0p-nKvo_V7VU,671232
|
|
19
|
+
maa/bin/MaaUtils.dll,sha256=OCd-85ilRaHedY54HEjIUqhWNMCYOpTw_EvlPoRjn6s,538624
|
|
20
|
+
maa/bin/MaaWin32ControlUnit.dll,sha256=N1cegI__7Tn45a4nd5H5f3F7r1Tv8U6eyW3uQgigsOk,325632
|
|
21
21
|
maa/bin/fastdeploy_ppocr_maa.dll,sha256=CUlHQM5FswM5sA8w0cznIn9FeWUqJrcz5amhFjc4FII,1222656
|
|
22
22
|
maa/bin/onnxruntime_maa.dll,sha256=M8x3OILDxCqf4eA4vGsqCogYiHbTSdznrmaIclO9ekQ,19207680
|
|
23
23
|
maa/bin/opencv_world4_maa.dll,sha256=hOYbTOL__zUlQXasinPjt1cgtMR1OfCGe8vWVSp3LFs,18272768
|
|
24
|
-
MaaFw-3.0.
|
|
25
|
-
MaaFw-3.0.
|
|
26
|
-
MaaFw-3.0.
|
|
27
|
-
MaaFw-3.0.
|
|
28
|
-
MaaFw-3.0.
|
|
24
|
+
MaaFw-3.0.3.dist-info/LICENSE.md,sha256=RG51X65V_wNLuyG-RGcLXxFsKyZnlH5wNvK_5mMlOag,7560
|
|
25
|
+
MaaFw-3.0.3.dist-info/METADATA,sha256=Daam-i_D00vgN_C0z5XMCvk1sPFCKdqBPXTYvoNHi9I,12027
|
|
26
|
+
MaaFw-3.0.3.dist-info/WHEEL,sha256=dcBJPHW8irYxudHk63nht8liN9Fc1vE-fGOV_TZdeAU,96
|
|
27
|
+
MaaFw-3.0.3.dist-info/top_level.txt,sha256=G8r2L__aYaMq4S3R70G6NsfEROiVp08kUcWvATzk2J8,4
|
|
28
|
+
MaaFw-3.0.3.dist-info/RECORD,,
|
maa/bin/MaaAdbControlUnit.dll
CHANGED
|
Binary file
|
maa/bin/MaaDbgControlUnit.dll
CHANGED
|
Binary file
|
maa/bin/MaaFramework.dll
CHANGED
|
Binary file
|
maa/bin/MaaToolkit.dll
CHANGED
|
Binary file
|
maa/bin/MaaUtils.dll
CHANGED
|
Binary file
|
maa/bin/MaaWin32ControlUnit.dll
CHANGED
|
Binary file
|
maa/resource.py
CHANGED
|
@@ -96,6 +96,14 @@ class Resource:
|
|
|
96
96
|
"""
|
|
97
97
|
return self.use_auto_ep()
|
|
98
98
|
|
|
99
|
+
def custom_recognition(self, name: str):
|
|
100
|
+
|
|
101
|
+
def wrapper_recognition(recognition):
|
|
102
|
+
self.register_custom_recognition(name=name, recognition=recognition())
|
|
103
|
+
return recognition
|
|
104
|
+
|
|
105
|
+
return wrapper_recognition
|
|
106
|
+
|
|
99
107
|
def register_custom_recognition(
|
|
100
108
|
self, name: str, recognition: "CustomRecognition" # type: ignore
|
|
101
109
|
) -> bool:
|
|
@@ -131,6 +139,14 @@ class Resource:
|
|
|
131
139
|
)
|
|
132
140
|
)
|
|
133
141
|
|
|
142
|
+
def custom_action(self, name: str):
|
|
143
|
+
|
|
144
|
+
def wrapper_action(action):
|
|
145
|
+
self.register_custom_action(name=name, action=action())
|
|
146
|
+
return action
|
|
147
|
+
|
|
148
|
+
return wrapper_action
|
|
149
|
+
|
|
134
150
|
def register_custom_action(self, name: str, action: "CustomAction") -> bool: # type: ignore
|
|
135
151
|
# avoid gc
|
|
136
152
|
self._custom_action_holder[name] = action
|
|
File without changes
|
|
File without changes
|
|
File without changes
|