MaaFw 3.0.1__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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: MaaFw
3
- Version: 3.0.1
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
@@ -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=AdlQHc58bU2AjSx-9k9V_657pIMgaVMXqtURsJEN6Mw,9379
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=6V0lsaft5VyGMQiv-nDcyl4IuFiOdmDJ9irHHt5UX1w,741376
16
- maa/bin/MaaDbgControlUnit.dll,sha256=iXCNqcgSAjzu-EsoO-A9DcaFK-0tA8P9J6YxFTmSLzI,391168
17
- maa/bin/MaaFramework.dll,sha256=o5Xv7L8dOpeTdLrfBvTYvlcfI-qc_WNAtIf69lrCR_w,1532416
18
- maa/bin/MaaToolkit.dll,sha256=ned8dK4cA3XIT_kgNGTekoaXMLfh2ntNTW3N-Xfb2wM,671232
19
- maa/bin/MaaUtils.dll,sha256=QgzD5tfQqfLdEo8Ub9HdrFrmpA5VWiShOO5Q6DXH5vs,538624
20
- maa/bin/MaaWin32ControlUnit.dll,sha256=aaEWWt0GJTBL1qL0_-6t9Vx3v-tjdwUTiiT28FCtw28,325632
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.1.dist-info/LICENSE.md,sha256=RG51X65V_wNLuyG-RGcLXxFsKyZnlH5wNvK_5mMlOag,7560
25
- MaaFw-3.0.1.dist-info/METADATA,sha256=KY87hJV7Udn3z26mwlJjUMOERDDcbo98myoE8mFdUCE,12027
26
- MaaFw-3.0.1.dist-info/WHEEL,sha256=dcBJPHW8irYxudHk63nht8liN9Fc1vE-fGOV_TZdeAU,96
27
- MaaFw-3.0.1.dist-info/top_level.txt,sha256=G8r2L__aYaMq4S3R70G6NsfEROiVp08kUcWvATzk2J8,4
28
- MaaFw-3.0.1.dist-info/RECORD,,
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,,
Binary file
Binary file
maa/bin/MaaFramework.dll CHANGED
Binary file
maa/bin/MaaToolkit.dll CHANGED
Binary file
maa/bin/MaaUtils.dll CHANGED
Binary file
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