MaaFw 2.1.0b2__py3-none-macosx_13_0_arm64.whl → 2.1.2__py3-none-macosx_13_0_arm64.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-2.1.0b2.dist-info → MaaFw-2.1.2.dist-info}/METADATA +13 -5
- {MaaFw-2.1.0b2.dist-info → MaaFw-2.1.2.dist-info}/RECORD +12 -12
- maa/bin/libMaaAdbControlUnit.dylib +0 -0
- maa/bin/libMaaDbgControlUnit.dylib +0 -0
- maa/bin/libMaaFramework.dylib +0 -0
- maa/bin/libMaaToolkit.dylib +0 -0
- maa/bin/libMaaUtils.dylib +0 -0
- maa/define.py +1 -1
- maa/notification_handler.py +15 -13
- {MaaFw-2.1.0b2.dist-info → MaaFw-2.1.2.dist-info}/LICENSE.md +0 -0
- {MaaFw-2.1.0b2.dist-info → MaaFw-2.1.2.dist-info}/WHEEL +0 -0
- {MaaFw-2.1.0b2.dist-info → MaaFw-2.1.2.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: MaaFw
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.2
|
|
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
|
|
@@ -48,7 +48,6 @@ _✨ 基于图像识别的自动化黑盒测试框架 ✨_
|
|
|
48
48
|
|
|
49
49
|
## 即刻开始
|
|
50
50
|
|
|
51
|
-
- [开发思路](docs/zh_cn/0.1-开发思路.md)
|
|
52
51
|
- [快速开始](docs/zh_cn/1.1-快速开始.md)
|
|
53
52
|
- [集成文档](docs/zh_cn/2.1-集成文档.md)
|
|
54
53
|
- [Pipeline 协议](docs/zh_cn/3.1-任务流水线协议.md)
|
|
@@ -79,7 +78,7 @@ _✨ 基于图像识别的自动化黑盒测试框架 ✨_
|
|
|
79
78
|
- [MCCA](https://github.com/MaaXYZ/MCCA) 交错战线 小助手 
|
|
80
79
|
基于全新架构的 交错战线 小助手。图像技术 + 模拟控制,解放双手!由 MaaFramework 强力驱动!
|
|
81
80
|
|
|
82
|
-
- [MSBA](https://github.com/overflow65537/MAA_SnowBreak)
|
|
81
|
+
- [MSBA](https://github.com/overflow65537/MAA_SnowBreak) 尘白禁区 小助手 
|
|
83
82
|
基于全新架构的 尘白禁区 小助手。图像技术 + 模拟控制,解放双手!由 MaaFramework 强力驱动!
|
|
84
83
|
|
|
85
84
|
- [MaaAeonFantasy](https://github.com/Andl-Liu/MaaAeonFantasy) 星神少女 预言之子 小助手 
|
|
@@ -95,8 +94,17 @@ _✨ 基于图像识别的自动化黑盒测试框架 ✨_
|
|
|
95
94
|
基于 MAA 全新架构的 通用 GUI。由 MaaFramework 强力驱动!
|
|
96
95
|
|
|
97
96
|
- [MET](https://github.com/shanchuan001/MET) 悠久之树 小助手 
|
|
98
|
-
基于全新架构的 悠久之树 小助手。图像技术 + 模拟控制,解放双手!由 MaaFramework 强力驱动!
|
|
99
|
-
|
|
97
|
+
基于全新架构的 悠久之树 小助手。图像技术 + 模拟控制,解放双手!由 MaaFramework 强力驱动!
|
|
98
|
+
|
|
99
|
+
- [MaaYYs](https://github.com/TanyaShue/MaaYYs) 阴阳师小助手  
|
|
100
|
+
基于全新架构的 阴阳师小助手。图像技术 + 模拟控制,当赛博屯屯鼠,自动日常,解放你的双手!由 MaaFramework 强力驱动!
|
|
101
|
+
|
|
102
|
+
- [MaaJR](https://github.com/Saratoga-Official/MaaJR) 战舰少女R 小助手 
|
|
103
|
+
基于全新架构的 战舰少女R 小助手。图像技术 + 模拟控制,解放双手!由 MaaFramework 强力驱动!
|
|
104
|
+
|
|
105
|
+
- [MPA](https://github.com/overflow65537/MAA_Punish) 战双 小助手 
|
|
106
|
+
基于全新架构的 战双帕弥什 小助手。图像技术 + 模拟控制,解放双手!由 玛丽的黑咖啡 2.0 强力驱动!
|
|
107
|
+
|
|
100
108
|
## 生态共建
|
|
101
109
|
|
|
102
110
|
MAA 正计划建设为一类项目,而非舟的单一软件。
|
|
@@ -4,23 +4,23 @@ maa/context.py,sha256=Y71T92tIAGq6x8bJfYX8emUPEmPUA7nhnWgqOHh390E,5722
|
|
|
4
4
|
maa/controller.py,sha256=BpAotY8qlxLSKU0ZO249YDhJWU35B5avnwCTE5PxItQ,22160
|
|
5
5
|
maa/custom_action.py,sha256=pqPjDK7nVkGL8fceJadwb7IkeGjYc2X8RaXZOnVZXQs,2527
|
|
6
6
|
maa/custom_recognition.py,sha256=Y3Asdgb19YZioOVZZVs_hLSW6uBg7WDZDQPR2XfZpFU,3087
|
|
7
|
-
maa/define.py,sha256=
|
|
7
|
+
maa/define.py,sha256=X0srxfg6eUohfxC3s0pkICTv8B_dB3tbrPAJMmWTX20,11032
|
|
8
8
|
maa/job.py,sha256=Vj6q3sFPlmo260mxJWBnPuO2oT2LdZ-92vdDvrqBZYU,1777
|
|
9
9
|
maa/library.py,sha256=nDTBUFC6_91gmyy8SfkTTccMZET9XGU8IxvuVUEwQ6E,2099
|
|
10
|
-
maa/notification_handler.py,sha256=
|
|
10
|
+
maa/notification_handler.py,sha256=KjQlu66fNVwGGli8kuhNdSZPj2vO_oXjaNt_B1i_5wA,5251
|
|
11
11
|
maa/resource.py,sha256=bvS02sCCS9DRw_zJZeyCk8_DrZry6KBlUIvcfpKoUIg,8243
|
|
12
12
|
maa/tasker.py,sha256=6FOzU-PxWSA0dK8vEmiPVaJThvUMwNDi6EC6V-TcQmM,14758
|
|
13
13
|
maa/toolkit.py,sha256=TlF8MoaGcWLklpISIlQNvc_rpTFBFrpDbLgctfQ_zqo,11325
|
|
14
|
-
maa/bin/libMaaAdbControlUnit.dylib,sha256=
|
|
15
|
-
maa/bin/libMaaDbgControlUnit.dylib,sha256=
|
|
16
|
-
maa/bin/libMaaFramework.dylib,sha256=
|
|
17
|
-
maa/bin/libMaaToolkit.dylib,sha256=
|
|
18
|
-
maa/bin/libMaaUtils.dylib,sha256=
|
|
14
|
+
maa/bin/libMaaAdbControlUnit.dylib,sha256=DeJHHp3lUGBxAD-rkRW6gRqQ_Im37SlM70IYkqUz7r8,713384
|
|
15
|
+
maa/bin/libMaaDbgControlUnit.dylib,sha256=ktNgshW5gCDDD9JcMaIJhHD1WlhppL9zN7WEcRxyU4A,346856
|
|
16
|
+
maa/bin/libMaaFramework.dylib,sha256=eQk4N211wD1QEAJbb_yLKRReq_arW5ISXV6sFZPLhJk,2097576
|
|
17
|
+
maa/bin/libMaaToolkit.dylib,sha256=8wh5d-1momd4icDhZoucKXro_ygwlCvKGHJESz5se9c,781984
|
|
18
|
+
maa/bin/libMaaUtils.dylib,sha256=bT2QCQodzz58RDj0Gs5jzimGOTBZ7uk-cvz3Eesx81Y,561040
|
|
19
19
|
maa/bin/libfastdeploy_ppocr.dylib,sha256=DlJtGHtCQwaLUqvMbQi7G3AcIAevy93pGyzGL5euZFU,4111976
|
|
20
20
|
maa/bin/libonnxruntime.1.18.0.dylib,sha256=lZICOr6fl9QLl7UIrrWzpXQhoXwMz8Ew16Ju5WkAD78,13542696
|
|
21
21
|
maa/bin/libopencv_world4.4.8.0.dylib,sha256=eLk14hRsABuJGcsxJmwV6ALe0I066pG0shREyVHk9LM,13176832
|
|
22
|
-
MaaFw-2.1.
|
|
23
|
-
MaaFw-2.1.
|
|
24
|
-
MaaFw-2.1.
|
|
25
|
-
MaaFw-2.1.
|
|
26
|
-
MaaFw-2.1.
|
|
22
|
+
MaaFw-2.1.2.dist-info/LICENSE.md,sha256=RG51X65V_wNLuyG-RGcLXxFsKyZnlH5wNvK_5mMlOag,7560
|
|
23
|
+
MaaFw-2.1.2.dist-info/METADATA,sha256=qql_PehhQW-B8iTJ6PCykMUQ2duKbvDmpAdF1jVZfBQ,10390
|
|
24
|
+
MaaFw-2.1.2.dist-info/WHEEL,sha256=X6qrXI7-5LbyjxgkaRzOPjEeLC4duk_uRWVzV3ptlj8,103
|
|
25
|
+
MaaFw-2.1.2.dist-info/top_level.txt,sha256=G8r2L__aYaMq4S3R70G6NsfEROiVp08kUcWvATzk2J8,4
|
|
26
|
+
MaaFw-2.1.2.dist-info/RECORD,,
|
|
Binary file
|
|
Binary file
|
maa/bin/libMaaFramework.dylib
CHANGED
|
Binary file
|
maa/bin/libMaaToolkit.dylib
CHANGED
|
Binary file
|
maa/bin/libMaaUtils.dylib
CHANGED
|
Binary file
|
maa/define.py
CHANGED
|
@@ -146,7 +146,7 @@ class MaaAdbScreencapMethodEnum:
|
|
|
146
146
|
EmulatorExtras = 1 << 6
|
|
147
147
|
|
|
148
148
|
All = ~Null
|
|
149
|
-
Default = All & (~RawByNetcat) & (~MinicapDirect) & (~
|
|
149
|
+
Default = All & (~RawByNetcat) & (~MinicapDirect) & (~MinicapStream)
|
|
150
150
|
|
|
151
151
|
|
|
152
152
|
MaaAdbInputMethod = ctypes.c_uint64
|
maa/notification_handler.py
CHANGED
|
@@ -33,7 +33,7 @@ class NotificationHandler(ABC):
|
|
|
33
33
|
path: str
|
|
34
34
|
|
|
35
35
|
def on_resource_loading(
|
|
36
|
-
self,
|
|
36
|
+
self, noti_type: NotificationType, detail: ResourceLoadingDetail
|
|
37
37
|
):
|
|
38
38
|
pass
|
|
39
39
|
|
|
@@ -44,7 +44,7 @@ class NotificationHandler(ABC):
|
|
|
44
44
|
action: str
|
|
45
45
|
|
|
46
46
|
def on_controller_action(
|
|
47
|
-
self,
|
|
47
|
+
self, noti_type: NotificationType, detail: ControllerActionDetail
|
|
48
48
|
):
|
|
49
49
|
pass
|
|
50
50
|
|
|
@@ -55,7 +55,7 @@ class NotificationHandler(ABC):
|
|
|
55
55
|
uuid: str
|
|
56
56
|
hash: str
|
|
57
57
|
|
|
58
|
-
def on_tasker_task(self,
|
|
58
|
+
def on_tasker_task(self, noti_type: NotificationType, detail: TaskerTaskDetail):
|
|
59
59
|
pass
|
|
60
60
|
|
|
61
61
|
@dataclass
|
|
@@ -64,7 +64,9 @@ class NotificationHandler(ABC):
|
|
|
64
64
|
name: str
|
|
65
65
|
next_list: list[str]
|
|
66
66
|
|
|
67
|
-
def on_task_next_list(
|
|
67
|
+
def on_task_next_list(
|
|
68
|
+
self, noti_type: NotificationType, detail: TaskNextListDetail
|
|
69
|
+
):
|
|
68
70
|
pass
|
|
69
71
|
|
|
70
72
|
@dataclass
|
|
@@ -74,7 +76,7 @@ class NotificationHandler(ABC):
|
|
|
74
76
|
name: str
|
|
75
77
|
|
|
76
78
|
def on_task_recognition(
|
|
77
|
-
self,
|
|
79
|
+
self, noti_type: NotificationType, detail: TaskRecognitionDetail
|
|
78
80
|
):
|
|
79
81
|
pass
|
|
80
82
|
|
|
@@ -84,7 +86,7 @@ class NotificationHandler(ABC):
|
|
|
84
86
|
node_id: int
|
|
85
87
|
name: str
|
|
86
88
|
|
|
87
|
-
def on_task_action(self,
|
|
89
|
+
def on_task_action(self, noti_type: NotificationType, detail: TaskActionDetail):
|
|
88
90
|
pass
|
|
89
91
|
|
|
90
92
|
def on_unknown_notification(self, msg: str, details: dict):
|
|
@@ -92,7 +94,7 @@ class NotificationHandler(ABC):
|
|
|
92
94
|
|
|
93
95
|
def on_raw_notification(self, msg: str, details: dict):
|
|
94
96
|
|
|
95
|
-
|
|
97
|
+
noti_type = NotificationHandler._notification_type(msg)
|
|
96
98
|
|
|
97
99
|
if msg.startswith("Resource.Loading"):
|
|
98
100
|
detail = self.ResourceLoadingDetail(
|
|
@@ -100,7 +102,7 @@ class NotificationHandler(ABC):
|
|
|
100
102
|
hash=details["hash"],
|
|
101
103
|
path=details["path"],
|
|
102
104
|
)
|
|
103
|
-
self.on_resource_loading(
|
|
105
|
+
self.on_resource_loading(noti_type, detail)
|
|
104
106
|
|
|
105
107
|
elif msg.startswith("Controller.Action"):
|
|
106
108
|
detail = self.ControllerActionDetail(
|
|
@@ -108,7 +110,7 @@ class NotificationHandler(ABC):
|
|
|
108
110
|
uuid=details["uuid"],
|
|
109
111
|
action=details["action"],
|
|
110
112
|
)
|
|
111
|
-
self.on_controller_action(
|
|
113
|
+
self.on_controller_action(noti_type, detail)
|
|
112
114
|
|
|
113
115
|
elif msg.startswith("Tasker.Task"):
|
|
114
116
|
detail = self.TaskerTaskDetail(
|
|
@@ -117,7 +119,7 @@ class NotificationHandler(ABC):
|
|
|
117
119
|
uuid=details["uuid"],
|
|
118
120
|
hash=details["hash"],
|
|
119
121
|
)
|
|
120
|
-
self.on_tasker_task(
|
|
122
|
+
self.on_tasker_task(noti_type, detail)
|
|
121
123
|
|
|
122
124
|
elif msg.startswith("Task.NextList"):
|
|
123
125
|
detail = self.TaskNextListDetail(
|
|
@@ -125,7 +127,7 @@ class NotificationHandler(ABC):
|
|
|
125
127
|
name=details["name"],
|
|
126
128
|
next_list=details["list"],
|
|
127
129
|
)
|
|
128
|
-
self.on_task_next_list(
|
|
130
|
+
self.on_task_next_list(noti_type, detail)
|
|
129
131
|
|
|
130
132
|
elif msg.startswith("Task.Recognition"):
|
|
131
133
|
detail = self.TaskRecognitionDetail(
|
|
@@ -133,7 +135,7 @@ class NotificationHandler(ABC):
|
|
|
133
135
|
reco_id=details["reco_id"],
|
|
134
136
|
name=details["name"],
|
|
135
137
|
)
|
|
136
|
-
self.on_task_recognition(
|
|
138
|
+
self.on_task_recognition(noti_type, detail)
|
|
137
139
|
|
|
138
140
|
elif msg.startswith("Task.Action"):
|
|
139
141
|
detail = self.TaskActionDetail(
|
|
@@ -141,7 +143,7 @@ class NotificationHandler(ABC):
|
|
|
141
143
|
node_id=details["node_id"],
|
|
142
144
|
name=details["name"],
|
|
143
145
|
)
|
|
144
|
-
self.on_task_action(
|
|
146
|
+
self.on_task_action(noti_type, detail)
|
|
145
147
|
|
|
146
148
|
else:
|
|
147
149
|
self.on_unknown_notification(msg, details)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|