MaaFw 3.0.4__py3-none-win_arm64.whl → 4.0.0b3__py3-none-win_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.
- maa/__init__.py +1 -1
- maa/agent/__init__.py +12 -0
- maa/agent/agent_server.py +132 -0
- maa/agent_client.py +91 -0
- maa/bin/DirectML.dll +0 -0
- maa/bin/MaaAdbControlUnit.dll +0 -0
- maa/bin/MaaAgentClient.dll +0 -0
- maa/bin/MaaAgentServer.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/bin/fastdeploy_ppocr_maa.dll +0 -0
- maa/bin/onnxruntime_maa.dll +0 -0
- maa/bin/opencv_world4_maa.dll +0 -0
- maa/buffer.py +129 -131
- maa/context.py +24 -24
- maa/controller.py +70 -70
- maa/define.py +15 -12
- maa/library.py +103 -15
- maa/notification_handler.py +3 -3
- maa/resource.py +47 -47
- maa/tasker.py +63 -61
- maa/toolkit.py +82 -78
- {MaaFw-3.0.4.dist-info → maafw-4.0.0b3.dist-info}/METADATA +19 -2
- maafw-4.0.0b3.dist-info/RECORD +33 -0
- maafw-4.0.0b3.dist-info/WHEEL +4 -0
- MaaFw-3.0.4.dist-info/RECORD +0 -28
- MaaFw-3.0.4.dist-info/WHEEL +0 -4
- {MaaFw-3.0.4.dist-info → maafw-4.0.0b3.dist-info}/LICENSE.md +0 -0
- {MaaFw-3.0.4.dist-info → maafw-4.0.0b3.dist-info}/top_level.txt +0 -0
maa/toolkit.py
CHANGED
|
@@ -36,7 +36,7 @@ class Toolkit:
|
|
|
36
36
|
Toolkit._set_api_properties()
|
|
37
37
|
|
|
38
38
|
return bool(
|
|
39
|
-
Library.toolkit.MaaToolkitConfigInitOption(
|
|
39
|
+
Library.toolkit().MaaToolkitConfigInitOption(
|
|
40
40
|
str(user_path).encode(),
|
|
41
41
|
json.dumps(default_config, ensure_ascii=False).encode(),
|
|
42
42
|
)
|
|
@@ -48,36 +48,36 @@ class Toolkit:
|
|
|
48
48
|
) -> List[AdbDevice]:
|
|
49
49
|
Toolkit._set_api_properties()
|
|
50
50
|
|
|
51
|
-
list_handle = Library.toolkit.MaaToolkitAdbDeviceListCreate()
|
|
51
|
+
list_handle = Library.toolkit().MaaToolkitAdbDeviceListCreate()
|
|
52
52
|
|
|
53
53
|
if specified_adb:
|
|
54
|
-
Library.toolkit.MaaToolkitAdbDeviceFindSpecified(
|
|
54
|
+
Library.toolkit().MaaToolkitAdbDeviceFindSpecified(
|
|
55
55
|
str(specified_adb).encode(), list_handle
|
|
56
56
|
)
|
|
57
57
|
else:
|
|
58
|
-
Library.toolkit.MaaToolkitAdbDeviceFind(list_handle)
|
|
58
|
+
Library.toolkit().MaaToolkitAdbDeviceFind(list_handle)
|
|
59
59
|
|
|
60
|
-
count = Library.toolkit.MaaToolkitAdbDeviceListSize(list_handle)
|
|
60
|
+
count = Library.toolkit().MaaToolkitAdbDeviceListSize(list_handle)
|
|
61
61
|
|
|
62
62
|
devices = []
|
|
63
63
|
for i in range(count):
|
|
64
|
-
device_handle = Library.toolkit.MaaToolkitAdbDeviceListAt(list_handle, i)
|
|
64
|
+
device_handle = Library.toolkit().MaaToolkitAdbDeviceListAt(list_handle, i)
|
|
65
65
|
|
|
66
|
-
name = Library.toolkit.MaaToolkitAdbDeviceGetName(device_handle).decode()
|
|
66
|
+
name = Library.toolkit().MaaToolkitAdbDeviceGetName(device_handle).decode()
|
|
67
67
|
adb_path = Path(
|
|
68
|
-
Library.toolkit.MaaToolkitAdbDeviceGetAdbPath(device_handle).decode()
|
|
68
|
+
Library.toolkit().MaaToolkitAdbDeviceGetAdbPath(device_handle).decode()
|
|
69
|
+
)
|
|
70
|
+
address = (
|
|
71
|
+
Library.toolkit().MaaToolkitAdbDeviceGetAddress(device_handle).decode()
|
|
69
72
|
)
|
|
70
|
-
address = Library.toolkit.MaaToolkitAdbDeviceGetAddress(
|
|
71
|
-
device_handle
|
|
72
|
-
).decode()
|
|
73
73
|
screencap_methods = int(
|
|
74
|
-
Library.toolkit.MaaToolkitAdbDeviceGetScreencapMethods(device_handle)
|
|
74
|
+
Library.toolkit().MaaToolkitAdbDeviceGetScreencapMethods(device_handle)
|
|
75
75
|
)
|
|
76
76
|
input_methods = int(
|
|
77
|
-
Library.toolkit.MaaToolkitAdbDeviceGetInputMethods(device_handle)
|
|
77
|
+
Library.toolkit().MaaToolkitAdbDeviceGetInputMethods(device_handle)
|
|
78
78
|
)
|
|
79
79
|
config = json.loads(
|
|
80
|
-
Library.toolkit.MaaToolkitAdbDeviceGetConfig(device_handle).decode()
|
|
80
|
+
Library.toolkit().MaaToolkitAdbDeviceGetConfig(device_handle).decode()
|
|
81
81
|
)
|
|
82
82
|
|
|
83
83
|
devices.append(
|
|
@@ -86,7 +86,7 @@ class Toolkit:
|
|
|
86
86
|
)
|
|
87
87
|
)
|
|
88
88
|
|
|
89
|
-
Library.toolkit.MaaToolkitAdbDeviceListDestroy(list_handle)
|
|
89
|
+
Library.toolkit().MaaToolkitAdbDeviceListDestroy(list_handle)
|
|
90
90
|
|
|
91
91
|
return devices
|
|
92
92
|
|
|
@@ -94,28 +94,32 @@ class Toolkit:
|
|
|
94
94
|
def find_desktop_windows() -> List[DesktopWindow]:
|
|
95
95
|
Toolkit._set_api_properties()
|
|
96
96
|
|
|
97
|
-
list_handle = Library.toolkit.MaaToolkitDesktopWindowListCreate()
|
|
97
|
+
list_handle = Library.toolkit().MaaToolkitDesktopWindowListCreate()
|
|
98
98
|
|
|
99
|
-
Library.toolkit.MaaToolkitDesktopWindowFindAll(list_handle)
|
|
99
|
+
Library.toolkit().MaaToolkitDesktopWindowFindAll(list_handle)
|
|
100
100
|
|
|
101
|
-
count = Library.toolkit.MaaToolkitDesktopWindowListSize(list_handle)
|
|
101
|
+
count = Library.toolkit().MaaToolkitDesktopWindowListSize(list_handle)
|
|
102
102
|
|
|
103
103
|
windows = []
|
|
104
104
|
for i in range(count):
|
|
105
|
-
window_handle = Library.toolkit.MaaToolkitDesktopWindowListAt(
|
|
105
|
+
window_handle = Library.toolkit().MaaToolkitDesktopWindowListAt(
|
|
106
106
|
list_handle, i
|
|
107
107
|
)
|
|
108
|
-
hwnd = Library.toolkit.MaaToolkitDesktopWindowGetHandle(window_handle)
|
|
109
|
-
class_name =
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
108
|
+
hwnd = Library.toolkit().MaaToolkitDesktopWindowGetHandle(window_handle)
|
|
109
|
+
class_name = (
|
|
110
|
+
Library.toolkit()
|
|
111
|
+
.MaaToolkitDesktopWindowGetClassName(window_handle)
|
|
112
|
+
.decode()
|
|
113
|
+
)
|
|
114
|
+
window_name = (
|
|
115
|
+
Library.toolkit()
|
|
116
|
+
.MaaToolkitDesktopWindowGetWindowName(window_handle)
|
|
117
|
+
.decode()
|
|
118
|
+
)
|
|
115
119
|
|
|
116
120
|
windows.append(DesktopWindow(hwnd, class_name, window_name))
|
|
117
121
|
|
|
118
|
-
Library.toolkit.MaaToolkitDesktopWindowListDestroy(list_handle)
|
|
122
|
+
Library.toolkit().MaaToolkitDesktopWindowListDestroy(list_handle)
|
|
119
123
|
return windows
|
|
120
124
|
|
|
121
125
|
@staticmethod
|
|
@@ -128,7 +132,7 @@ class Toolkit:
|
|
|
128
132
|
Toolkit._pi_custom_recognition_holder[inst_id][name] = recognition
|
|
129
133
|
|
|
130
134
|
return bool(
|
|
131
|
-
Library.toolkit.MaaToolkitProjectInterfaceRegisterCustomRecognition(
|
|
135
|
+
Library.toolkit().MaaToolkitProjectInterfaceRegisterCustomRecognition(
|
|
132
136
|
ctypes.c_uint64(inst_id),
|
|
133
137
|
name.encode(),
|
|
134
138
|
recognition.c_handle,
|
|
@@ -146,7 +150,7 @@ class Toolkit:
|
|
|
146
150
|
Toolkit._pi_custom_recognition_holder[inst_id][name] = action
|
|
147
151
|
|
|
148
152
|
return bool(
|
|
149
|
-
Library.toolkit.MaaToolkitProjectInterfaceRegisterCustomAction(
|
|
153
|
+
Library.toolkit().MaaToolkitProjectInterfaceRegisterCustomAction(
|
|
150
154
|
ctypes.c_uint64(inst_id),
|
|
151
155
|
name.encode(),
|
|
152
156
|
action.c_handle,
|
|
@@ -167,7 +171,7 @@ class Toolkit:
|
|
|
167
171
|
Toolkit._pi_notification_handler = notification_handler
|
|
168
172
|
|
|
169
173
|
return bool(
|
|
170
|
-
Library.toolkit.MaaToolkitProjectInterfaceRunCli(
|
|
174
|
+
Library.toolkit().MaaToolkitProjectInterfaceRunCli(
|
|
171
175
|
ctypes.c_uint64(inst_id),
|
|
172
176
|
str(resource_path).encode(),
|
|
173
177
|
str(user_path).encode(),
|
|
@@ -189,139 +193,139 @@ class Toolkit:
|
|
|
189
193
|
return
|
|
190
194
|
Toolkit._api_properties_initialized = True
|
|
191
195
|
|
|
192
|
-
Library.toolkit.MaaToolkitConfigInitOption.restype = MaaBool
|
|
193
|
-
Library.toolkit.MaaToolkitConfigInitOption.argtypes = [
|
|
196
|
+
Library.toolkit().MaaToolkitConfigInitOption.restype = MaaBool
|
|
197
|
+
Library.toolkit().MaaToolkitConfigInitOption.argtypes = [
|
|
194
198
|
ctypes.c_char_p,
|
|
195
199
|
ctypes.c_char_p,
|
|
196
200
|
]
|
|
197
201
|
|
|
198
|
-
Library.toolkit.MaaToolkitAdbDeviceListCreate.restype = (
|
|
202
|
+
Library.toolkit().MaaToolkitAdbDeviceListCreate.restype = (
|
|
199
203
|
MaaToolkitAdbDeviceListHandle
|
|
200
204
|
)
|
|
201
|
-
Library.toolkit.MaaToolkitAdbDeviceListCreate.argtypes = []
|
|
205
|
+
Library.toolkit().MaaToolkitAdbDeviceListCreate.argtypes = []
|
|
202
206
|
|
|
203
|
-
Library.toolkit.MaaToolkitAdbDeviceListDestroy.restype = None
|
|
204
|
-
Library.toolkit.MaaToolkitAdbDeviceListDestroy.argtypes = [
|
|
207
|
+
Library.toolkit().MaaToolkitAdbDeviceListDestroy.restype = None
|
|
208
|
+
Library.toolkit().MaaToolkitAdbDeviceListDestroy.argtypes = [
|
|
205
209
|
MaaToolkitAdbDeviceListHandle
|
|
206
210
|
]
|
|
207
211
|
|
|
208
|
-
Library.toolkit.MaaToolkitAdbDeviceFind.restype = MaaBool
|
|
209
|
-
Library.toolkit.MaaToolkitAdbDeviceFind.argtypes = [
|
|
212
|
+
Library.toolkit().MaaToolkitAdbDeviceFind.restype = MaaBool
|
|
213
|
+
Library.toolkit().MaaToolkitAdbDeviceFind.argtypes = [
|
|
210
214
|
MaaToolkitAdbDeviceListHandle
|
|
211
215
|
]
|
|
212
216
|
|
|
213
|
-
Library.toolkit.MaaToolkitAdbDeviceFindSpecified.restype = MaaBool
|
|
214
|
-
Library.toolkit.MaaToolkitAdbDeviceFindSpecified.argtypes = [
|
|
217
|
+
Library.toolkit().MaaToolkitAdbDeviceFindSpecified.restype = MaaBool
|
|
218
|
+
Library.toolkit().MaaToolkitAdbDeviceFindSpecified.argtypes = [
|
|
215
219
|
ctypes.c_char_p,
|
|
216
220
|
MaaToolkitAdbDeviceListHandle,
|
|
217
221
|
]
|
|
218
222
|
|
|
219
|
-
Library.toolkit.MaaToolkitAdbDeviceListSize.restype = MaaSize
|
|
220
|
-
Library.toolkit.MaaToolkitAdbDeviceListSize.argtypes = [
|
|
223
|
+
Library.toolkit().MaaToolkitAdbDeviceListSize.restype = MaaSize
|
|
224
|
+
Library.toolkit().MaaToolkitAdbDeviceListSize.argtypes = [
|
|
221
225
|
MaaToolkitAdbDeviceListHandle
|
|
222
226
|
]
|
|
223
227
|
|
|
224
|
-
Library.toolkit.MaaToolkitAdbDeviceListAt.restype = MaaToolkitAdbDeviceHandle
|
|
225
|
-
Library.toolkit.MaaToolkitAdbDeviceListAt.argtypes = [
|
|
228
|
+
Library.toolkit().MaaToolkitAdbDeviceListAt.restype = MaaToolkitAdbDeviceHandle
|
|
229
|
+
Library.toolkit().MaaToolkitAdbDeviceListAt.argtypes = [
|
|
226
230
|
MaaToolkitAdbDeviceListHandle,
|
|
227
231
|
MaaSize,
|
|
228
232
|
]
|
|
229
233
|
|
|
230
|
-
Library.toolkit.MaaToolkitAdbDeviceGetName.restype = ctypes.c_char_p
|
|
231
|
-
Library.toolkit.MaaToolkitAdbDeviceGetName.argtypes = [
|
|
234
|
+
Library.toolkit().MaaToolkitAdbDeviceGetName.restype = ctypes.c_char_p
|
|
235
|
+
Library.toolkit().MaaToolkitAdbDeviceGetName.argtypes = [
|
|
232
236
|
MaaToolkitAdbDeviceHandle
|
|
233
237
|
]
|
|
234
238
|
|
|
235
|
-
Library.toolkit.MaaToolkitAdbDeviceGetAdbPath.restype = ctypes.c_char_p
|
|
236
|
-
Library.toolkit.MaaToolkitAdbDeviceGetAdbPath.argtypes = [
|
|
239
|
+
Library.toolkit().MaaToolkitAdbDeviceGetAdbPath.restype = ctypes.c_char_p
|
|
240
|
+
Library.toolkit().MaaToolkitAdbDeviceGetAdbPath.argtypes = [
|
|
237
241
|
MaaToolkitAdbDeviceHandle
|
|
238
242
|
]
|
|
239
243
|
|
|
240
|
-
Library.toolkit.MaaToolkitAdbDeviceGetAddress.restype = ctypes.c_char_p
|
|
241
|
-
Library.toolkit.MaaToolkitAdbDeviceGetAddress.argtypes = [
|
|
244
|
+
Library.toolkit().MaaToolkitAdbDeviceGetAddress.restype = ctypes.c_char_p
|
|
245
|
+
Library.toolkit().MaaToolkitAdbDeviceGetAddress.argtypes = [
|
|
242
246
|
MaaToolkitAdbDeviceHandle
|
|
243
247
|
]
|
|
244
248
|
|
|
245
|
-
Library.toolkit.MaaToolkitAdbDeviceGetScreencapMethods.restype = (
|
|
249
|
+
Library.toolkit().MaaToolkitAdbDeviceGetScreencapMethods.restype = (
|
|
246
250
|
MaaAdbScreencapMethod
|
|
247
251
|
)
|
|
248
|
-
Library.toolkit.MaaToolkitAdbDeviceGetScreencapMethods.argtypes = [
|
|
252
|
+
Library.toolkit().MaaToolkitAdbDeviceGetScreencapMethods.argtypes = [
|
|
249
253
|
MaaToolkitAdbDeviceHandle
|
|
250
254
|
]
|
|
251
255
|
|
|
252
|
-
Library.toolkit.MaaToolkitAdbDeviceGetInputMethods.restype = MaaAdbInputMethod
|
|
253
|
-
Library.toolkit.MaaToolkitAdbDeviceGetInputMethods.argtypes = [
|
|
256
|
+
Library.toolkit().MaaToolkitAdbDeviceGetInputMethods.restype = MaaAdbInputMethod
|
|
257
|
+
Library.toolkit().MaaToolkitAdbDeviceGetInputMethods.argtypes = [
|
|
254
258
|
MaaToolkitAdbDeviceHandle
|
|
255
259
|
]
|
|
256
260
|
|
|
257
|
-
Library.toolkit.MaaToolkitAdbDeviceGetConfig.restype = ctypes.c_char_p
|
|
258
|
-
Library.toolkit.MaaToolkitAdbDeviceGetConfig.argtypes = [
|
|
261
|
+
Library.toolkit().MaaToolkitAdbDeviceGetConfig.restype = ctypes.c_char_p
|
|
262
|
+
Library.toolkit().MaaToolkitAdbDeviceGetConfig.argtypes = [
|
|
259
263
|
MaaToolkitAdbDeviceHandle
|
|
260
264
|
]
|
|
261
265
|
|
|
262
|
-
Library.toolkit.MaaToolkitDesktopWindowListCreate.restype = (
|
|
266
|
+
Library.toolkit().MaaToolkitDesktopWindowListCreate.restype = (
|
|
263
267
|
MaaToolkitDesktopWindowListHandle
|
|
264
268
|
)
|
|
265
|
-
Library.toolkit.MaaToolkitDesktopWindowListCreate.argtypes = []
|
|
269
|
+
Library.toolkit().MaaToolkitDesktopWindowListCreate.argtypes = []
|
|
266
270
|
|
|
267
|
-
Library.toolkit.MaaToolkitDesktopWindowListDestroy.restype = None
|
|
268
|
-
Library.toolkit.MaaToolkitDesktopWindowListDestroy.argtypes = [
|
|
271
|
+
Library.toolkit().MaaToolkitDesktopWindowListDestroy.restype = None
|
|
272
|
+
Library.toolkit().MaaToolkitDesktopWindowListDestroy.argtypes = [
|
|
269
273
|
MaaToolkitDesktopWindowListHandle
|
|
270
274
|
]
|
|
271
275
|
|
|
272
|
-
Library.toolkit.MaaToolkitDesktopWindowFindAll.restype = MaaBool
|
|
273
|
-
Library.toolkit.MaaToolkitDesktopWindowFindAll.argtypes = [
|
|
276
|
+
Library.toolkit().MaaToolkitDesktopWindowFindAll.restype = MaaBool
|
|
277
|
+
Library.toolkit().MaaToolkitDesktopWindowFindAll.argtypes = [
|
|
274
278
|
MaaToolkitDesktopWindowListHandle
|
|
275
279
|
]
|
|
276
280
|
|
|
277
|
-
Library.toolkit.MaaToolkitDesktopWindowListSize.restype = MaaSize
|
|
278
|
-
Library.toolkit.MaaToolkitDesktopWindowListSize.argtypes = [
|
|
281
|
+
Library.toolkit().MaaToolkitDesktopWindowListSize.restype = MaaSize
|
|
282
|
+
Library.toolkit().MaaToolkitDesktopWindowListSize.argtypes = [
|
|
279
283
|
MaaToolkitDesktopWindowListHandle
|
|
280
284
|
]
|
|
281
285
|
|
|
282
|
-
Library.toolkit.MaaToolkitDesktopWindowListAt.restype = (
|
|
286
|
+
Library.toolkit().MaaToolkitDesktopWindowListAt.restype = (
|
|
283
287
|
MaaToolkitDesktopWindowHandle
|
|
284
288
|
)
|
|
285
|
-
Library.toolkit.MaaToolkitDesktopWindowListAt.argtypes = [
|
|
289
|
+
Library.toolkit().MaaToolkitDesktopWindowListAt.argtypes = [
|
|
286
290
|
MaaToolkitDesktopWindowListHandle,
|
|
287
291
|
MaaSize,
|
|
288
292
|
]
|
|
289
293
|
|
|
290
|
-
Library.toolkit.MaaToolkitDesktopWindowGetHandle.restype = ctypes.c_void_p
|
|
291
|
-
Library.toolkit.MaaToolkitDesktopWindowGetHandle.argtypes = [
|
|
294
|
+
Library.toolkit().MaaToolkitDesktopWindowGetHandle.restype = ctypes.c_void_p
|
|
295
|
+
Library.toolkit().MaaToolkitDesktopWindowGetHandle.argtypes = [
|
|
292
296
|
MaaToolkitDesktopWindowHandle
|
|
293
297
|
]
|
|
294
298
|
|
|
295
|
-
Library.toolkit.MaaToolkitDesktopWindowGetClassName.restype = ctypes.c_char_p
|
|
296
|
-
Library.toolkit.MaaToolkitDesktopWindowGetClassName.argtypes = [
|
|
299
|
+
Library.toolkit().MaaToolkitDesktopWindowGetClassName.restype = ctypes.c_char_p
|
|
300
|
+
Library.toolkit().MaaToolkitDesktopWindowGetClassName.argtypes = [
|
|
297
301
|
MaaToolkitDesktopWindowHandle
|
|
298
302
|
]
|
|
299
303
|
|
|
300
|
-
Library.toolkit.MaaToolkitDesktopWindowGetWindowName.restype = ctypes.c_char_p
|
|
301
|
-
Library.toolkit.MaaToolkitDesktopWindowGetWindowName.argtypes = [
|
|
304
|
+
Library.toolkit().MaaToolkitDesktopWindowGetWindowName.restype = ctypes.c_char_p
|
|
305
|
+
Library.toolkit().MaaToolkitDesktopWindowGetWindowName.argtypes = [
|
|
302
306
|
MaaToolkitDesktopWindowHandle
|
|
303
307
|
]
|
|
304
308
|
|
|
305
|
-
Library.toolkit.MaaToolkitProjectInterfaceRegisterCustomRecognition.restype = (
|
|
309
|
+
Library.toolkit().MaaToolkitProjectInterfaceRegisterCustomRecognition.restype = (
|
|
306
310
|
None
|
|
307
311
|
)
|
|
308
|
-
Library.toolkit.MaaToolkitProjectInterfaceRegisterCustomRecognition.argtypes = [
|
|
312
|
+
Library.toolkit().MaaToolkitProjectInterfaceRegisterCustomRecognition.argtypes = [
|
|
309
313
|
ctypes.c_uint64,
|
|
310
314
|
ctypes.c_char_p,
|
|
311
315
|
MaaCustomRecognitionCallback,
|
|
312
316
|
ctypes.c_void_p,
|
|
313
317
|
]
|
|
314
318
|
|
|
315
|
-
Library.toolkit.MaaToolkitProjectInterfaceRegisterCustomAction.restype = None
|
|
316
|
-
Library.toolkit.MaaToolkitProjectInterfaceRegisterCustomAction.argtypes = [
|
|
319
|
+
Library.toolkit().MaaToolkitProjectInterfaceRegisterCustomAction.restype = None
|
|
320
|
+
Library.toolkit().MaaToolkitProjectInterfaceRegisterCustomAction.argtypes = [
|
|
317
321
|
ctypes.c_uint64,
|
|
318
322
|
ctypes.c_char_p,
|
|
319
323
|
MaaCustomActionCallback,
|
|
320
324
|
ctypes.c_void_p,
|
|
321
325
|
]
|
|
322
326
|
|
|
323
|
-
Library.toolkit.MaaToolkitProjectInterfaceRunCli.restype = MaaBool
|
|
324
|
-
Library.toolkit.MaaToolkitProjectInterfaceRunCli.argtypes = [
|
|
327
|
+
Library.toolkit().MaaToolkitProjectInterfaceRunCli.restype = MaaBool
|
|
328
|
+
Library.toolkit().MaaToolkitProjectInterfaceRunCli.argtypes = [
|
|
325
329
|
ctypes.c_uint64,
|
|
326
330
|
ctypes.c_char_p,
|
|
327
331
|
ctypes.c_char_p,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: MaaFw
|
|
3
|
-
Version:
|
|
3
|
+
Version: 4.0.0b3
|
|
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,6 +8,7 @@ Requires-Python: >=3.9
|
|
|
8
8
|
Description-Content-Type: text/markdown
|
|
9
9
|
License-File: LICENSE.md
|
|
10
10
|
Requires-Dist: numpy
|
|
11
|
+
Requires-Dist: strenum
|
|
11
12
|
Requires-Dist: MaaAgentBinary
|
|
12
13
|
|
|
13
14
|
<!-- markdownlint-disable MD033 MD041 -->
|
|
@@ -116,7 +117,17 @@ _✨ 基于图像识别的自动化黑盒测试框架 ✨_
|
|
|
116
117
|
|
|
117
118
|
- [MaaAshEchoes](https://github.com/moulai/MaaAshEchoes) 白荆回廊 小助手 
|
|
118
119
|
基于全新架构的 白荆回廊 小助手。图像技术 + 模拟控制,解放双手!由 MaaFramework 强力驱动!
|
|
119
|
-
|
|
120
|
+
|
|
121
|
+
- [MaaXuexi](https://github.com/ravizhan/MaaXuexi) 学习强国 自动化助手  
|
|
122
|
+
基于全新架构的 学习强国 自动化助手。图像技术 + 模拟控制,解放双手!由 MaaFramework 强力驱动!
|
|
123
|
+
|
|
124
|
+
- [MACC](https://github.com/mxia9416/MACC) 无期迷途 小助手 
|
|
125
|
+
基于全新架构的 无期迷途 小助手。图像技术 + 模拟控制,解放双手!由 MaaFramework 强力驱动!
|
|
126
|
+
|
|
127
|
+
- [MAA_MHXY_MG](https://github.com/gitlihang/Maa_MHXY_MG) 梦幻西游手游 小助手 
|
|
128
|
+
基于全新架构的 梦幻西游手游 小助手。图像技术 + 模拟控制,解放双手!由 MaaFramework 强力驱动!
|
|
129
|
+
|
|
130
|
+
|
|
120
131
|
## 生态共建
|
|
121
132
|
|
|
122
133
|
MAA 正计划建设为一类项目,而非舟的单一软件。
|
|
@@ -154,6 +165,10 @@ _请留意,仅当您准备开发 MaaFramework 本身时,才需要阅读本
|
|
|
154
165
|
ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator
|
|
155
166
|
- [boost](https://www.boost.org/)
|
|
156
167
|
Boost provides free peer-reviewed portable C++ source libraries.
|
|
168
|
+
- [libzmq](https://github.com/zeromq/libzmq)
|
|
169
|
+
ZeroMQ core engine in C++, implements ZMTP/3.1
|
|
170
|
+
- [cppzmq](https://github.com/zeromq/cppzmq)
|
|
171
|
+
Header-only C++ binding for libzmq
|
|
157
172
|
- [meojson](https://github.com/MistEO/meojson)
|
|
158
173
|
✨ Next-gen C++ JSON/JSON5 Serialization Engine | Zero Dependency | Header-Only | Unleash JSON Potential
|
|
159
174
|
- [minitouch](https://github.com/DeviceFarmer/minitouch)
|
|
@@ -166,6 +181,8 @@ _请留意,仅当您准备开发 MaaFramework 本身时,才需要阅读本
|
|
|
166
181
|
A massively spiffy yet delicately unobtrusive compression library.
|
|
167
182
|
- [gzip-hpp](https://github.com/mapbox/gzip-hpp)
|
|
168
183
|
Gzip header-only C++ library
|
|
184
|
+
- [cpp-base64](https://github.com/ReneNyffenegger/cpp-base64)
|
|
185
|
+
base64 encoding and decoding with c++
|
|
169
186
|
- ~~[protobuf](https://github.com/protocolbuffers/protobuf)~~
|
|
170
187
|
~~Protocol Buffers - Google's data interchange format~~
|
|
171
188
|
- ~~[grpc](https://github.com/grpc/grpc)~~
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
maa/__init__.py,sha256=t2Z9yJWrSZfH16xYN67bKpiPEHDf7iaiw4wi0PjmU8U,250
|
|
2
|
+
maa/agent_client.py,sha256=MGjwVCM_Y60O2pJJn5iCxh0ymg-ebOWlDw2euSaZSu0,2855
|
|
3
|
+
maa/buffer.py,sha256=XFr1MnWt-xmZkhQ_2ZzGfiqSJJwmphY4U07EEzMNYQc,16544
|
|
4
|
+
maa/context.py,sha256=hOxo7GArAmdBwMGHPqM1I2rtNE5N6WR1QwPOLxZgSvU,5754
|
|
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=o2k2tM-NstcDpivXPdoritI3laUN1NQl3Yq1M6RkNcE,3055
|
|
8
|
+
maa/define.py,sha256=qec4GQkYi6AtorJ1ix880Fz67bpZULJOV3VpZEDd2Es,13341
|
|
9
|
+
maa/job.py,sha256=MUI5T2X9ON9c7Dl6yo_0pp8Ulpn25XOD_uEdGm2k-TA,1231
|
|
10
|
+
maa/library.py,sha256=9af7ncHUk33N5JcacaAk87JLKkP3atu-J8wf-CvfYhw,3891
|
|
11
|
+
maa/notification_handler.py,sha256=563C8mcdmx3f3Q5cqs_lY219CMD_QX1euajc6-ec8sg,5260
|
|
12
|
+
maa/resource.py,sha256=RgHP-SAxwQRGvDOcC0oTYfEE8bOxs-llscgtBKNHRhk,9909
|
|
13
|
+
maa/tasker.py,sha256=Hgi1Pbq20rKnTM3fU5yZP_QjetYNOpov7YulatPWAPI,14551
|
|
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/DirectML.dll,sha256=nJ5tgiVhxsQbkOaZSz6IV88dZtv7HgxMeZx8ibTpLaE,18527776
|
|
18
|
+
maa/bin/MaaAdbControlUnit.dll,sha256=PKxxL6n_TruQ9_cg1UYFbkCXgb2N-Z8E2IBby_jZaFc,1320960
|
|
19
|
+
maa/bin/MaaAgentClient.dll,sha256=Bzv3_wUAumB8Icvist5ELVrojhuA1u8PQ_AfJBOeiVA,1902080
|
|
20
|
+
maa/bin/MaaAgentServer.dll,sha256=_HyOscliTeVZx-Y8y90CA55mmB0QB5xxn5LYMFbKnlA,2136576
|
|
21
|
+
maa/bin/MaaDbgControlUnit.dll,sha256=XBUyiypJzTN-4tNQ6fKu9-WpMzXAP7jvTX-oA1_VALE,775168
|
|
22
|
+
maa/bin/MaaFramework.dll,sha256=UKWjCnbubIMN-hQjCzfchUeQZpqR7UVaUnQ-ug4UfCE,2502656
|
|
23
|
+
maa/bin/MaaToolkit.dll,sha256=LUXrT2GZXqy3Ji1wst36qIW9TRCu1-QOyXtusfSgWus,1261568
|
|
24
|
+
maa/bin/MaaUtils.dll,sha256=Kd3xXMG3m5KSP5zHg7uDMYlfZH1sMtizqX0QcA6Ny6M,1017344
|
|
25
|
+
maa/bin/MaaWin32ControlUnit.dll,sha256=CtvnuPsCYa-AXhsD-_GgfgjnnZZ5jLjlw1wPepq-ZIM,1557504
|
|
26
|
+
maa/bin/fastdeploy_ppocr_maa.dll,sha256=HowKaHyB31cTK8ZoPAgxlPQOEKUM_jEJoCvyku5hj6k,1168384
|
|
27
|
+
maa/bin/onnxruntime_maa.dll,sha256=rlFVEdC1cB6Yc4EbYuvoyGOr9o941NbLaOzwkaghAVo,19161600
|
|
28
|
+
maa/bin/opencv_world4_maa.dll,sha256=-RoYA6M1PHqnM0Yc-SpKY07rk1mx7PNH6CuxkutS9yw,18250752
|
|
29
|
+
maafw-4.0.0b3.dist-info/LICENSE.md,sha256=RG51X65V_wNLuyG-RGcLXxFsKyZnlH5wNvK_5mMlOag,7560
|
|
30
|
+
maafw-4.0.0b3.dist-info/METADATA,sha256=P1FdnCMavZSHO1Rby_gpp8sUhVdczFErasR-V06HCMw,13361
|
|
31
|
+
maafw-4.0.0b3.dist-info/WHEEL,sha256=UfxeTRpvjBYhTuxC6pyQLaeHeT6rlyhJuBjhI3S6D1U,95
|
|
32
|
+
maafw-4.0.0b3.dist-info/top_level.txt,sha256=G8r2L__aYaMq4S3R70G6NsfEROiVp08kUcWvATzk2J8,4
|
|
33
|
+
maafw-4.0.0b3.dist-info/RECORD,,
|
MaaFw-3.0.4.dist-info/RECORD
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
maa/__init__.py,sha256=JkhLdjqr1X69SYY2O3qoPhdYImQC_91XS5_eY1vbtEo,230
|
|
2
|
-
maa/buffer.py,sha256=JLxAF8esnAN4SlkZf2OMMlpv0SV3WK7OyMF8w7sTaC8,16617
|
|
3
|
-
maa/context.py,sha256=oKlPInvBKOPKT16qwWcIZKf4hEfFBL6cc_RYfqY5o90,5706
|
|
4
|
-
maa/controller.py,sha256=61R4asxDLChiZBSD1hEdGdbpoyOxHttOeflNuJ7DmqM,22381
|
|
5
|
-
maa/custom_action.py,sha256=V-kJ-5ahcImnzrZBbAH_RJqoiQ7RjBT39ffdSOi9_c4,2495
|
|
6
|
-
maa/custom_recognition.py,sha256=o2k2tM-NstcDpivXPdoritI3laUN1NQl3Yq1M6RkNcE,3055
|
|
7
|
-
maa/define.py,sha256=d86Bu4_M4EAW-O19WLvjN6AC4Y-xpP1Kv-xf45g99Zc,13168
|
|
8
|
-
maa/job.py,sha256=MUI5T2X9ON9c7Dl6yo_0pp8Ulpn25XOD_uEdGm2k-TA,1231
|
|
9
|
-
maa/library.py,sha256=AwdFx_zWHEah81NwOmD-SDzysSuVbsreDLIaxpWsXvY,1267
|
|
10
|
-
maa/notification_handler.py,sha256=1sFukH3R5l9Fp73CP7DV8fv6gTYge_kb6foSDNcNERY,5251
|
|
11
|
-
maa/resource.py,sha256=XJ4zGYaM2onao45FUSicv3ghClrba4xQhyD_f4eLyww,9825
|
|
12
|
-
maa/tasker.py,sha256=whGIavf89NoiPffEoRJk3xtzeW8NUyzMoi6ZIo2d5b8,14409
|
|
13
|
-
maa/toolkit.py,sha256=BE_o8XgznuW1d_7YairYHOrqOp5Ha9GYMcinsYYBgVM,11163
|
|
14
|
-
maa/bin/DirectML.dll,sha256=d7Dbg_-QPyMj9cr1OEmdda9gOLvqI7eVn30jLZpKudQ,18444832
|
|
15
|
-
maa/bin/MaaAdbControlUnit.dll,sha256=5Q0K5L5dam-4PCOnGORcxANlsvdPU0SSDAxjJi2P5gk,856576
|
|
16
|
-
maa/bin/MaaDbgControlUnit.dll,sha256=JCfzBPJ05tZLWUWPVwaSE5XJCLWbsZKo5K2jv7blvXc,397824
|
|
17
|
-
maa/bin/MaaFramework.dll,sha256=OJS_acLiDnCc90tDgx3lygiVIn7RPpqXmVLTfXKwli8,1800704
|
|
18
|
-
maa/bin/MaaToolkit.dll,sha256=RBCYGb9Xo4Yhur9RdeWGd7mnKx3TKDp7-3wJsYWuoBs,717824
|
|
19
|
-
maa/bin/MaaUtils.dll,sha256=WSTnJKfEKJFriLyw8rnAHK_tmcjKXz34GXPJ9kcLn34,572416
|
|
20
|
-
maa/bin/MaaWin32ControlUnit.dll,sha256=ZhGxZi1bQZujYBxbxFVDiaJjKsLlB1F-LkUbWIQM5Yk,352768
|
|
21
|
-
maa/bin/fastdeploy_ppocr_maa.dll,sha256=lidtCQOzeYsOBcEJzcuhynypH1fkibZa-uBlcO0hx6g,1097728
|
|
22
|
-
maa/bin/onnxruntime_maa.dll,sha256=76uDwY3lectM4kzFxzK8qKL9cOsUrV5QsuNgh8Q74jo,19155456
|
|
23
|
-
maa/bin/opencv_world4_maa.dll,sha256=zmZOpjQHQ4y24pbPJvQjQcfMM5paGKzkYf1GB3TWTj0,15078400
|
|
24
|
-
MaaFw-3.0.4.dist-info/LICENSE.md,sha256=RG51X65V_wNLuyG-RGcLXxFsKyZnlH5wNvK_5mMlOag,7560
|
|
25
|
-
MaaFw-3.0.4.dist-info/METADATA,sha256=iym8WbiPF-hUC1xXVNcFz83sV4Y1_LLooKsVLYqg31U,12044
|
|
26
|
-
MaaFw-3.0.4.dist-info/WHEEL,sha256=O27GNqVAQSliuXXmsD8fgZIOcWx2wEKSJh_dY7N8eLM,95
|
|
27
|
-
MaaFw-3.0.4.dist-info/top_level.txt,sha256=G8r2L__aYaMq4S3R70G6NsfEROiVp08kUcWvATzk2J8,4
|
|
28
|
-
MaaFw-3.0.4.dist-info/RECORD,,
|
MaaFw-3.0.4.dist-info/WHEEL
DELETED
|
File without changes
|
|
File without changes
|