semvec/pypi-packages huggingface dataset:
py-easy-rest-redis-cache 0.1.3
Redis cache to use with Py Easy REST
Requires Python: >=3.8

![Lint](https://github.com/JeanPinzon/py-easy-rest-redis-cache/actions/workflows/python-lint.yml/badge.svg)
![Build and Test](https://github.com/JeanPinzon/py-easy-rest-redis-cache/actions/workflows/python-test.yml/badge.svg)
![Upload Package](https://github.com/JeanPinzon/py-easy-rest-redis-cache/actions/workflows/python-publish.yml/badge.svg)
[![PyPI version](https://badge.fury.io/py/py-easy-rest-redis-cache.svg)](https://badge.fury.io/py/py-easy-rest-redis-cache)

# py-easy-rest-redis-cache

Cache lib to use with [py-easy-rest](https://github.com/JeanPinzon/py-easy-rest)


## Getting Started

### How to install

`pip install py-easy-rest py-easy-rest-redis-cache`


### Integrating with your [py-easy-rest](https://github.com/JeanPinzon/py-easy-rest) app


```python
#main.py
from py_easy_rest import PYRSanicAppBuilder
from py_easy_rest.service import PYRService
from py_easy_rest_redis_cache import PYRRedisCache


config = {
    "name": "Project Name",
    "schemas": [{
        "name": "Mock",
        "slug": "mock",
        "properties": {
            "name": {"type": "string"},
            "age": {"type": "integer"},
        },
        "required": ["name"],
    }]
}

cache = PYRRedisCache("redis://localhost")

service = PYRService(api_config_mock, cache=cache)
sanic_app = PYRSanicAppBuilder.build(api_config_mock, service)

sanic_app.run(
    host='0.0.0.0',
    port=8000,
    debug=True,
)

```
py-easy-rest-memory-cache 0.1.2
Memory cache to use with Py Easy REST
Requires Python: >=3.8

![Lint](https://github.com/JeanPinzon/py-easy-rest-memory-cache/actions/workflows/python-lint.yml/badge.svg)
![Build and Test](https://github.com/JeanPinzon/py-easy-rest-memory-cache/actions/workflows/python-test.yml/badge.svg)
![Upload Package](https://github.com/JeanPinzon/py-easy-rest-memory-cache/actions/workflows/python-publish.yml/badge.svg)
[![PyPI version](https://badge.fury.io/py/py-easy-rest-memory-cache.svg)](https://badge.fury.io/py/py-easy-rest-memory-cache)

# py-easy-rest-memory-cache

Cache lib to use with [py-easy-rest](https://github.com/JeanPinzon/py-easy-rest)


## Getting Started

### How to install

`pip install py-easy-rest py-easy-rest-memory-cache`


### Integrating with your [py-easy-rest](https://github.com/JeanPinzon/py-easy-rest) app

```python
#main.py

from py_easy_rest import PYRSanicAppBuilder
from py_easy_rest.service import PYRService
from py-easy-rest-memory-cache import PYRMemoryCache


config = {
    "name": "Project Name",
    "schemas": [{
        "name": "Mock",
        "slug": "mock",
        "properties": {
            "name": {"type": "string"},
            "age": {"type": "integer"},
        },
        "required": ["name"],
    }]
}

cache = PYRMemoryCache()

service = PYRService(api_config_mock, cache=cache)
sanic_app = PYRSanicAppBuilder.build(api_config_mock, service)

sanic_app.run(
    host='0.0.0.0',
    port=8000,
    debug=True,
)
```
pyautorestart 0.1.1
This is a nodemon clone but for Python.
Requires Python: >=3.5
Keywords: nodemon,development

# PyAutoRestart

This is a nodemon clone but for Python.  
The main.py file performs actions if a file has been updated.  
The file_update.py has a class called Watcher with functions to watch
for file updates.  
I will soon publish this to PyPI.

## How to use:

To use this with a file, you need to run:

```
python main.py file_to_watch.py
```

If you don't provide a file, it will print this message:

```
Please enter a file name that you want to run with PyAutoRestart.
Usage: python main.py <file_name>
Example: python main.py test.py
```

Otherwise, if you pass a file that doesn't exist, it will give you this error:

```
Please enter a valid file name you want to run with PyAutoRestart.
```

If there is any other project that resembles this or is similar to this, it is a pure coincidence.
taskframe 0.1.13
Taskframe Python client
Requires Python: >=3.6

# Taskframe

This is the python library of Taskframe.ai, The annotation platform for data-scientists.

Taskframe.ai is currently in private beta, please contact us to request an invite.

## Useful links

* [Getting Started: Tutorial Notebook](docs/Getting%20Started%20Tutorial.ipynb)
* [Documentation](https://github.com/Taskframe/taskframe-python/wiki)
pyrerun 0.1.1
This is a nodemon clone but for Python.
Requires Python: >=3.5
Keywords: nodemon,development

# PyReRun

This is a nodemon clone but for Python.  
The main.py file performs actions if a file has been updated.  
The file_update.py has a class called Watcher with functions to watch
for file updates.  
I will soon publish this to PyPI.

## How to use:

To use this with a file, you need to run:

```
python main.py file_to_watch.py
```

If you don't provide a file, it will print this message:

```
Please enter a file name that you want to run with PyAutoRestart.
Usage: python main.py <file_name>
Example: python main.py test.py
```

Otherwise, if you pass a file that doesn't exist, it will give you this error:

```
Please enter a valid file name you want to run with PyAutoRestart.
```

If there is any other project that resembles this or is similar to this, it is a pure coincidence.
elasticsearch-logging-handler 1.0.1
Minimalistic Elasticsearch logging handler
Requires Python: >=3.7

# elasticsearch-logging-handler

This is a minimalistic Elasticsearch logging handler for python. This handler uses only url as an authentication method. For more robust authentication consider [CMRESHandler](https://github.com/cmanaha/python-elasticsearch-logger).

Package on PyPI - https://pypi.org/project/elasticsearch-logging-handler/

Parameters for **ElasticHandler**:
| Name | Type | Required | Default | Description | Example | 
| --- | --- | --- | --- | --- | --- |
| host | str | True | - | Url for Elasticsearch cluster. Currently, this handler support only basic authentication through providing user and password in the url. | https://user:password@my-cluster.es:9200, https://my-cluster.es:9200 |
| index | str | True | - | Name of the Index to write in. | preprocessing-logs |
| level | int | False | 0 (NOTSET) | Minimal logging level for the handler. Handler will only process messages with level larger than this parameter. | 20, logging.WARNING |
| batch_size | int | False | 1000 | Size of the buffer that stores logs before sending to Elasticsearch. If buffer is full, send batch immediately, without waiting for the **flush_period** | 2000 - send batches of maximum size 2000 |
| flush_period | float | False | 1.0 | Period during which handler will accumulate logs into batch before sending it ot the cluster. | 10.0 - wait 10 seconds before sending |
| timezone | str | False | None | Timezone for which to transform @timestamp for the record. | 'Europe/Amsterdam', 'Australia/Sydney' |

**ElasticHandler** is nonblocking, meaning any logging call e.g. **logging.exception** will not block calling thread. which is useful in the case of high logging load.