Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/a-real-ai/pywinassistant
/ functions
Functions
118 in github.com/a-real-ai/pywinassistant
⨍
Functions
118
◇
Types & classes
3
↓ 26 callers
Function
speaker
(text, lang='en')
core/voice.py:81
↓ 16 callers
Function
api_call
(messages, model_name=MODEL_NAME, temperature=0.5, max_tokens=150)
core/core_api.py:8
↓ 14 callers
Function
show_message
(event=None, message="Hello! How can I help you?")
core/assistant.py:175
↓ 12 callers
Function
activate_windowt_title
(application_name)
core/window_focus.py:229
↓ 12 callers
Function
menu_command
(command)
core/assistant.py:230
↓ 10 callers
Function
act
(single_step, keep_in_mind="", dont_click=False, double_click=False, right_click=False, hold_key=None, app_nam
core/driver.py:648
↓ 7 callers
Function
imaging
(window_title=None, additional_context=None, x=None, y=None, screenshot_size=None)
core/core_imaging.py:80
↓ 5 callers
Function
analyze_app
(application_name_contains=None, size_category=None, additional_search_options=None)
core/window_elements.py:50
↓ 5 callers
Function
app_space_map
(goal, app_name=None, single_step=None, map='')
core/driver.py:110
↓ 5 callers
Function
assistant
This function handles the user's prompt and generates the best achievable test case to perform the user's prompt. This function assumes the u
core/driver.py:205
↓ 4 callers
Function
get_application_title
(goal="", last_step=None, actual_step=None, focus_window=False)
core/driver.py:899
↓ 4 callers
Function
write_action
(goal=None, assistant_identity="", press_enter=False, app_name="", original_goal=None, last_step="")
core/driver.py:992
↓ 3 callers
Function
animate_move
(step=0, direction=1, amplitude=3, start_time=1)
core/assistant.py:380
↓ 3 callers
Method
close
(self)
core/voice.py:43
↓ 3 callers
Function
create_input_bubble
(action=False)
core/assistant.py:96
↓ 3 callers
Function
fast_act
(single_step, keep_in_mind="", dont_click=False, double_click=False, right_click=False, hold_key=None, app_nam
core/driver.py:787
↓ 3 callers
Function
jitter_mouse
(x, y, radius=5, duration=0.6)
core/driver.py:942
↓ 3 callers
Function
load_image
(file_path, scale=0.333)
core/assistant.py:489
↓ 3 callers
Function
ocr_image_with_filters
(image)
core/ocr.py:166
↓ 3 callers
Function
open_windows_info
()
core/window_focus.py:105
↓ 3 callers
Function
perform_simulated_keypress
(press_key)
core/driver.py:1040
↓ 3 callers
Function
set_volume
(volume_level)
core/voice.py:71
↓ 2 callers
Method
_get_response
(self, messages, max_tokens=50)
core/window_mgmt.py:9
↓ 2 callers
Function
bring_to_foreground
(hwnd)
core/window_focus.py:128
↓ 2 callers
Function
calculate_duration_of_speech
(text, lang='en', wpm=150)
core/driver.py:1066
↓ 2 callers
Function
calculate_duration_of_speech
Estimate the duration the subtitles should be displayed based on words per minute (WPM)
core/voice.py:47
↓ 2 callers
Function
create_app
()
core/assistant.py:500
↓ 2 callers
Function
find_element
(single_step, app_name, original_goal, avoid_element="", assistant_goal=None, attempt=0)
core/driver.py:563
↓ 2 callers
Function
find_probable_click_position
(input_string, attempts=30)
core/ocr.py:354
↓ 2 callers
Function
find_window_by_title
(partial_title)
core/window_focus.py:120
↓ 2 callers
Function
generate_assistant_test_case
(fast_act=False)
core/assistant.py:299
↓ 2 callers
Function
get_active_window_title
()
core/window_focus.py:91
↓ 2 callers
Function
get_focused_window_details
()
core/ocr.py:59
↓ 2 callers
Function
get_ocr_match
(goal, ocr_match=enable_ocr)
core/driver.py:924
↓ 2 callers
Function
get_opened_programs
()
core/last_app.py:31
↓ 2 callers
Function
get_window_text
(hwnd)
core/window_focus.py:84
↓ 2 callers
Function
listen_to_speech
()
core/assistant.py:25
↓ 2 callers
Function
preprocess_image
( image, grayscale=True, invert=False, contrast_levels=None, scales=None, use_th
core/ocr.py:91
↓ 2 callers
Function
set_subtitles
(subtitles_bool)
core/voice.py:76
↓ 2 callers
Function
sort_and_categorize_rects
(controls_with_rects, size_category_to_print=None)
core/window_elements.py:28
↓ 2 callers
Method
update
(self)
core/voice.py:31
↓ 2 callers
Function
walk_control
(control, indent=0, control_type=None)
core/ui_window_analyzer.py:5
↓ 1 callers
Function
analyze_app
(application_name=None, control_type=None)
core/ui_window_analyzer.py:20
↓ 1 callers
Function
analyze_image
(base64_image, window_title, additional_context='What’s in this image?')
core/core_imaging.py:46
↓ 1 callers
Function
animate_blink
()
core/assistant.py:372
↓ 1 callers
Function
auto_prompt
(message)
core/assistant.py:475
↓ 1 callers
Function
auto_role
(goal)
core/driver.py:547
↓ 1 callers
Function
capture_screenshot
(window=None, region=None)
core/core_imaging.py:28
↓ 1 callers
Method
change_text
(self, new_text, duration)
core/voice.py:36
↓ 1 callers
Function
check_element_visibility
(app_name, step_description)
core/driver.py:533
↓ 1 callers
Function
click_best_matches
(coincidences)
core/ocr.py:225
↓ 1 callers
Function
create_context_menu
(event_x_root, event_y_root)
core/assistant.py:211
↓ 1 callers
Function
create_database
Create the database and the required table.
core/driver.py:1071
↓ 1 callers
Function
database_add_case
(database_file, app_name, goal, instructions)
core/driver.py:1089
↓ 1 callers
Function
distance_between
(p1, p2)
core/ocr.py:211
↓ 1 callers
Function
encode_image
(image_data)
core/core_imaging.py:41
↓ 1 callers
Function
enumerate_windows
()
core/last_app.py:7
↓ 1 callers
Function
enumerate_windows
()
core/topmost_window.py:7
↓ 1 callers
Function
focus_topmost_window
()
core/topmost_window.py:64
↓ 1 callers
Function
focus_window
(window_title)
core/core_imaging.py:16
↓ 1 callers
Function
get_cursor_shape
()
core/mouse_detection.py:12
↓ 1 callers
Function
get_focused_window_details
()
core/driver.py:772
↓ 1 callers
Function
get_installed_apps_registry
()
core/window_focus.py:32
↓ 1 callers
Function
get_process_name
(hwnd)
core/topmost_window.py:26
↓ 1 callers
Function
get_topmost_window
()
core/topmost_window.py:34
↓ 1 callers
Function
get_window_handle
(title)
core/last_app.py:75
↓ 1 callers
Function
get_window_handle
(title)
core/topmost_window.py:43
↓ 1 callers
Function
is_field_input_area_active
()
core/driver.py:975
↓ 1 callers
Function
last_programs_list
(focus_last_window=False)
core/last_app.py:95
↓ 1 callers
Function
process_input_and_close
(bubble, entry, action=False)
core/assistant.py:132
↓ 1 callers
Function
search_registry_for_application
(app_name)
core/window_focus.py:136
↓ 1 callers
Function
set_foreground_window_by_title
(title)
core/last_app.py:86
↓ 1 callers
Function
set_foreground_window_by_title
(title)
core/topmost_window.py:53
↓ 1 callers
Function
should_exclude_process
(name)
core/last_app.py:22
↓ 1 callers
Function
should_exclude_process
(name)
core/topmost_window.py:17
↓ 1 callers
Function
stop_assistant
()
core/assistant.py:355
↓ 1 callers
Function
update_instructions_with_action_string
(instructions, action_string, target_step)
core/driver.py:1114
↓ 1 callers
Function
walk_control
(control, indent=0, control_type=None, search_strings=None)
core/window_elements.py:4
Method
__init__
(self)
core/window_mgmt.py:4
Method
__init__
(self, text)
core/voice.py:15
Function
calculate_duration_of_speech
(text, lang='en', wpm=150)
core/assistant.py:366
Function
calculate_similarity
(input_string, match_string)
core/ocr.py:19
Function
click_best_match
(best_match)
core/ocr.py:196
Method
complete_text
(self, goal)
core/window_mgmt.py:30
Function
control_mouse
(generated_coordinates, double_click=None, goal="")
core/driver.py:952
Function
dummy_command
()
core/assistant.py:295
Function
end_drag
(event)
core/assistant.py:73
Function
enum_window_callback
(hwnd, _)
core/last_app.py:11
Function
enum_window_callback
(hwnd, _)
core/topmost_window.py:10
Function
enum_windows_proc
(hwnd, lParam)
core/window_focus.py:97
Function
find_best_match_window
(partial_title, threshold=50)
core/window_focus.py:180
Function
find_best_match_with_proximity
(input_string, within_window=False)
core/ocr.py:249
Function
find_window
(partial_title)
core/window_focus.py:112
Function
format_programs_list
()
core/last_app.py:61
Function
get_open_windows
()
core/window_focus.py:53
Method
get_window_classification
(self, title)
core/window_mgmt.py:25
Method
get_window_info
(self, window_title)
core/window_mgmt.py:35
Function
listen_and_respond
()
core/assistant.py:153
Function
listen_thread
()
core/assistant.py:401
Function
minimize_assistant
()
core/assistant.py:283
next →
1–100 of 118, ranked by callers