This is a fico21soft's common libraries
Project description
## This is a fico21soft’s common libraries…
#### install
` pip install fico21softlibs `
#### import
` from fico21softlibs.common import CommonLib as com `
#### Static methods
` restart() `
` is_internet_connected() `
` create_logger(logger_name, logger_level=logging.ERROR, filename="log") `
` open_url(url) `
` merge_list(list1, list2) `
` os() `
` db_connect(server, database, username, password) `
` get_contacts(filename) `
` read_template(filename) `
` smtp_login(host, port, user_name, pwd) `
` have_punctuation(str) `
` punctuation_pos(str) `
` remove_punctuation(src_str) `
` get_webdriver() `
` wd_wait(wd, timeout=10, presence_id='') `
` send_keys(keys) `
` wd_send_keys(wd, keys) `
` get_clipboard_data() `
` set_clipboard_data(data) `
` paste_data(data) `
` close_popup(wd) `
` switch_to_popup(wd) `
` create_new_tab(chromewebdriver, url) `
` close_new_tab(wd) `
` alert_close(ie) `
` press_tab(wd, cnt) `
` press_enter(wd, cnt) `
` expand_shadow_element(wd, element) `
` arrow_down(elem) `
` click_image(ga, image, must=True, x_opset=0, y_optset=0, button='left', double_click=False) `
#### Windows only
` input_keys(data) `
` paste_data(data) `
` scroll(clicks=0, delta_x=0, delta_y=0, delay_between_ticks=0) `
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for fico21softlibswin-0.9.85-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ebd807646fdb5188f8da04edc59c454cf8b4b37f8b83c9b3d6c1cb38e24df4d |
|
MD5 | f60518f98275917eeb678b4e9ba61305 |
|
BLAKE2b-256 | b4ba669db7c028b754afc5fd451ca87eeb469225726d3736bf40704a2ec1f2fe |