semvec/pypi-packages huggingface dataset:
kilovolt 0.2.0
Python client for Kilovolt servers, supports Kilovolt Protocol v9+
Requires Python: >=3.7

# Kilovolt client

Python client for Kilovolt servers, supports Kilovolt Protocol v9+

## Getting started

`pip install kilovolt` (on [PyPI](https://pypi.org/project/kilovolt/))

## Example usage

```python
import asyncio
import os
from kilovolt import KilovoltClient


async def connect():
    kv = KilovoltClient("ws://localhost:4337/ws", os.getenv("KILOVOLT_PASSWORD"))
    await kv.connect()

    # Subscribe to key
    await kv.subscribe("twitch/ev/message", lambda key, val: print(val))
    
    # List all keys that begin with "twitch"
    print(await kv.list("twitch"))

asyncio.run(connect())
```

## LICENSE

Kilovolt client is licensed under ISC, see `LICENSE` for more details.
sanic-dantic 1.2.2
A request parameter checking and parsing library
Requires Python: >=3.8

# sanic-dantic

![Travis (.com)](https://img.shields.io/travis/com/miss85246/sanic-dantic?logo=travis)
![Codecov](https://img.shields.io/codecov/c/github/miss85246/sanic-dantic?color=33CC33&logo=codecov)
[![Downloads](https://static.pepy.tech/personalized-badge/sanic-dantic?period=total&units=international_system&left_color=grey&right_color=brightgreen&left_text=Downloads)](https://pepy.tech/project/sanic-dantic)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/sanic-dantic)](https://pypi.org/project/sanic-dantic/)
[![PyPI](https://img.shields.io/pypi/v/sanic-dantic)](https://pypi.org/project/sanic-dantic/)
[![PyPI - License](https://img.shields.io/pypi/l/sanic-dantic)](https://pypi.org/project/sanic-dantic/)
[![Docs](https://img.shields.io/badge/docs-passing-brightgreen)](https://miss85246.github.io/sanic-dantic/)
> sanic-dantic is a request parameter checking and parsing library based on
> pydantic under the sanic framework

sanic-dantic is a request parameter checking and parsing library based on
pydantic under the sanic framework

It is based on pydantic, which can facilitate developers to quickly check and
obtain request parameters

## Documentation

If you want more usage, please
click [here](https://miss85246.github.io/sanic-dantic/)

## Installation

```shell
pip install sanic-dantic
```

## Why use it

Do you have to get the request parameters first every time you process them ?

```python
from sanic import Sanic
from sanic.response import json

app = Sanic("SanicDanticExample")


@app.route('/example')
async def path_param_examples(request):
    name = request.get("name")
    age = request.get("age")
    if not isinstance(name, str) or not isinstance(age, int):
        return json({"error": "parameter type error"})
    return json({"message": f"hello {name} are you {age} years old ?"})
```

How terrible, and there is no good experience for developers at all.

Therefore, sanic-dantic is to help you improve your development efficiency and
experience.

It allows you to skip the process of type checking and parameter acquisition.

## How to use

It is based on pydantic, which can facilitate developers to quickly check and
obtain request parameters

In sanic-dantic, you can pass the pydantic model to different formal parameters
in parse_params to check and parse the values of different types of request
parameters

You can get all the parsed parameters by appending the formal parameter , and
get the value of the parameter through the attribute `params`

```python
from sanic import Sanic
from sanic.response import json

from sanic_dantic import parse_params, BaseModel


class Person(BaseModel):
    name: str
    age: int


app = Sanic("SanicDanticExample")


@app.route('/example')
@parse_params(path=Person)
async def path_param_examples(request, params):
    print(params.ctx.name, params.ctx.age)
    return json(
        {"message": f"hello {params.name} are you {params.age} years old ?"})
```

Do you have a crush? Come and experience it!

more usage please read
the [documentation](https://miss85246.github.io/sanic-dantic/)
lxb-pylib 1.3.1
Shared tools in multiple projects

# LXB Pylib

## Introduction

LXB Pylib - **Lixibox Python Library** is a package of common tools.
The package contains various functions and classes for quick analysis, processing and visualization.

## Installation

You can install this package using `pip`

```sh
pip install lxb_pylib
```

Or, re-compile and setup from source:

```sh
git clone https://github.com/lixibox/lxb_pylib.git
cd lxb_pylib

# For production
python -m setup.py install

# For development
pip install -e .

# Testing
# Here we use docker and docker-compose to do unittest
cd tests/
docker-compose up -d
pytest

```


## Contribution

If you want to contribute to this package, you can push your code to our repository.

## Contributors

[1] CongVM - congvm.it@gmail.com
aws-recommendation-a1 0.0.13
Provides AWS recommendations
Requires Python: >=3.7

# aws_recommendations

aws_recommendations package gives recommendation for you aws account

Release Notes:
# v0.0.10
1. Added methods for following recommendations:
   - Low Utilization Amazon EC2 Instances
   - Underutilized Amazon Redshift Clusters
   - idle ebs volumes
   - Idle elb
   - enable s3 bucket keys
   - rds_general_purpose_ssd
   - ebs_general_purpose_ssd
   - unused_ami

# v0.0.7
1. Added methods for new recommendations
2. Added following methods:
   1. reserved_instance_lease_expiration()
   2. unassociated_elastic_ip_addresses()
   3. rds_idle_db_instances()

# v0.0.3
1. Minor bug fixes

# v0.0.2
1. Improved code quality
2. Multi region now supported

# v0.0.1 - Initial Release
uzbot 0.0.1
A simple library for creating a Telegram-bot.
Requires Python: >=3.8,<4.0

```python
from uzbot import run_bot, types

bot = run_bot(TOKEN)

@bot.message_handler(commands=["start"])
def hello(message):
    bot.send_message(message.chat.id, "Hello!!!")

bot.polling()
```