semvec/pypi-packages huggingface dataset:
homeconnect-webthing 1.0.6
Homeconnect WebThing adapter
Requires Python: >=3.8

# homeconnect_webthing
A webthing adapter for HomeConnect smart home devices.

This project provides a [webthing API](https://iot.mozilla.org/wot/) for accessing [HomeConnect devices](https://api-docs.home-connect.com/).
Currently, only the ***dishwasher***, ***washing machine*** and ***dryer*** device types are supported.

The homeconnect_webthing package provides an http webthing endpoint for each detected and supported smart home device. E.g.
```
# webthing has been started on host 192.168.0.23
curl http://192.168.0.23:8744/0/properties 

{
   "device_name":"Geschirrspüler",
   "device_type":"Dishwasher",
   "device_haid":"BOSCH-SMV68TX06E-70C62F17C8E4",
   "device_brand":"Bosch",
   "device_vib":"SMV68TX06E",
   "device_enumber":"SMV68TX06E/74",
   "power":"Off",
   "door":"Open",
   "operation":"Inactive",
   "remote_start_allowed":false,
   "program_selected":"Eco50",
   "program_vario_speed_plus":false,
   "program_hygiene_plus":false,
   "program_extra_try":false,
   "program_start_date":"",
   "program_progress":0
}
```

To install this software, you can use the [PIP](https://realpython.com/what-is-pip/) package manager as shown below

**PIP approach**
```
sudo pip3 install homeconnect_webthing
```

After this installation, you can use the Webthing http endpoint in your Python code or from the command line with
```
sudo homeconnect --command listen --port 8744 --refresh_token 9yJ4LXJlZyI6IfVVIiwi...2YXRlIn0= --client_secret FEAE...522BD0 
```
Here the webthing API is bound to the local port 8744. Also, refresh_token and client_secret must be set.
Please refer to [HomeConnect Authorization](https://api-docs.home-connect.com/quickstart?#authorization) to obtain your refresh_token and client_secret

As an alternative to the *list* command, you can also use the *register* command to register and start the webthing service as a systemd entity.
This way, the webthing service is started automatically at boot time. Starting the server manually with the *listen* command is no longer necessary.
```
sudo homeconnect --command register --port 8744 --refresh_token 9yJ4LXJlZyI6IfVVIiwi...2YXRlIn0= --client_secret FEAE...522BD0
```
nonebot-plugin-dice-narrator 0.1.13
一只可爱的AI掷骰姬
Requires Python: <3.12,>=3.9

<div align="center">
  <a href="https://v2.nonebot.dev/store"><img src="https://github.com/KroMiose/nonebot_plugin_naturel_gpt/raw/main/image/README/nbp_logo.png" width="180" height="180" alt="NoneBotPluginLogo"></a>
  <br>
  <p><img src="https://github.com/KroMiose/nonebot_plugin_naturel_gpt/raw/main/image/README/NoneBotPlugin.svg" width="240" alt="NoneBotPluginText"></p>
</div>

<div align="center">
    ✨ 一只可爱的 AI 掷骰姬! ✨<br/>
    💬 技术交流/答疑/讨论 -> ：<a href="https://jq.qq.com/?_wv=1027&k=71t9iCT7">加入插件交流群-636925153</a> 🗨️ <br/>
    <a href="https://pypi.org/project/nonebot-plugin-dice-narrator">
        <img src="https://img.shields.io/pypi/v/nonebot-plugin-dice-narrator.svg" alt="pypi">
    </a>
    <img src="https://img.shields.io/badge/python-3.10+-6a9.svg" alt="python">
    <a href="https://jq.qq.com/?_wv=1027&k=71t9iCT7">
        <img src="https://img.shields.io/badge/加入交流群-636925153-c42.svg" alt="python">
    </a>
</div>

# Dice Narrator

## 已实现功能列表

- 基础检定: [Command: 检定]

如果你有好的想法，欢迎提出 issue 或者 PR。

## 安装

```bash
nb plugin install nonebot-plugin-dice-narrator
```

## 配置

插件配置文件路径: `./configs/nonebot_plugin_dice_narrator/config.dev.yaml` (启动一次服务后生成)，请根据以下配置文件修改配置。

```yaml
OPENAI_API_KEYS: # OpenAI API Key (可填多个*必须)
  - sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxx
  - sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxx
  - sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxx
OPENAI_BASE_URL: https://api.openai.com/v1 # OpenAI API Base URL
CHAT_MODEL: gpt-3.5-turbo # 使用的 Chat Model
FORBIDDEN_USERS: # 禁止交互的用户列表
  - 123456
DIFFICULTY_DICE_MAX: 20 # 检定难度最大值 (即骰子面数)
OPENAI_PROXY: null # OpenAI 使用的代理FORBIDDEN_WORDS: []
FORBIDDEN_WORDS: # 屏蔽词列表
  - xxxxxx
FILTER_WORDS: # 过滤词列表
  - xxxxxx
FILTER_PLACEHOLDER: "[数据删除]" # 过滤词替换占位符
```

## 使用

向 Bot 发送 `检定 任务描述` (需要指令前缀)，Bot 会根据其描述指定一个检定难度，并给出结果。

例如:

![alt text](docs/images/example.png)

> 注意: 你可以检定任意内容的文本，但不是所有文本都能得到良好的反馈，建议内容文本为一段可执行的任务，同时可以附上一些简要的任务背景概况；避免使用疑问句、无意义短句等意义不明的语句。

## 开发指南

如果你想为 Dice Narrator 贡献代码，可以参考以下步骤：

### 0. 提交 issue

如果你希望你的代码被合并到主分支发布，请先提交 issue 说明你的想法，避免重复劳动或功能冲突。

### 1. 克隆代码

> 建议先 fork 项目到自己的仓库，然后再克隆自己仓库的代码。

```bash
git clone https://github.com/KroMiose/nonebot_plugin_dice_narrator.git
```

### 2. 安装开发环境依赖

```bash
poetry install
```

### 3. 运行项目

```bash
nb run --reload
```

## 🤝 贡献列表

感谢以下开发者对本项目做出的贡献

<a href="https://github.com/KroMiose/nonebot_plugin_dice_narrator/graphs/contributors">
  <img src="https://contrib.rocks/image?repo=KroMiose/nonebot_plugin_dice_narrator&max=1000" />
</a>
manyhttps 2.33.13
Python MultiHTTP for Humans.
Requires Python: >=3.6

# ManyHTTPS

**ManyHTTPS** is a simple, yet elegant, HTTP library for sending multiple asyncronous requests, built on the classic requests library.

```python
>>> import manyhttps
>>> r = manyhttps.get('https://httpbin.org/basic-auth/user/pass', auth=('user', 'pass'), amount=100)
>>> r.status_code
200
>>> r.headers['content-type']
'application/json; charset=utf8'
>>> r.encoding
'utf-8'
>>> r.text
'{"authenticated": true, ...'
>>> r.json()
{'authenticated': True, ...}
```

ManyHTTPS allows you to send thousands of HTTP/1.1 requests extremely easily. There’s no need to manually add query strings to your URLs, or to form-encode your `PUT` & `POST` data — but nowadays, just use the `json` method!

[![Downloads](https://pepy.tech/badge/requests/month)](https://pepy.tech/project/requests)
[![Supported Versions](https://img.shields.io/pypi/pyversions/requests.svg)](https://pypi.org/project/requests)
[![Contributors](https://img.shields.io/github/contributors/psf/requests.svg)](https://github.com/psf/requests/graphs/contributors)

## Installing MultiHTTP and Supported Versions

MultiHTTP is available on PyPI:

```console
$ python -m pip install multihttp
```

MultiHTTP officially supports Python 3.7+.

## Supported Features & Best–Practices

MultiHTTP is ready for the demands of building robust and reliable HTTP–speaking applications, for the needs of today.

- Keep-Alive & Connection Pooling
- International Domains and URLs
- Sessions with Cookie Persistence
- Browser-style TLS/SSL Verification
- Basic & Digest Authentication
- Familiar `dict`–like Cookies
- Automatic Content Decompression and Decoding
- Multi-part File Uploads
- SOCKS Proxy Support
- Connection Timeouts
- Streaming Downloads
- Automatic honoring of `.netrc`
- Chunked HTTP Requests

## API Reference and User Guide available on [Read the Docs](https://requests.readthedocs.io)

[![Read the Docs](https://raw.githubusercontent.com/psf/requests/main/ext/ss.png)](https://requests.readthedocs.io)

## Cloning the repository

When cloning the Requests repository, you may need to add the `-c
fetch.fsck.badTimezone=ignore` flag to avoid an error about a bad commit (see
[this issue](https://github.com/psf/requests/issues/2690) for more background):

```shell
git clone -c fetch.fsck.badTimezone=ignore https://github.com/psf/requests.git
```

You can also apply this setting to your global Git config:

```shell
git config --global fetch.fsck.badTimezone ignore
```

---

[![Kenneth Reitz](https://raw.githubusercontent.com/psf/requests/main/ext/kr.png)](https://kennethreitz.org) [![Python Software Foundation](https://raw.githubusercontent.com/psf/requests/main/ext/psf.png)](https://www.python.org/psf)