semvec/pypi-packages huggingface dataset:
LogoRestClient 0.0.6
Logo Rest Client Python package
Requires Python: >=3.6

# LogoRestClient PyPackage

Logo is the most popular Erp desktop application at Turkey. LogoRestClient is a Python library to access logo rest services quickly.

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install foobar.

```bash
pip install LogoRestClient
```

## Usage

```python
from logorestclient import LogoService

credentials = {
    'GRANT_TYPE': 'grant type',
    'USER_NAME': 'username',
    'CLIENT_NUMBER': 'client number',
    'PASSWORD': 'password',
    'REST_URL': 'rest url',
}
logo_service = LogoService(credentials)
# returns 'query result'
result = logo_service.runQuery('sql_query')

```

## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

## License

[MIT](https://choosealicense.com/licenses/mit/)
cancelable 0.0.4
A package that allows to cancel, certain functions that can be a pain, when working with threading.
Keywords: python,threading,sleep,cancelable,input

# Installation
```
pip install cancelable
```

# Usage
Without the normal time package:
## Sleep
```python
from cancelable import time
import threading

def count():
  i = 1
  while True:
    time.sleep(1)
    print(i)
    i += 1

threading._start_new_thread(count, ())

input("Click enter to cancel counting\n")

time.cancel()
```
With the normal time package:
```python
from cancelable import time as cancelableTime
import threading

def count():
  i = 1
  while True:
    cancelableTime.sleep(1)
    print(i)
    i += 1

threading._start_new_thread(count, ())

input("Click enter to cancel counting\n")

cancelableTime.cancel()
```

## Input
```python
from cancelable import time, input, cancelInput
import threading

name = ""
def ask():
  global name
  name = input("Your name: ")
  time.cancel()

threading._start_new_thread(ask, ())

time.sleep(5)
cancelInput()

print(name)
```

# To do
Add more functions such as input()