automas-maafw-interface 0.1.1__tar.gz
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.
- automas_maafw_interface-0.1.1/PKG-INFO +15 -0
- automas_maafw_interface-0.1.1/README.md +6 -0
- automas_maafw_interface-0.1.1/pyproject.toml +23 -0
- automas_maafw_interface-0.1.1/setup.cfg +4 -0
- automas_maafw_interface-0.1.1/src/automas_maafw_interface/__init__.py +47 -0
- automas_maafw_interface-0.1.1/src/automas_maafw_interface/loader.py +1075 -0
- automas_maafw_interface-0.1.1/src/automas_maafw_interface/models.py +308 -0
- automas_maafw_interface-0.1.1/src/automas_maafw_interface/plugin.py +40 -0
- automas_maafw_interface-0.1.1/src/automas_maafw_interface/preview.py +356 -0
- automas_maafw_interface-0.1.1/src/automas_maafw_interface/py.typed +1 -0
- automas_maafw_interface-0.1.1/src/automas_maafw_interface/service.py +118 -0
- automas_maafw_interface-0.1.1/src/automas_maafw_interface/task_config.py +621 -0
- automas_maafw_interface-0.1.1/src/automas_maafw_interface.egg-info/PKG-INFO +15 -0
- automas_maafw_interface-0.1.1/src/automas_maafw_interface.egg-info/SOURCES.txt +16 -0
- automas_maafw_interface-0.1.1/src/automas_maafw_interface.egg-info/dependency_links.txt +1 -0
- automas_maafw_interface-0.1.1/src/automas_maafw_interface.egg-info/entry_points.txt +2 -0
- automas_maafw_interface-0.1.1/src/automas_maafw_interface.egg-info/requires.txt +2 -0
- automas_maafw_interface-0.1.1/src/automas_maafw_interface.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: automas-maafw-interface
|
|
3
|
+
Version: 0.1.1
|
|
4
|
+
Summary: MaaFW ProjectInterface parser plugin for AUTO-MAS
|
|
5
|
+
Requires-Python: >=3.10
|
|
6
|
+
Description-Content-Type: text/markdown
|
|
7
|
+
Requires-Dist: json5>=0.9
|
|
8
|
+
Requires-Dist: pydantic>=2
|
|
9
|
+
|
|
10
|
+
# automas-maafw-interface
|
|
11
|
+
|
|
12
|
+
MaaFW ProjectInterface parser and AUTO-MAS plugin service.
|
|
13
|
+
|
|
14
|
+
It provides `maafw.interface.v1` and can also be imported directly by other
|
|
15
|
+
Python packages.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=68", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "automas-maafw-interface"
|
|
7
|
+
version = "0.1.1"
|
|
8
|
+
description = "MaaFW ProjectInterface parser plugin for AUTO-MAS"
|
|
9
|
+
readme = { file = "README.md", content-type = "text/markdown" }
|
|
10
|
+
requires-python = ">=3.10"
|
|
11
|
+
dependencies = [
|
|
12
|
+
"json5>=0.9",
|
|
13
|
+
"pydantic>=2",
|
|
14
|
+
]
|
|
15
|
+
|
|
16
|
+
[project.entry-points."auto_mas.plugins"]
|
|
17
|
+
automas_maafw_interface = "automas_maafw_interface.plugin:Plugin"
|
|
18
|
+
|
|
19
|
+
[tool.setuptools.packages.find]
|
|
20
|
+
where = ["src"]
|
|
21
|
+
|
|
22
|
+
[tool.setuptools.package-data]
|
|
23
|
+
automas_maafw_interface = ["py.typed"]
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from .loader import (
|
|
4
|
+
MaaFWInterfaceLoadError,
|
|
5
|
+
load_interface_model,
|
|
6
|
+
load_interface_model_cached,
|
|
7
|
+
rescan_scan_select_option,
|
|
8
|
+
)
|
|
9
|
+
from .models import (
|
|
10
|
+
MaaFWController,
|
|
11
|
+
MaaFWInterface,
|
|
12
|
+
MaaFWOption,
|
|
13
|
+
MaaFWPreset,
|
|
14
|
+
MaaFWResource,
|
|
15
|
+
MaaFWTask,
|
|
16
|
+
)
|
|
17
|
+
from .service import MaaFWInterfaceService
|
|
18
|
+
from .task_config import (
|
|
19
|
+
MaaFWTaskConfig,
|
|
20
|
+
MaaFWTaskPresetSnapshot,
|
|
21
|
+
build_interface_preset_snapshot,
|
|
22
|
+
normalize_snapshot,
|
|
23
|
+
normalize_task_config,
|
|
24
|
+
normalize_task_execution_payload,
|
|
25
|
+
normalize_task_options_by_task,
|
|
26
|
+
)
|
|
27
|
+
|
|
28
|
+
__all__ = [
|
|
29
|
+
"MaaFWController",
|
|
30
|
+
"MaaFWInterface",
|
|
31
|
+
"MaaFWInterfaceLoadError",
|
|
32
|
+
"MaaFWInterfaceService",
|
|
33
|
+
"MaaFWOption",
|
|
34
|
+
"MaaFWPreset",
|
|
35
|
+
"MaaFWResource",
|
|
36
|
+
"MaaFWTask",
|
|
37
|
+
"MaaFWTaskConfig",
|
|
38
|
+
"MaaFWTaskPresetSnapshot",
|
|
39
|
+
"build_interface_preset_snapshot",
|
|
40
|
+
"load_interface_model",
|
|
41
|
+
"load_interface_model_cached",
|
|
42
|
+
"normalize_snapshot",
|
|
43
|
+
"normalize_task_config",
|
|
44
|
+
"normalize_task_execution_payload",
|
|
45
|
+
"normalize_task_options_by_task",
|
|
46
|
+
"rescan_scan_select_option",
|
|
47
|
+
]
|