MaaFw 3.0.1__py3-none-manylinux2014_aarch64.whl → 3.0.4__py3-none-manylinux2014_aarch64.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.4
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
@@ -155,7 +155,7 @@ _请留意,仅当您准备开发 MaaFramework 本身时,才需要阅读本
155
155
  - [boost](https://www.boost.org/)
156
156
  Boost provides free peer-reviewed portable C++ source libraries.
157
157
  - [meojson](https://github.com/MistEO/meojson)
158
- A modern all-platform Json/Json5 parser/serializer, which is header-only and used magic!
158
+ Next-gen C++ JSON/JSON5 Serialization Engine | Zero Dependency | Header-Only | Unleash JSON Potential
159
159
  - [minitouch](https://github.com/DeviceFarmer/minitouch)
160
160
  Minimal multitouch event producer for Android.
161
161
  - [maatouch](https://github.com/MaaAssistantArknights/MaaTouch)
@@ -8,19 +8,19 @@ 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
- maa/bin/libMaaAdbControlUnit.so,sha256=qoLwaESoJaIuiBBiril8CVa3SjfrZkSYnQqt_TFm_YM,965440
15
- maa/bin/libMaaDbgControlUnit.so,sha256=DrylCpUrMHoHoHfHPe6DwPKc0j6HbjKM6tlBefVW4-k,388872
16
- maa/bin/libMaaFramework.so,sha256=3QA-VV1g58YHL7QZGVxpB0n8Yx1lRbRUeodcYnpEZCI,2622840
17
- maa/bin/libMaaToolkit.so,sha256=ObmBC7XfMpTQiHmdQd1CyJ0RZh2jqTk9ssysQwXhJ8g,876832
18
- maa/bin/libMaaUtils.so,sha256=K4G6-h4R7fdkR3I2wGDyltuSmGI9U-2uyXNLhBYKev4,775872
14
+ maa/bin/libMaaAdbControlUnit.so,sha256=0NTb28DsPkD2NO2xGGHlGkt-JMIbuwgV84DORtZ9W08,965440
15
+ maa/bin/libMaaDbgControlUnit.so,sha256=0xJoq-ex0-vp7jehSEkvsffgGuruojE1QAKHg3w1sh4,388872
16
+ maa/bin/libMaaFramework.so,sha256=rRKuYRcD5tC1psZR4zRbRpLDmipzdKfuVAFPN3tBBjg,2622912
17
+ maa/bin/libMaaToolkit.so,sha256=COrScuz6JYUoAW3bORRgXy8IPDsQK761tK2sTEp1LQs,876832
18
+ maa/bin/libMaaUtils.so,sha256=aEwlRIjtKenc5dYS-MknL3GgAwDfTnV-7_wGPACblMg,775872
19
19
  maa/bin/libfastdeploy_ppocr.so,sha256=onQlZ9_VSIifDFaeLpRwqHEemalJJaCJCz0RkVyO-c0,5487856
20
20
  maa/bin/libonnxruntime.so.1,sha256=RGCtVDSf6D2K8-eXTUckpRCSZQbHHrXlZTWUFVR8yDw,19227776
21
21
  maa/bin/libopencv_world4.so.408,sha256=0T8LLfBerUbs-bPeVK4jRPGiMtDuflZ3T6nqQ5caBTM,15547272
22
- MaaFw-3.0.1.dist-info/LICENSE.md,sha256=RG51X65V_wNLuyG-RGcLXxFsKyZnlH5wNvK_5mMlOag,7560
23
- MaaFw-3.0.1.dist-info/METADATA,sha256=KY87hJV7Udn3z26mwlJjUMOERDDcbo98myoE8mFdUCE,12027
24
- MaaFw-3.0.1.dist-info/WHEEL,sha256=7tpQ9_E9SbevsygwYhOFVRtbiSSA4urPUUfYIgxVjcU,107
25
- MaaFw-3.0.1.dist-info/top_level.txt,sha256=G8r2L__aYaMq4S3R70G6NsfEROiVp08kUcWvATzk2J8,4
26
- MaaFw-3.0.1.dist-info/RECORD,,
22
+ MaaFw-3.0.4.dist-info/LICENSE.md,sha256=RG51X65V_wNLuyG-RGcLXxFsKyZnlH5wNvK_5mMlOag,7560
23
+ MaaFw-3.0.4.dist-info/METADATA,sha256=iym8WbiPF-hUC1xXVNcFz83sV4Y1_LLooKsVLYqg31U,12044
24
+ MaaFw-3.0.4.dist-info/WHEEL,sha256=7tpQ9_E9SbevsygwYhOFVRtbiSSA4urPUUfYIgxVjcU,107
25
+ MaaFw-3.0.4.dist-info/top_level.txt,sha256=G8r2L__aYaMq4S3R70G6NsfEROiVp08kUcWvATzk2J8,4
26
+ MaaFw-3.0.4.dist-info/RECORD,,
Binary file
Binary file
Binary file
maa/bin/libMaaToolkit.so CHANGED
Binary file
maa/bin/libMaaUtils.so 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