Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

fico21softlibs-0.9.83-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file fico21softlibs-0.9.83-py3-none-any.whl.

File metadata

  • Download URL: fico21softlibs-0.9.83-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.7

File hashes

Hashes for fico21softlibs-0.9.83-py3-none-any.whl
Algorithm Hash digest
SHA256 55a6f74de0a6248497e3e77a7e08955399b14a7dea51857472c1060dfa9389f0
MD5 3af4f30d58161a6f53c598850e2bf81b
BLAKE2b-256 d54cd73f56d9d695df8bb30625faf9fc656a4dc08e77c7a55b38de16fdb46ae1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page