semvec/pypi-packages huggingface dataset:
nonebot-plugin-nearcade-reporter 0.1.8
Nearcade Reporter Plugin
Requires Python: >=3.9

<div align='center'>

<a><img src='https://raw.githubusercontent.com/jiyun233/nonebot_plugin_nearcade_reporter/master/favicon.png' width='200px' height='200px' akt='nearcade'></a>

[![python3](https://img.shields.io/badge/python-3.9+-blue.svg)](https://www.python.org/)
[![License](https://img.shields.io/badge/license-apache-blue.svg)](https://opensource.org/license/apache-2-0)

<h1>Nearcade Reporter</h1>

</div>

一个接入 [Nearcade](https://nearcade.phizone.cn/) 支持 正则命名分组 与 多机厅别名配置 查询 / 更新街机厅当前人数 的 NoneBot2 插件

## 🚀 使用示例

### 查询人数：
```text
秋叶原几人
akiba几人
```

### 更新人数：
```text
机厅人数 秋叶原 12
机厅人数 ikebukuro 30
```

### 搜索机厅:
```text
查找机厅 keywrod
```

**搜索机厅只有SUPERUSERS可用**

## ⚙️ 配置方式

### 查询人数
```toml
QUERY_ATTENDANCE_MATCH='{
  "enabled": true,
  "pattern": "^(?P<arcade>\\\\S+)几人$",
  "reply_message": "{arcade} 当前人数: {count}"
}'
```

### 更新人数正则
```toml
UPDATE_ATTENDANCE_MATCH='{
  "enabled": true,
  "pattern": "^机厅人数\\\\s*(?P<arcade>\\\\S+)\\\\s*(?P<count>(?:100|[1-9]\\\\d?|0))$",
  "reply_message": "更新成功，{arcade} 当前人数: {count}"
}'
```

### 机厅配置
```toml
ARCADES='{
  "1001": {
    "arcade_source": "bemani",
    "aliases": ["秋叶原", "akiba"],
    "default_game_id": 1001
  }
}'
```
**请先使用搜索机厅获取机厅ID与机台GameID**


### ⚠️ 注意事项

正则表达式中必须给机厅别名分组命名 **arcade** 人数命名 **count**

环境变量中的 JSON 必须是合法 JSON

正则中的反斜杠需要 双重转义（例如 \\S、\\s、\\d）
py-cdhit 1.1.5
A Python interface for CD-HIT package.
Requires Python: >=3.8
Keywords: bioinformatics, sequence-analysis

# py-cdhit

[![PyPI version](https://badge.fury.io/py/py-cdhit.svg)](https://badge.fury.io/py/py-cdhit)
[![Downloads](https://static.pepy.tech/badge/py-cdhit/month)](https://pepy.tech/project/py-cdhit)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/197a0be6dcd14961b919e666a0de39eb)](https://app.codacy.com/gh/yuanx749/py-cdhit/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)

A Python package for CD-HIT, clustering protein or nucleotide sequences.

This package provides a Python interface for CD-HIT (Cluster Database at High Identity with Tolerance), which has programs for clustering biological sequences with a very fast speed. Specifically, this package contains functions that run commands and read the output files, thus reducing the overhead of switching between languages and writing parsing code when using Python in the data analysis workflows.

Read the documentation [here](https://yuanx749.github.io/py-cdhit/).

## Usage

A simple example on Linux is provided below. See the [notebook](docs/examples/examples.ipynb) for more details.

```Python
from pycdhit import cd_hit, read_clstr

res = cd_hit(
    i="./docs/examples/apd.fasta",
    o="./docs/examples/out",
    c=0.7,
    d=0,
    sc=1,
)

df_clstr = read_clstr("./docs/examples/out.clstr")
```

Please visit CD-HIT's [documentations](https://github.com/weizhongli/cdhit/wiki) for its installation and the options of commands.

## Installation

First Install CD-HIT. [Mamba](https://mamba.readthedocs.io/) is recommended. For example, to create an environment and install:

```bash
mamba create -n myenv python=3.10
mamba activate myenv
```

```bash
mamba install -c bioconda cd-hit cd-hit-auxtools
```

Then install this package from PyPI:

```bash
pip install py-cdhit
```

## Development

Install from source after git clone:

```bash
cd py-cdhit
pip install -e '.[dev]'
pip install -r docs/requirements.txt
python -m pytest --cov-report term-missing --cov=pycdhit tests/
```
semantic-diff 0.1.0
AI-powered semantic analysis of git commits
Requires Python: >=3.10

# semantic-diff

AI-powered semantic analysis of git commits. Goes beyond `git diff` to show **intent**, **impact**, **risk**, and **review questions**.

## What it does

Regular `git diff` shows *what* changed. `semantic-diff` shows:

- **🎯 Intent** — What was the developer trying to accomplish? (not what changed, but *why*)
- **🗺️ Impact Map** — What parts of the system are affected directly and indirectly?
- **⚠️ Risk Assessment** — What could break? Edge cases? Breaking changes?
- **❓ Review Questions** — What should a reviewer ask the author?

## Installation

```bash
# Clone the repo
git clone git@github.com:tkenaz/semantic_diff.git
cd semantic_diff

# Create virtual environment
python -m venv .venv
source .venv/bin/activate  # Windows: .venv\Scripts\activate

# Install
pip install -e .
```

## Configuration

Create a `.env` file:

```bash
ANTHROPIC_API_KEY=sk-ant-...
SEMANTIC_DIFF_MODEL=claude-sonnet-4-5-20250929  # or claude-opus-4-5-20251101
SEMANTIC_DIFF_MAX_RETRIES=3  # optional, API retry attempts
SEMANTIC_DIFF_MAX_WAIT=30.0  # optional, max total retry wait time in seconds
```

## Usage

```bash
# Analyze HEAD commit in current repo
semantic-diff

# Analyze specific commit
semantic-diff abc123

# Analyze commit in another repo
semantic-diff HEAD --repo /path/to/repo

# Output as JSON (for piping to other tools)
semantic-diff HEAD --json

# Verbose mode
semantic-diff HEAD -v
```

## Example Output

```
╭──────────────────── 📋 Semantic Diff Analysis ────────────────────╮
│ Fix authentication bypass in login endpoint                       │
│                                                                    │
│ abc12345 by developer@example.com                                  │
│ 2024-12-22T10:30:00                                                │
╰────────────────────────────────────────────────────────────────────╯

╭──────────────────────── 🎯 Intent ────────────────────────╮
│ Prevent unauthorized access by validating session tokens  │
│ before processing login requests.                         │
│                                                            │
│ Confidence: [████████░░] 85%                               │
╰────────────────────────────────────────────────────────────╯

╭──────────────────── ⚠️ Risk Assessment ───────────────────╮
│ Overall Risk: ⚡ HIGH                                      │
│                                                            │
│ ⚠️  BREAKING CHANGES DETECTED                              │
│                                                            │
│ Identified Risks:                                          │
│   ⚡ [high] Existing sessions may be invalidated           │
│      💡 Mitigation: Add migration for active sessions      │
╰────────────────────────────────────────────────────────────╯
```

## Development

```bash
# Install dev dependencies
pip install -e ".[dev]"

# Run tests
pytest

# Format code
black semantic_diff
ruff check semantic_diff
```

## License

MIT — Kenaz GmbH