semvec/pypi-packages huggingface dataset:
hcdc 0.2.2
Detect unwanted characters in images inside the Open Telekom Cloud helpcenter
Requires Python: >=3.9

# HCDC - Helpcenter Character Detection Client

HCDC is a client to detect certain characters inside newly changed files from a PR or a different Git branch. It will analyze text files and use an OCR service to recognize characters inside new or changed images.

## Installation

```sh
pip install .
```

## Usage

```sh
hcdc --help
```

### Options

```
  -h, --help            Show this help message and exit.
  --debug               Option enables debug output.
  --processes <processes>
                        Number of processes for minification. Default: 4
  --repo-path <repo-path>
                        Path to the Git repository. Default: .
  --image-file-extensions <file-extensions> [<file-extensions> ...]
                        Image file extensions to be checked. Default: .jpg .png .jpeg .gif .webp .avif
  --text-file-extensions <file-extensions> [<file-extensions> ...]
                        Text file extensions to be checked. Default: .txt .md .rst .ini .cfg .json .xml .yml .yaml .py
  --branch <branch>     Branch to compare against the main branch. Default: main
  --main-branch <main-branch>
                        Name of the main branch. Default: main
  --ocr-url <ocr-url>   URL for the OCR Service. Default: https://ocr.eu-de.otc.t-systems.com/v2/project-id/ocr/general-text
  --regex-pattern <regex-pattern> [<regex-pattern> ...]
                        Regex pattern to check for unwanted characters. Default: (?![\u4e09\u767d\u76ee\u4e09\u8279\u53e3\u533a\u4e2a\u516b\u4e00\u4eba])[\u4e01-\u9fff]+
  --confidence <confidence>
                        Confidence threshold for image recognition. Default: 0.97
```

## Custom Regex Pattern

You can use a custom regex pattern to check for unwanted characters in the files. The default pattern excludes some Chinese characters that may cause false positives in OCR results while checking for all other Chinese characters.

## Authentication

To use this tool, ensure that you specify an `AUTH_TOKEN` to access the OCR service. For details on obtaining a token, refer to the official [T-Systems Documentation](https://docs.otc.t-systems.com/optical-character-recognition/umn/getting_started.html#step-3-using-a-token-for-authentication).
tianxiadatong-qq-robot 0.1.9
tianxiadatong_qq_robot SDK
Requires Python: >=3.8

# QQ-Robot

QQ 群机器人 SDK，支持 NapCat 协议、FastAPI 接口、OBS 云存储。

## 安装
```bash
pip install tianxiadatong-qq-robot
```

## 快速开始
```bash
import tianxiadatong_qq_robot
robot = tianxiadatong_qq_robot.qqApp()
robot.init(host="0.0.0.0", port=8099)
```

## 配置
运行目录下放置 config.json 即可。

```bash
{
  "base_url": "localhost:8081",
  "sentry_sdk_url": "http://af018d0bf71f4ab091aab4181d10a49d@10.7.115.88:9000/4",
  "OBSConfig": {
    "ENDPOINT": "xxxxxxxx",
    "ACCESS_KEY": "xxxxxxxx",
    "SECRET_KEY": "xxxxxxxx",
    "BUCKET": "xxxxx"
  }
}
```