semvec/pypi-packages huggingface dataset:
thaiqrpayment 0.1.0
Thai QR Payment Generator
License: MIT
Requires Python: >=3.6
Keywords: Thai QR Payment Generator

# thai-qr-payment
Generate QR Code image in the format of `Thai QR Payment`

- [KBANK](https://apiportal.kasikornbank.com/product/public/LandingPage/QR%20Payment/Introduction/3)


## Installation

available on pip https://pypi.org/project/thaiqrpayment/

```bash
pip install thaiqrpayment
```

## Usage

```python
import thaiqrpayment

# Your code from Bank
code = "01" * 100

# Save to image file
thaiqrpayment.save(code, "/tmp/qr.png")

# base64 format
base64_str = thaiqrpayment.to_base64(code)

# PIL image
pil_image = thaiqrpayment.generate(code)

```

## Example Image

![Thai QR Payment example](https://github.com/kittinan/thai-qr-payment/raw/main/assets/example.png?raw=true)
python-nacos 0.1.1
Python3 client for Nacos.
License: MIT
Requires Python: >=3.6
Keywords: nacos,python-nacos,pynacos,pynacos-sdk

# python-nacos
### 声明
> 参考nacos-sdk-python项目改造
>
> https://github.com/nacos-group/nacos-sdk-python

### Usage
```python
from nacos import NacosUsage

SERVER_ADDRESSES = "127.0.0.1:8848"
NAMESPACE = "44b27ac4-60c1-43e7-8ac3-ed34108ca1aa"

params = {
    "servers": SERVER_ADDRESSES,
    "namespace": NAMESPACE,
    "service_name": "test.service",
    # "ip": "127.0.0.1",
    "port": 8080,
    "cluster_name": "testCluster",
    "weight": 1.0,
    "metadata": {},
    "enable": True,
    "healthy": True,
    "ephemeral": True,
}

usage = NacosUsage(debug=False, daemon=False, **params)

# 获取配置
conf = usage.get_config(data_id="test")
print("config: {}".format(conf))

# 注册实例
usage.register_instance()
```
autograders-cli-test 1.0.9
Autograders Command Line Interface
License: MIT
Requires Python: >=3.6

<img src="https://raw.githubusercontent.com/Autograders/logo/master/logo/full.png" width="145px" align="right" />

# Autograders CLI

[![License](https://img.shields.io/github/license/autograders/auth)](https://github.com/Autograders/auth/blob/master/LICENSE)
nooploop-uwb 0.0.1
Nooploop LinkTrack UWB Products Python API.
License: MIT
Requires Python: >=3.6

# **Nooploop LinkTrack UWB**

## **Overview**
Unofficial Nooploop LinkTrack UWB Devices Python API. It parses Nooploop LinkTrack UWB Protocols.
    
* Nooploop Homepage: [https://www.nooploop.com/](https://www.nooploop.com/)

## Supported Devices
| Product | Supported? | Protocols |
| :-----: | :--------: | :-------: |
| LinkTrack |  **NO**  |     -     |
| LinkTrack AOA | **Partial** | NLink_LinkTrack_AOA_Node_Frame0 |

## Installation

### System

**Ubuntu20.04** (Ubuntu18.04, Windows Should also work fine.)

### Prerequisites (If you want to build from source)

* Setuptools,
* Wheel
    
Install with one line.
    
```bash
(your terminal)$: pip install --upgrade pip setuptools wheel
```


### Dependencies

pyserial >= 3.5 (Tested with 3.5. Lower version should works fine.)

### Install
* **Build From Source**

1. Download Source Code.
2. Change directory to source code root.
3. Running Command in your terminal
```bash
$: python setup.py sdist bdist_wheel
```
4. Change directory to `(source code root)/dist`. Run
```bash
(source code root)$: pip install ./Nooploop_UWB-0.0.1-py3-none-any.whl
```
5. You are all set.

* **Install From Release**

1. Download `Nooploop_UWB-0.0.1-py3-none-any.whl`
2. Change directory to `(Your downloads directory)`. Run
```bash
(Your downloads directory)$: pip install ./Nooploop_UWB-0.0.1-py3-none-any.whl
```
3. You are all set.

## Run Example

1. Change directory to `(source code root)/examples`. Run
```bash
(source code root)$:python example.py
```

2. Outputs:

```JSON
{
    "role": 2,
    "id": 0,
    "voltage": 4.364,
    "node_quantity": 1,
    "nodes": {
        "0": {
            "role": 1,
            "id": 0,
            "distance": 1.327,
            "angle": 57.66,
            "fp_rssi": -84.5,
            "rx_rssi": -80.0
        }
    }
}
```


## Usage

```python
from nooploop_uwb import aoa

if __name__ == '__main__':
    # Create AOA Instance with `config.json`
    UWB_AOA = aoa.AOA('config.json')

    # or create instance by passing port, baudrate parameters.
    # UWB_AOA = aoa.AOA(port='/dev/ttyUSB1', baudrate=9216000)

    try:
        while True:
            # __str__ method.
            print(UWB_AOA)

            # Get data in JSON format.
            json_data = UWB_AOA.get_data_json()

            # Get data in dictionary format.
            dic_data = UWB_AOA.get_data()

    except KeyboardInterrupt:
        print("Press Ctrl-C to terminate while statement")
        UWB_AOA.terminate()
```

```JSON
# config.json
{
    "port": "/dev/ttyUSB1",
    "baudrate": 921600  
}
```

## License
This project is licensed under the MIT License. Copyright 2021 ***JaySurplus***