semvec/pypi-packages huggingface dataset:
every-hello-tools-zsd 1.0.0
this package is fun package,just how to use different software Language write hello world
Requires Python: >=3.6

这是个有趣的包，
输入语言，就能返回对应hello world的写法
比如：
ch=Choose()
ch.choose="c"
ch.print_data()

result:
#include<stdio.h>
    int main(void) {
        printf("Hello World!
");
        return 0;
}

ch=Choose()
ch.choose="java"
ch.print_data()

result:
public class HelloWorld {
    public static void main(String[] args) {
        System.out.println("Hello World!");
    }
}
every-hello-tools-zs 1.0.0
this package is fun package,just how to use different software Language write hello world
Requires Python: >=3.6

这是个有趣的包，
输入语言，就能返回对应hello world的写法
比如：
ch=Choose()
ch.choose="c"
ch.print_data()

result:
#include<stdio.h>
    int main(void) {
        printf("Hello World!
");
        return 0;
}

ch=Choose()
ch.choose="java"
ch.print_data()

result:
public class HelloWorld {
    public static void main(String[] args) {
        System.out.println("Hello World!");
    }
}
easy-lottery-tools-zs 1.0.0
this package can use lottery
Requires Python: >=3.6

# easy_lottery

此抽奖程序只需要配置result.csv
格式就是一行，一个人名+编号，

### 控制台版本用法如下：

1. 首先在洛谷下载排名信息的csv文件
2. 在控制台（请不要用ide运行）输入：

    ```sh
    python main_cli.py
    ```

3. 首先程序会自动读取并打印成绩信息，成绩为权重，然后等待键盘输入

命令介绍：

- `info`：输出当前成员信息；
- `del user_id`：手动删除成员；
- `roll prize num`：开始抽奖，抽`num`次，默认以0.05秒的时间间隔滚动，滚动期间按下Ctrl+C停止滚动，抽下一位。每抽出一个用户会自动从抽奖列表中剔除该用户；
- `pub`：打印获奖信息。

### 图形化版本用法如下：

使用 Python 3.10 及以上版本并安装 PyQt6 库，双击 `main_gui.pyw` 即可。
vsr53 1.1.1
Python Library to interface with Thyracont's VSR53 vacuum gauges
Requires Python: >=3.8

# [VSR53](https://github.com/lobis/vsr53)

[![PyPI version](https://badge.fury.io/py/vsr53.svg)](https://badge.fury.io/py/vsr53)

[![Build and Test](https://github.com/lobis/vsr53/actions/workflows/build.yaml/badge.svg)](https://github.com/lobis/vsr53/actions/workflows/build.yaml)

This is a Python library to communicate with
[Thyracont](https://thyracont-vacuum.com/en/)'s VSR53USB pressure gauge. It
should also work with the VSR53DL model (over RS485) but I haven't tested it as
I don't have access to one.

This library is a fork of
[this repository](https://github.com/IFAEControl/pyvsr53dl). All credits go to
the original author.

The original library was designed for the RS485 protocol and does not work out
of the box for the USB version of this sensor, however, with some minor
modifications such as allowing the user to set the baudrate and updating the
default value (to 9600 instead of 115200) it works perfectly.

## Installation

This library is [available in PyPI](https://pypi.org/project/vsr53/) and can be
installed with pip:

```bash
pip install vsr53
```

## Usage

```python
from vsr53 import VSR53USB

port = "/dev/ttyUSB0"  # replace with the device port of your gauge
with VSR53USB(port) as gauge:
    print(gauge.get_device_type())
    print(gauge.get_product_name())
    print(gauge.get_measurement_value())
```
easy-lottery-tools 1.0.0
this package can use lottery
Requires Python: >=3.6

# easy_lottery

此抽奖程序只需要配置result.csv
格式就是一行，一个人名+编号，

### 控制台版本用法如下：

1. 首先在洛谷下载排名信息的csv文件
2. 在控制台（请不要用ide运行）输入：

    ```sh
    python main_cli.py
    ```

3. 首先程序会自动读取并打印成绩信息，成绩为权重，然后等待键盘输入

命令介绍：

- `info`：输出当前成员信息；
- `del user_id`：手动删除成员；
- `roll prize num`：开始抽奖，抽`num`次，默认以0.05秒的时间间隔滚动，滚动期间按下Ctrl+C停止滚动，抽下一位。每抽出一个用户会自动从抽奖列表中剔除该用户；
- `pub`：打印获奖信息。

### 图形化版本用法如下：

使用 Python 3.10 及以上版本并安装 PyQt6 库，双击 `main_gui.pyw` 即可。
PyAwsHelper 0.0.10
Python AWS Helper Library
Requires Python: >=3.6

# PyAwsHelper
Python AWS Helper Library


## AWS Region Helper
### Get Boto3 Client and Resource with refreshable session
```python
from PyAwsHelper.boto_helper import BotoHelper

helper = BotoHelper()

# Both client is sharing common refreshable session
s3_client = helper.get_client(service_name="s3", region_name="us-east-1", role_arn="arn:aws:iam::123:role/my_db_role")

db_client = helper.get_client(service_name="dynamodb", region_name="us-east-1", role_arn="arn:aws:iam::123:role/my_db_role")
```

### Use Raw Refreshable session to implement your need
```python
# can use BotoHelper to get session
from PyAwsHelper.boto_helper import BotoHelper
helper = BotoHelper()
s3_client = helper.get_session(region_name="us-east-1", role_arn="arn:aws:iam::123:role/my_db_role")

# or can directly access raw BotoSession module
from PyAwsHelper.boto_session import BotoSession
session = BotoSession().refreshable_session()
client = session.client("s3") # we now can cache this client object without worrying about expiring credentials
```

### Get AWS region from region suffix

```python
from PyAwsHelper.region import Region

aws_region = Region.get_region("va")

>>> aws_region
'us-east-1'
```

Also supports providing default value
```python
from PyAwsHelper.region import Region

aws_region = Region.get_region("foo", default_region="bar")

>>> aws_region
'bar'
```

### Get region suffix from AWS region
```python
from PyAwsHelper.region import Region

aws_region = Region.get_region_suffix("us-east-1")

>>> aws_region
'va'
```

Also supports providing default value
```python
from PyAwsHelper.region import Region

aws_region = Region.get_region_suffix("foo", default_region_suffix="bar")

>>> aws_region
'bar'
```

### Regions Config
```python
{
    "hk": "ap-east-1",  # Hong Kong
    "tk": "ap-northeast-1",  # Tokyo
    "se": "ap-northeast-2",  # Seoul
    "os": "ap-northeast-3",  # Osaka-Local
    "mu": "ap-south-1",  # Mumbai
    "sg": "ap-southeast-1",  # Singapore
    "sy": "ap-southeast-2",  # Sydney
    "au": "ap-southeast-2",  # Sydney
    "ce": "ca-central-1",  # Central
    "be": "cn-north-1",  # Beijing
    "ni": "cn-northwest-1",  # Ningxia
    "fr": "eu-central-1",  # Frankfurt
    "st": "eu-north-1",  # Stockholm
    "ir": "eu-west-1",  # Ireland
    "lo": "eu-west-2",  # London
    "pa": "eu-west-3",  # Paris
    "ba": "me-south-1",  # Bahrain
    "sp": "sa-east-1",  # São Paulo
    "va": "us-east-1",  # N. Virginia
    "va-gov": "us-gov-east-1",
    "oh": "us-east-2",  # Ohio
    "ca": "us-west-1",  # N. California
    "nc": "us-west-1",  # N. California
    "ca-gov": "us-gov-west-1",
    "nc-gov": "us-gov-west-1",
    "or": "us-west-2",  # Oregon
}
```