semvec/pypi-packages huggingface dataset:
fico21softlibs-win 0.9.83
This is a fico21soft's common libraries
Requires Python: >=3
Keywords: common,library,fico21soft

## 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)
```
queick 1.2.1
A lightweight job-queue management system

# Queick
A simple inmemory job-queue manager for Python.

![capture](/capture.gif)

## Feature
* Written in Python only standard libraries
* Job-queue manager **without redis**
* Working for low-spec machines
* Retry
* **Retry on network available**
* Scheduling

## Installation
Python version >= 3.6 is required.

```
pip install queick
```

## Usage
First, launch queick worker.

```
$ queick
```

Second, prepare a job file (jobfunc.py) and an application (test.py).

```python
# jobfunc.py
import time
def function(arg):
    time.sleep(1)
    print(arg)

# test.py
from queick import JobQueue
from jobfunc import function
from time import time

q = JobQueue()
q.enqueue(function, args=("hello",))
q.enqueue_at(time() + 5, function, args=("world",)) # Run after 5 seconds

st = SchedulingTime()
st.every(minutes=1).starting_from(time.time() + 10)
q.cron(st, function, args=(1, 2,)) # Run after 10 seconds and every 1 minute
```

Third, run the application.

```
$ python test.py
```

## Retry on network available
Jobs inside the **failed queue** will be dequeued when the network status changes from disconnected to connected.

Some setups are needed to use the retry mode. First, launch queick worker with --ping-host options (details below).

```
$ queick --ping-host asmsuechan.com # Please prepare your own ping server, do not use this.
```

Second, pass an option to the method.

```python
q.enqueue(function, args=("hello",), retry_on_network_available=True)
```

## Options
There are some options for queick worker.

|name|default|description|
|:-|-:|-:|
|-debug|False|if set, detailed logs will be shown|
|--ping-host <HOST>|None|hostname for NetworkWatcher to check if the machine has the internet connection|
|--ping-port <PORT>|80|port number for NetworkWatcher|
|--log-filepath <filepath>|None|logfile to save all the worker log|

An example usage is below:

```
$ queick -debug --ping-host asmsuechan.com
```

## Testing
Unit test:

```
$ python -m unittest
```

Integration test:

```
$ docker build -t queick-test .
$ docker run --rm -it queick-test:latest
```

## Development
Build queick for development.

```
$ python setup.py develop
```

## Deployment
Deployed at https://pypi.org/project/queick/.

```
$ python setup.py sdist
$ twine upload dist/*
```
fico21softlib-win 0.9.83
This is a fico21soft's common libraries
Requires Python: >=3
Keywords: common,library,fico21soft

## 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)
```
fico21softlibs 0.9.83
This is a fico21soft's common libraries
Requires Python: >=3
Keywords: common,library,fico21soft

## 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)
```