-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path__init__.py
More file actions
123 lines (122 loc) · 6.29 KB
/
__init__.py
File metadata and controls
123 lines (122 loc) · 6.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
"""
import all wrapper function
"""
# callback
from je_auto_control.utils.callback.callback_function_executor import \
callback_executor
# Critical
from je_auto_control.utils.critical_exit.critcal_exit import CriticalExit
from je_auto_control.utils.cv2_utils.screen_record import ScreenRecorder
# utils cv2_utils
from je_auto_control.utils.cv2_utils.screenshot import pil_screenshot
from je_auto_control.utils.exception.exceptions import \
AutoControlActionException
from je_auto_control.utils.exception.exceptions import \
AutoControlActionNullException
from je_auto_control.utils.exception.exceptions import \
AutoControlCantFindKeyException
# Exception
from je_auto_control.utils.exception.exceptions import AutoControlException
from je_auto_control.utils.exception.exceptions import \
AutoControlJsonActionException
from je_auto_control.utils.exception.exceptions import \
AutoControlKeyboardException
from je_auto_control.utils.exception.exceptions import \
AutoControlMouseException
from je_auto_control.utils.exception.exceptions import \
AutoControlRecordException
from je_auto_control.utils.exception.exceptions import \
AutoControlScreenException
from je_auto_control.utils.exception.exceptions import ImageNotFoundException
from je_auto_control.utils.executor.action_executor import \
add_command_to_executor
# executor
from je_auto_control.utils.executor.action_executor import execute_action
from je_auto_control.utils.executor.action_executor import execute_files
from je_auto_control.utils.executor.action_executor import executor
# file process
from je_auto_control.utils.file_process.get_dir_file_list import \
get_dir_files_as_list
# html report
from je_auto_control.utils.generate_report.generate_html_report import \
generate_html
from je_auto_control.utils.generate_report.generate_html_report import \
generate_html_report
from je_auto_control.utils.generate_report.generate_json_report import \
generate_json
from je_auto_control.utils.generate_report.generate_json_report import \
generate_json_report
# xml
from je_auto_control.utils.generate_report.generate_xml_report import \
generate_xml
from je_auto_control.utils.generate_report.generate_xml_report import \
generate_xml_report
# json
from je_auto_control.utils.json.json_file import read_action_json
from je_auto_control.utils.json.json_file import write_action_json
# package manager
from je_auto_control.utils.package_manager.package_manager_class import \
package_manager
from je_auto_control.utils.project.create_project_structure import \
create_project_dir
# Shell command
from je_auto_control.utils.shell_process.shell_exec import ShellManager
from je_auto_control.utils.shell_process.shell_exec import default_shell_manager
# socket server
from je_auto_control.utils.socket_server.auto_control_socket_server import \
start_autocontrol_socket_server
# Start exe
from je_auto_control.utils.start_exe.start_another_process import start_exe
# test record
from je_auto_control.utils.test_record.record_test_class import \
test_record_instance
# timeout
from je_auto_control.utils.timeout.multiprocess_timeout import \
multiprocess_timeout
from je_auto_control.wrapper.auto_control_image import locate_all_image
from je_auto_control.wrapper.auto_control_image import locate_and_click
from je_auto_control.wrapper.auto_control_image import locate_image_center
# import keyboard
from je_auto_control.wrapper.auto_control_keyboard import check_key_is_press
from je_auto_control.wrapper.auto_control_keyboard import get_keyboard_keys_table
from je_auto_control.wrapper.auto_control_keyboard import get_special_table
from je_auto_control.wrapper.auto_control_keyboard import hotkey
from je_auto_control.wrapper.auto_control_keyboard import keyboard_keys_table
from je_auto_control.wrapper.auto_control_keyboard import press_keyboard_key
from je_auto_control.wrapper.auto_control_keyboard import release_keyboard_key
from je_auto_control.wrapper.auto_control_keyboard import type_keyboard
from je_auto_control.wrapper.auto_control_keyboard import write
# import mouse
from je_auto_control.wrapper.auto_control_mouse import click_mouse
from je_auto_control.wrapper.auto_control_mouse import get_mouse_position
from je_auto_control.wrapper.auto_control_mouse import mouse_keys_table
from je_auto_control.wrapper.auto_control_mouse import mouse_scroll
from je_auto_control.wrapper.auto_control_mouse import press_mouse
from je_auto_control.wrapper.auto_control_mouse import release_mouse
from je_auto_control.wrapper.auto_control_mouse import set_mouse_position
from je_auto_control.wrapper.auto_control_mouse import special_mouse_keys_table
# test_record
from je_auto_control.wrapper.auto_control_record import record
from je_auto_control.wrapper.auto_control_record import stop_record
# import screen
from je_auto_control.wrapper.auto_control_screen import screen_size
from je_auto_control.wrapper.auto_control_screen import screenshot
# Scheduler
from je_auto_control.utils.scheduler.extend_apscheduler import SchedulerManager
__all__ = [
"click_mouse", "mouse_keys_table", "get_mouse_position", "press_mouse", "release_mouse",
"mouse_scroll", "set_mouse_position", "special_mouse_keys_table",
"keyboard_keys_table", "press_keyboard_key", "release_keyboard_key", "type_keyboard", "check_key_is_press",
"write", "hotkey", "start_exe", "get_keyboard_keys_table",
"screen_size", "screenshot", "locate_all_image", "locate_image_center", "locate_and_click",
"CriticalExit", "AutoControlException", "AutoControlKeyboardException",
"AutoControlMouseException", "AutoControlCantFindKeyException",
"AutoControlScreenException", "ImageNotFoundException", "AutoControlJsonActionException",
"AutoControlRecordException", "AutoControlActionNullException", "AutoControlActionException", "record",
"stop_record", "read_action_json", "write_action_json", "execute_action", "execute_files", "executor",
"add_command_to_executor", "multiprocess_timeout", "test_record_instance", "screenshot", "pil_screenshot",
"generate_html", "generate_html_report", "generate_json", "generate_json_report", "generate_xml",
"generate_xml_report", "get_dir_files_as_list", "create_project_dir", "start_autocontrol_socket_server",
"callback_executor", "package_manager", "get_special_table", "ShellManager", "default_shell_manager",
"SchedulerManager"
]