semvec/pypi-packages huggingface dataset:
pyStorages 0.0.6
Simple data storages package
Requires Python: >=3.7

# <p align="center">pyStorages</p>

<p align="center">Simple data storages written in Python</p>

### Currently supported storage types:
- JSON
- Pickle
- Redis

## Installation

```bash
pip install pyStorages
# or
pip install git+https://github.com/Cub11k/pyStorages.git
```

For `RedisStorage` use extras:
```bash
pip install pyStorages[redis]
# or, for async version
pip install pyStorages[aioredis]
```

## Getting started

pyStorages is the simplest way to interact with different types of storages,
where data is stored and treated as a dictionary, in terms of python -  `dict`.

Storage class interface is pretty convenient and is described below:

### Set data
```
[async] def set_data(**kwargs)
```
This method allows you to update data according to key-value pairs.
Existing key-values pairs not covered by passed keys won't be affected.

**Parameters**

`kwargs` - key-value pairs, according to which, the data will be updated

**Returns** - `None`

### Delete data
```
[async] def delete_data(*keys)
```
This method allows you to delete values by keys.

**Parameters**

`keys` - list of keys, which will be deleted, if present

**Raises** `KeyError` - in case of receiving a non-existing key

**Returns** - `None`

### Reset data
```
[async] def reset_data()
```
This method allows you to delete all data.

**Returns** - `None`

### Get data
```
[async] def get_data(*keys)
```
This method allows you to get values by keys.
For nested keys use `list`.

Note: if no keys are passed, all data will be returned.
```
>>> get_data('key1', 'key2', 'key3')
(data['key1'], data['key2'], data['key3'])

>>> get_data(['key1', 'key2'])
(data['key1']['key2'],)

>>> get_data([])
(data,)

>>> get_data()
(data,)
```

**Parameters**

`keys` - list of keys, which values will be returned, if present

**Raises** `KeyError` - in case of non-existing key

**Returns** - `tuple`

## Examples

_Coming soon..._
trg-game 0.0.2
A terminal RPG
Requires Python: >=3.9

# TRG

A terminal game

## Setup

Just make a venv by running:

```sh
python -m venv venv
```

Then, install the dependencies:

```sh
pip install -r requirements.txt
```

And finally run the program by doing:

```sh
python -m trg
```

**Note**: Substitute `python` and `pip` with whatever your python and pip are called.
proof-api-client 0.2.1
API Client for the Proof DashCam
Requires Python: >=3.7

# Proof API Client

This library provides a client for the [Proof DashCam](https://proof.co.il/) Cloud API.
It is based on code found on [Proof Web Application](https://api.2proof.co.il/).
Library was created to facilitate a [Home Assistant](https://www.home-assistant.io/) integration with Proof DashCam.

Client is using asynchronous HTTP and WebSocket communication with the cloud.