Module my_autopylot.utility39

Functions

def GetClipboardFormats()
def add_datetime(input_date, time_type='days', value=0)
def api_request(url: str, method='GET', body: dict = None, headers: dict = None)

Description

Function used to send generic api request

Args : url (str): url of the api method (str): method of the api request data (dict): data to be sent in the request headers (dict): headers to be sent in the request

Returns : Status (bool) - True if success, False if failure

def clear_output()

Description

Clears Python Interpreter Terminal Window Screen

Returns

Status (bool) - True if success, False if failure

def clipboard_get_data(format_id=13)

Description

Get data from clipboard

Returns

Status (bool) - True if success, False if failure

def clipboard_set_data(data, format_id=13)

Description

Set data to clipboard

Args

data
data to be set to clipboard
format_id
format of data

Returns

Status (bool) - True if success, False if failure

def date_time_now()
def image_to_text(image_path)
def install_module(module_name)
def pause_program(seconds='5')

Description

Stops the program for given seconds

Args

seconds : str
seconds to be paused

Returns

Status (bool) - True if success, False if failure

def subtract_datetime(input_date, time_type='days', value=0)
def uninstall_module(module_name)