MaaFw 4.4.0b1__py3-none-manylinux2014_x86_64.whl → 4.4.1__py3-none-manylinux2014_x86_64.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.

Binary file
Binary file
Binary file
Binary file
Binary file
maa/bin/libMaaToolkit.so CHANGED
Binary file
maa/bin/libMaaUtils.so CHANGED
Binary file
Binary file
Binary file
maa/bin/libstdc++.so.6 ADDED
Binary file
maa/custom_action.py CHANGED
@@ -88,5 +88,8 @@ class CustomAction(ABC):
88
88
  elif isinstance(result, bool):
89
89
  return int(result)
90
90
 
91
+ elif result is None:
92
+ return int(True)
93
+
91
94
  else:
92
95
  raise TypeError(f"Invalid return type: {result!r}")
maa/custom_recognition.py CHANGED
@@ -95,9 +95,6 @@ class CustomRecognition(ABC):
95
95
  detail_buffer.set(result.detail)
96
96
  return int(result.box is not None)
97
97
 
98
- elif result is None:
99
- return int(False)
100
-
101
98
  # RectType
102
99
  elif (
103
100
  isinstance(result, Rect)
@@ -108,5 +105,8 @@ class CustomRecognition(ABC):
108
105
  rect_buffer.set(result)
109
106
  return int(True)
110
107
 
108
+ elif result is None:
109
+ return int(False)
110
+
111
111
  else:
112
- raise ValueError("Invalid return type")
112
+ raise TypeError(f"Invalid return type: {result!r}")
maa/tasker.py CHANGED
@@ -156,17 +156,6 @@ class Tasker:
156
156
  )
157
157
  )
158
158
 
159
- @staticmethod
160
- def set_show_hit_draw(show_hit_draw: bool) -> bool:
161
- cbool = ctypes.c_bool(show_hit_draw)
162
- return bool(
163
- Library.framework().MaaSetGlobalOption(
164
- MaaOption(MaaGlobalOptionEnum.ShowHitDraw),
165
- ctypes.pointer(cbool),
166
- ctypes.sizeof(ctypes.c_bool),
167
- )
168
- )
169
-
170
159
  @staticmethod
171
160
  def set_debug_mode(debug_mode: bool) -> bool:
172
161
  cbool = ctypes.c_bool(debug_mode)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: MaaFw
3
- Version: 4.4.0b1
3
+ Version: 4.4.1
4
4
  Summary: An automation black-box testing framework based on image recognition
5
5
  Project-URL: Homepage, https://github.com/MaaXYZ/MaaFramework
6
6
  Author: MaaXYZ
@@ -66,8 +66,8 @@ _✨ 基于图像识别的自动化黑盒测试框架 ✨_
66
66
  - [MFAWPF](https://github.com/SweetSmellFox/MFAWPF) ![csharp](https://img.shields.io/badge/C%23-239120?logo=csharp&logoColor=white) ![license](https://img.shields.io/github/license/SweetSmellFox/MFAWPF) ![activity](https://img.shields.io/github/commit-activity/m/SweetSmellFox/MFAWPF?color=%23ff69b4) ![stars](https://img.shields.io/github/stars/SweetSmellFox/MFAWPF?style=social) [![mirrorc](https://img.shields.io/badge/Mirror%E9%85%B1-%239af3f6?logo=countingworkspro&logoColor=4f46e5)](https://mirrorchyan.com/zh/projects?source=maafw-badge)
67
67
  基于 MAA 全新架构的 通用 GUI。由 MaaFramework 强力驱动!
68
68
 
69
- - [MFW-PyQt6](https://github.com/overflow65537/MFW-PyQt6) ![python](https://img.shields.io/badge/Python-3776AB?logo=python&logoColor=white) ![license](https://img.shields.io/github/license/overflow65537/MFW-PyQt6) ![activity](https://img.shields.io/github/commit-activity/m/overflow65537/MFW-PyQt6?color=%23ff69b4) ![stars](https://img.shields.io/github/stars/overflow65537/MFW-PyQt6?style=social) [![mirrorc](https://img.shields.io/badge/Mirror%E9%85%B1-%239af3f6?logo=countingworkspro&logoColor=4f46e5)](https://mirrorchyan.com/zh/projects?source=maafw-badge)
70
- 基于PyQt6的通用GUI。由 MaaFramework 强力驱动!
69
+ - [MFW-CFA](https://github.com/overflow65537/MFW-PyQt6) ![python](https://img.shields.io/badge/Python-3776AB?logo=python&logoColor=white) ![license](https://img.shields.io/github/license/overflow65537/MFW-PyQt6) ![activity](https://img.shields.io/github/commit-activity/m/overflow65537/MFW-PyQt6?color=%23ff69b4) ![stars](https://img.shields.io/github/stars/overflow65537/MFW-PyQt6?style=social) [![mirrorc](https://img.shields.io/badge/Mirror%E9%85%B1-%239af3f6?logo=countingworkspro&logoColor=4f46e5)](https://mirrorchyan.com/zh/projects?source=maafw-badge)
70
+ 基于PySide6的通用GUI。由 MaaFramework 强力驱动!
71
71
 
72
72
  - [MFAAvalonia](https://github.com/SweetSmellFox/MFAAvalonia) ![csharp](https://img.shields.io/badge/C%23-239120?logo=csharp&logoColor=white) ![license](https://img.shields.io/github/license/SweetSmellFox/MFAAvalonia) ![activity](https://img.shields.io/github/commit-activity/m/SweetSmellFox/MFAAvalonia?color=%23ff69b4) ![stars](https://img.shields.io/github/stars/SweetSmellFox/MFAAvalonia?style=social) [![mirrorc](https://img.shields.io/badge/Mirror%E9%85%B1-%239af3f6?logo=countingworkspro&logoColor=4f46e5)](https://mirrorchyan.com/zh/projects?source=maafw-badge)
73
73
  基于 Avalonia 的 通用 GUI。由 MaaFramework 强力驱动!
@@ -94,7 +94,7 @@ _✨ 基于图像识别的自动化黑盒测试框架 ✨_
94
94
  - [MAS](https://github.com/MaaXYZ/MaaAssistantSkland) ![Pipeline](https://img.shields.io/badge/Pipeline-%23876f69?logo=paddypower&logoColor=%23FFFFFF) ![license](https://img.shields.io/github/license/MaaXYZ/MaaAssistantSkland) ![activity](https://img.shields.io/github/commit-activity/m/MaaXYZ/MaaAssistantSkland?color=%23ff69b4) ![stars](https://img.shields.io/github/stars/MaaXYZ/MaaAssistantSkland?style=social)
95
95
  森空岛 小助手。图像技术 + 模拟控制,解放双手!由 MaaFramework 强力驱动!
96
96
 
97
- - [MSBA](https://github.com/overflow65537/MAA_SnowBreak) ![Pipeline](https://img.shields.io/badge/Pipeline-%23876f69?logo=paddypower&logoColor=%23FFFFFF) ![license](https://img.shields.io/github/license/overflow65537/MAA_SnowBreak) ![activity](https://img.shields.io/github/commit-activity/m/overflow65537/MAA_SnowBreak?color=%23ff69b4) ![stars](https://img.shields.io/github/stars/overflow65537/MAA_SnowBreak?style=social) [![mirrorc](https://img.shields.io/badge/Mirror%E9%85%B1-%239af3f6?logo=countingworkspro&logoColor=4f46e5)](https://mirrorchyan.com/zh/projects?source=maafw-badge)
97
+ - [MSBA](https://github.com/overflow65537/MAA_SnowBreak) ![Pipeline](https://img.shields.io/badge/Pipeline-%23876f69?logo=paddypower&logoColor=%23FFFFFF)![python](https://img.shields.io/badge/Python-3776AB?logo=python&logoColor=white) ![license](https://img.shields.io/github/license/overflow65537/MAA_SnowBreak) ![activity](https://img.shields.io/github/commit-activity/m/overflow65537/MAA_SnowBreak?color=%23ff69b4) ![stars](https://img.shields.io/github/stars/overflow65537/MAA_SnowBreak?style=social) [![mirrorc](https://img.shields.io/badge/Mirror%E9%85%B1-%239af3f6?logo=countingworkspro&logoColor=4f46e5)](https://mirrorchyan.com/zh/projects?source=maafw-badge)
98
98
  尘白禁区 小助手。图像技术 + 模拟控制,解放双手!由 MaaFramework 强力驱动!
99
99
 
100
100
  - [MaaYYs](https://github.com/TanyaShue/MaaYYs) ![python](https://img.shields.io/badge/Python-3776AB?logo=python&logoColor=white) ![qt](https://img.shields.io/badge/Qt6-41CD52?logo=Qt&logoColor=white) ![license](https://img.shields.io/github/license/TanyaShue/MaaYYs) ![activity](https://img.shields.io/github/commit-activity/m/TanyaShue/MaaYYs?color=%23ff69b4) ![stars](https://img.shields.io/github/stars/TanyaShue/MaaYYs?style=social) [![mirrorc](https://img.shields.io/badge/Mirror%E9%85%B1-%239af3f6?logo=countingworkspro&logoColor=4f46e5)](https://mirrorchyan.com/zh/projects?source=maafw-badge)
@@ -0,0 +1,31 @@
1
+ maa/__init__.py,sha256=t2Z9yJWrSZfH16xYN67bKpiPEHDf7iaiw4wi0PjmU8U,250
2
+ maa/agent_client.py,sha256=qx1-3VGp97JB_UMlbkvK-O_GTigbdqD6U4gGKi2yQW4,4049
3
+ maa/buffer.py,sha256=XFr1MnWt-xmZkhQ_2ZzGfiqSJJwmphY4U07EEzMNYQc,16544
4
+ maa/context.py,sha256=dYCvRNqq2iCL8lIyp2TkZorGB5KNI34L3pGzlpdL7co,6454
5
+ maa/controller.py,sha256=V9ALn24vQX-mWngZbuapBcv-_HNHCtUwHXa3Em2X13s,22517
6
+ maa/custom_action.py,sha256=honGd28UaKWzApYBHO9_Cka8hPfzZUy6HBUfIdfQiaU,2554
7
+ maa/custom_recognition.py,sha256=nfNgPKq9a6t2eoXwKMJRvZMXTh31Jn0JfxUMsfGI33Y,3384
8
+ maa/define.py,sha256=qec4GQkYi6AtorJ1ix880Fz67bpZULJOV3VpZEDd2Es,13341
9
+ maa/job.py,sha256=MUI5T2X9ON9c7Dl6yo_0pp8Ulpn25XOD_uEdGm2k-TA,1231
10
+ maa/library.py,sha256=u6gbEHDV3I0y69-ZoBo1p6-bAtP4jqSQa4FICuzaw3U,3961
11
+ maa/notification_handler.py,sha256=LFJY6YqF9fJSkRsvpmj6ZL5DexMN_cEOj-HmpWpB9o0,5442
12
+ maa/resource.py,sha256=sCGAK1FFjZCaf01t_FPdtl4pMDQsybhEjmafp9XfITA,12222
13
+ maa/tasker.py,sha256=FDZwh9ai9Z-1hytRUFAiEwXGhruvHMCKPrbGSAOWxmY,14449
14
+ maa/toolkit.py,sha256=H7P58dPLKzEm_aZMsDJ98IaMZnTE-hcFgK8MKnN0F6g,11381
15
+ maa/agent/__init__.py,sha256=K4vyyD6YgLR6PEQl86t4oKP4eViCdNr3Br94dNk8YjM,257
16
+ maa/agent/agent_server.py,sha256=e0yE_ffWJlTPydJbYLK9OhCM5fVVlZQIcvEQMjB5V68,3636
17
+ maa/bin/libMaaAdbControlUnit.so,sha256=edtEsFhMdm5uk1Zzu4NfTTsspnVS4ZPNdoml3gYaW7Q,1129704
18
+ maa/bin/libMaaAgentClient.so,sha256=JTfEOlvCH1KkbC1xawzbbtvZ5SV3G8vwJYMHBbTv7QA,1803920
19
+ maa/bin/libMaaAgentServer.so,sha256=br78FYg_78ZRY38y_UXPvTxhrvrbvwxX29pNQJFpPvc,2327752
20
+ maa/bin/libMaaDbgControlUnit.so,sha256=qHYIqxU7HTGY7H9Y6YubSpd0MdWqj-OQFxi1NR7NUNw,426480
21
+ maa/bin/libMaaFramework.so,sha256=kdUovMRo5zFRgWah7v0IpVA5Bdgo7ke0zJoo14k8xBE,3467568
22
+ maa/bin/libMaaToolkit.so,sha256=6SOEifbWnTqZuqzFRpB0FREfh7hb1IB-VYiP00jb9UY,1223416
23
+ maa/bin/libMaaUtils.so,sha256=wQfquCz-4eQveSsx81--6Sm8Ra5AuieDHZm0Z39252E,800408
24
+ maa/bin/libfastdeploy_ppocr.so,sha256=fhMXeYOkTurqVarHly6pwLBgobBBmKGopkKvuskHT7w,7221424
25
+ maa/bin/libonnxruntime.so.1,sha256=wAQnyFNfHZpRG2zZqJUFA3xXZxvmom3GcAzYD5FM9sQ,22198408
26
+ maa/bin/libopencv_world4.so.411,sha256=DysNZQVZvjZKvt0_pmjvMYj06n9peAlpVkXE3k5TxQA,16143408
27
+ maa/bin/libstdc++.so.6,sha256=fZYq_F00xCiNCtI9iNMoDdqWlX3USLWosuzkJxtWZqg,14009184
28
+ maafw-4.4.1.dist-info/licenses/LICENSE.md,sha256=RG51X65V_wNLuyG-RGcLXxFsKyZnlH5wNvK_5mMlOag,7560
29
+ maafw-4.4.1.dist-info/METADATA,sha256=EjAy1dUkGwkbs7Xe_VU9TqPLD0lBOp412sIct4XUd5g,24435
30
+ maafw-4.4.1.dist-info/WHEEL,sha256=ElIck4UKS1gfqi_USxboIISULsrnySUDnW4muwHK3us,104
31
+ maafw-4.4.1.dist-info/RECORD,,
@@ -1,30 +0,0 @@
1
- maa/__init__.py,sha256=t2Z9yJWrSZfH16xYN67bKpiPEHDf7iaiw4wi0PjmU8U,250
2
- maa/agent_client.py,sha256=qx1-3VGp97JB_UMlbkvK-O_GTigbdqD6U4gGKi2yQW4,4049
3
- maa/buffer.py,sha256=XFr1MnWt-xmZkhQ_2ZzGfiqSJJwmphY4U07EEzMNYQc,16544
4
- maa/context.py,sha256=dYCvRNqq2iCL8lIyp2TkZorGB5KNI34L3pGzlpdL7co,6454
5
- maa/controller.py,sha256=V9ALn24vQX-mWngZbuapBcv-_HNHCtUwHXa3Em2X13s,22517
6
- maa/custom_action.py,sha256=V-kJ-5ahcImnzrZBbAH_RJqoiQ7RjBT39ffdSOi9_c4,2495
7
- maa/custom_recognition.py,sha256=P8Kfh4PWoQXyw7loE-9zv_VCD2HUcE6qkIXCK_Ye9a4,3372
8
- maa/define.py,sha256=qec4GQkYi6AtorJ1ix880Fz67bpZULJOV3VpZEDd2Es,13341
9
- maa/job.py,sha256=MUI5T2X9ON9c7Dl6yo_0pp8Ulpn25XOD_uEdGm2k-TA,1231
10
- maa/library.py,sha256=u6gbEHDV3I0y69-ZoBo1p6-bAtP4jqSQa4FICuzaw3U,3961
11
- maa/notification_handler.py,sha256=LFJY6YqF9fJSkRsvpmj6ZL5DexMN_cEOj-HmpWpB9o0,5442
12
- maa/resource.py,sha256=sCGAK1FFjZCaf01t_FPdtl4pMDQsybhEjmafp9XfITA,12222
13
- maa/tasker.py,sha256=cAkYW8Mu5rAgsPlSGacTjJ830sF2yFtvlmXRvIJt-A4,14811
14
- maa/toolkit.py,sha256=H7P58dPLKzEm_aZMsDJ98IaMZnTE-hcFgK8MKnN0F6g,11381
15
- maa/agent/__init__.py,sha256=K4vyyD6YgLR6PEQl86t4oKP4eViCdNr3Br94dNk8YjM,257
16
- maa/agent/agent_server.py,sha256=e0yE_ffWJlTPydJbYLK9OhCM5fVVlZQIcvEQMjB5V68,3636
17
- maa/bin/libMaaAdbControlUnit.so,sha256=4BnmzuJGdRkfkU_TMCvhk2htH79JnObvl81hjnzhi2A,16838632
18
- maa/bin/libMaaAgentClient.so,sha256=WUDdNOBF4mT56z_10BNykrILb4wCV_ePsDsMWHk-VQs,8432200
19
- maa/bin/libMaaAgentServer.so,sha256=MnFfAOo97Gmdep3563KJnNrP3tRWQuN2GarkgLsRyQw,15617416
20
- maa/bin/libMaaDbgControlUnit.so,sha256=OE_jB8On356P0aRM1r_okHXirwY49xawKazjZZQrvdw,4538280
21
- maa/bin/libMaaFramework.so,sha256=alr2BaTPpjBxBDYS7usWCHnq3pnb-UsW4veuSfeOJXE,48367088
22
- maa/bin/libMaaToolkit.so,sha256=6gYU5tV0fC8Pgf8xYu78y7f6jwTd3a9YhH59bRVD_SE,15320496
23
- maa/bin/libMaaUtils.so,sha256=1x6UM9wSFa0oRLk-87xPQpgIoNi862AGkO5q6lIuzKM,6445664
24
- maa/bin/libfastdeploy_ppocr.so,sha256=ZC3P75Pme8zo6jZ69CTXF3CbD93oVQdVl_awgjYsJqo,6722040
25
- maa/bin/libonnxruntime.so.1,sha256=fNYTPb_6EfFcO9F0BFAPzbRoVn5LXNnwIZ02uToi4ns,22362896
26
- maa/bin/libopencv_world4.so.408,sha256=wxNzqg0Pk6cJdVHNWzYhsLNs7h3hORzaAQ-YTOVVwM4,21684224
27
- maafw-4.4.0b1.dist-info/licenses/LICENSE.md,sha256=RG51X65V_wNLuyG-RGcLXxFsKyZnlH5wNvK_5mMlOag,7560
28
- maafw-4.4.0b1.dist-info/METADATA,sha256=u6eY1Ea3cJATCaymxYiILgM47r50Uh6E5acWt8r215E,24356
29
- maafw-4.4.0b1.dist-info/WHEEL,sha256=ElIck4UKS1gfqi_USxboIISULsrnySUDnW4muwHK3us,104
30
- maafw-4.4.0b1.dist-info/RECORD,,
File without changes