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_by_class_name(wd, timeout=10, class_name='') wd_wait_by_id(wd, timeout=10, 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
File details
Details for the file fico21softlibswin-0.9.86-py3-none-any.whl
.
File metadata
- Download URL: fico21softlibswin-0.9.86-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cc74e845cf7d89f1603df73ecc00ba312585f287bf6bef0d56929158694c319 |
|
MD5 | 2862f4b2b9c43b73d0a83bc89df0be96 |
|
BLAKE2b-256 | 61494fafa61092834924151b3868e42b2a437e81a31736b0c27175eb8a106bd5 |