semvec/pypi-packages huggingface dataset:
mcp-server-biliscribe 0.9.0
A MCP Server that extracts and formats video content into structured text, optimized for LLM processing and analysis.
License: MIT
Requires Python: >=3.11

# biliscribe

A MCP Server that extracts and formats Bilibili video content into structured text, optimized for LLM processing and analysis.

一个 MCP Server，将 B站视频转成文字，给大模型总结。

I have only completed testing on macOS. Before running this MCP Server, you need to ensure that ffmpeg can be called from your shell environment.

我只在 macOS 上完成了测试。在运行此 MCP 服务器之前，您需要确保可以从命令行环境调用 ffmpeg。

## Installation 安装

You can install the `mcp-server-biliscribe` package using `uvx`:<br/>
您可以使用 `uvx` 安装 `mcp-server-biliscribe` 包：

```bash
uvx mcp-server-biliscribe
```

## Prerequisites 前置条件

Before using this service, you need to prepare:<br/>
在使用此服务之前，您需要准备：

1. Cloudflare R2 access credentials - for storing audio data<br/>
   Cloudflare R2 访问凭据 - 用于存储音频数据

2. Replicate API Key - for whisperx calling<br/>
   Replicate API Key - 用于 whisperx 调用

## Environment Variables 环境变量

You need to set the following environment variables:<br>
您需要设置以下环境变量：

```
REPLICATE_API_TOKEN=r8_THIS_IS_REPLICATE_API_KEY
S3_API_ENDPOINT=https://this_is_s3_api_endpoint.r2.cloudflarestorage.com
BUCKET_NAME=this_is_your_bucket_name
ACCESS_KEY=THIS_IS_YOUR_S3_AK
SECRET_KEY=THIS_IS_YOUR_S3_SK
```

## Communication Protocols 通信协议

This server supports two communication protocols:<br/>
该服务器支持两种通信协议：

- Standard I/O (stdio) - default<br/>
  标准输入/输出 (stdio) - 默认

- Server-Sent Events (SSE)<br/>
  服务器发送事件 (SSE)

You can control the protocol using the environment variable `BILISCRIBE_SERVER_SSE`. Set it to `true` to enable SSE mode.<br/>
您可以使用环境变量 `BILISCRIBE_SERVER_SSE` 控制协议。将其设置为 `true` 以启用 SSE 模式。
arxivextract 0.0.4
Extraction of ArXiv articles
License: MIT
Requires Python: >=3.9
Keywords: arXiv, API, research

# ArXiv Extractor

[![CircleCI](https://circleci.com/gh/stephenhky/ArXivExtraction.svg?style=svg)](https://circleci.com/gh/stephenhky/ArXivExtraction.svg)
[![GitHub release](https://img.shields.io/github/release/stephenhky/ArXivExtraction.svg?maxAge=3600)](https://github.com/stephenhky/ArXivExtraction/releases)

[//]: # ([![Documentation Status]&#40;https://readthedocs.org/projects/ArXivExtraction/badge/?version=latest&#41;]&#40;https://ArXivExtraction.readthedocs.io/en/latest/?badge=latest&#41;)
[//]: # ([![Updates]&#40;https://pyup.io/repos/github/stephenhky/ArXivExtraction/shield.svg&#41;]&#40;https://pyup.io/repos/github/stephenhky/ArXivExtraction/&#41;)
[//]: # ([![Python 3]&#40;https://pyup.io/repos/github/stephenhky/ArXivExtraction/python-3-shield.svg&#41;]&#40;https://pyup.io/repos/github/stephenhky/ArXivExtraction/&#41;)
[![pypi](https://img.shields.io/pypi/v/ArXivExtraction.svg?maxAge=3600)](https://pypi.org/project/ArXivExtraction/)
[![download](https://img.shields.io/pypi/dm/ArXivExtraction.svg?maxAge=2592000&label=installs&color=%2327B1FF)](https://pypi.org/project/ArXivExtraction/)
pylint-fastapi-plugin 0.2.0
A Pylint plugin that enforces FastAPI router decorator and model conventions
License: MIT
Requires Python: <4.0,>=3.8
Keywords: pylint, fastapi, plugin, lint

# Pylint FastAPI Plugin

A Pylint plugin to enforce FastAPI router decorator parameters.

This plugin checks that FastAPI router decorators include required parameters:
- `response_model=BaseResponse`
- `summary`
- `operation_id`
- `description`

同时检查查询参数的命名规范和文档规范。

## Installation

```bash
pip install pylint-fastapi-plugin
```

## Usage

Add the following to your `.pylintrc`:

```ini
[MASTER]
load-plugins=pylint_fastapi_plugin

[MESSAGES CONTROL]
enable=fastapi-router-response-model,
       fastapi-router-summary,
       fastapi-router-operation-id,
       fastapi-router-description,
       fastapi-query-params-docs,
       fastapi-router-page-size-param
```

## Testing

To run the tests:

```bash
cd tests
python run_tests.py
```

You can also test the plugin on a sample FastAPI application:

```bash
cd tests
python test_on_example.py
```

查看 [TESTING.md](./TESTING.md) 获取更多关于测试策略和结果的详细信息。

## Rules

- `fastapi-router-response-model` (W9001): Router decorator missing response_model=BaseResponse
- `fastapi-router-summary` (W9002): Router decorator missing summary parameter
- `fastapi-router-operation-id` (W9003): Router decorator missing operation_id parameter
- `fastapi-query-params-docs` (W9004): Query parameter missing title or description
- `fastapi-router-description` (W9005): Router decorator missing description parameter
- `fastapi-router-page-size-param` (W9007): Query parameter should be renamed to 'page_size' with alias

## PageSize Parameter Checker

This plugin also checks and fixes the naming convention for FastAPI query parameters related to page size:

1. Parameter name should be in snake_case (`page_size` instead of `pageSize`)
2. Query decorator should include `alias="pageSize"` to maintain API compatibility
3. Query decorator should include documentation (`title` and `description`)

### Example

Incorrect:
```python
@router.get("/list")
async def list_users(pageSize: int = Query(10)):
    # ...
```

Correct:
```python
@router.get("/list")
async def list_users(page_size: int = Query(10, alias="pageSize", title="每页数量", description="每页显示的记录数")):
    # ...
```

### Configuration

Add the following to your `.pylintrc`:

```ini
[MASTER]
load-plugins=pylint_fastapi_plugin

[MESSAGES CONTROL]
enable=W9007
```

### Auto-fix

The plugin automatically applies fixes when running pylint:

```bash
python -m pylint your_file.py

```

## 示例

查看 [fixed_example_app.py](./tests/test_files/fixed_example_app.py) 获取符合所有规则的示例代码。

## 贡献

欢迎提交 Pull Request 和 Issue 来改进这个插件。

## 许可证

MIT

## Quickstart with Poetry

```bash
# 安装依赖并创建虚拟环境
poetry install

# 进入虚拟环境
poetry shell

# 本地开发模式安装到环境
poetry run pip install -e .

# 运行 pylint 验证插件生效
poetry run pylint --load-plugins=pylint_fastapi_plugin your_code_dir/
```

## 发布到 PyPI

```bash
# 构建
poetry build

# 发布（需先配置 PyPI token）
poetry publish --username __token__ --password <pypi-token>
```
optispend 0.1.0
Estimate AWS Savings Plan commitments using historical billing data
License: MIT
Requires Python: >=3.7

# OptiSpend

Estimate cloud savings plan commitments using historical billing data.

## 📦 Installation

```bash
pip install optispend
```

## 🚀 Usage

```bash
optispend --profile default --commitment 0.8
optispend --profile default --optimize
```

## 🐳 Docker

```bash
docker build -t optispend .
docker run --rm -v ~/.aws:/home/optispend/.aws:ro optispend --optimize
```

## 🛠 Usage with Makefile

### Install locally
```bash
make install
```

### Build Docker image
```bash
make build
```

### Run OptiSpend using Docker
```bash
make run
```

### Clean up build artifacts
```bash
make clean
```
pycurrencychecker 1.0.1
A simple and easy-to-use Python library for retrieving current currency exchange rates.
License: MIT
Requires Python: >=3.8
Keywords: currency, exchange rates, forex, finance

# pycurrencychecker
A simple and easy-to-use Python library for retrieving current currency exchange rates. It uses free services to provide up-to-date data and requires API keys from https://exchangerate.host/.

## Installation

You can install the library directly from PyPI using pip:

```bash
pip install pycurrencychecker
```

## Usage

Below is a basic example of how to use the library:

```python
from pycurrencychecker import CurrencyChecker

# Initialize the CurrencyChecker object
checker = CurrencyChecker(api_key="YOUR_API_KEY")

# Get the exchange rate from USD to EUR
rate = checker.get_exchange_rate("USD", "EUR")
print(f"Exchange rate from USD to EUR: {rate}")
```

## Features

- Retrieve up-to-date exchange rates for multiple currencies.
- Support for over 150 global currencies.
- Easy integration with Python projects.

## Requirements

- Python 3.7 or higher.
- A valid API key from [ExchangeRate Host](https://exchangerate.host/).

## Contributions

Contributions are welcome! If you'd like to contribute, please follow these steps:

1. Fork the repository.
2. Create a branch for your feature (`git checkout -b feature/new-feature`).
3. Make your changes and commit them (`git commit -m 'Add new feature'`).
4. Push to the branch (`git push origin feature/new-feature`).
5. Open a Pull Request.

## License

This project is licensed under the MIT License. See the `LICENSE` file for more details.

## Contact

If you have questions or suggestions, feel free to open an issue in the repository or contact me directly.