semvec/pypi-packages huggingface dataset:
musicpackbuilder 2.0.0
Create Minecraft music disc resource packs from audio files.
Requires Python: >=3.9



# MusicPackBuilder — Command Line Usage Guide

MusicPackBuilder converts your audio files into a Minecraft resource pack containing custom music discs. You can run it by double‑clicking the executable or by using command‑line arguments for more control.

This guide explains all available arguments and how to use them.

---

## Basic Usage

If you double‑click the executable, MusicPackBuilder will:

- Open a folder picker so you can choose your audio directory  
- Export processed `.ogg` files into a folder named `Export Files`  
- Build a ready‑to‑use Minecraft resource pack ZIP  

No command‑line knowledge is required.

---

## Command Line Usage

If you prefer using the terminal, you can pass arguments to control how the tool behaves.

```
musicpackbuilder [OPTIONS]
```

---

## `--audio-dir`

Specifies the folder containing your source audio files.

Example:

```
musicpackbuilder --audio-dir "My Songs"
```

If not provided:

- A folder picker will appear  
- If cancelled, the tool defaults to `Audio Files`

---

## `--export-dir`

Specifies where the processed `.ogg` files should be saved.

Example:

```
musicpackbuilder --export-dir "Converted"
```

If not provided, the default is:

```
Export Files
```

---

## `--auto-truncate`

Automatically shortens songs that exceed Minecraft’s disc time limits.

Example:

```
musicpackbuilder --auto-truncate
```

This option removes all prompts related to long songs.

---

## `--skip-long-songs`

Automatically skips songs that exceed the time limit instead of asking.

Example:

```
musicpackbuilder --skip-long-songs
```

---

## Examples

### Fully automatic run

```
musicpackbuilder --audio-dir "My Songs" --auto-truncate
```

### Skip long songs instead of cutting them

```
musicpackbuilder --audio-dir "My Songs" --skip-long-songs
```

### Custom export folder

```
musicpackbuilder --audio-dir "My Songs" --export-dir "OGG Output"
```

### Interactive mode (no arguments)

```
musicpackbuilder
```

---

## Output

After processing, the tool produces:

- A ZIP file containing the complete resource pack  
- No leftover JSON files in the working directory  

The ZIP can be placed directly into your Minecraft `resourcepacks` folder.
visionsdk 0.0.1
VisionSDK Python SDK
Requires Python: >=3.11
Keywords: ml, webrtc, audio, video, ai, visionsdk

# VisionSDK Python SDK

## Overview

The VisionSDK Python SDK provides a convenient way to interact with the VisionSDK API. It allows you to integrate video functionalities, including video calling, recording, and streaming, into your Python applications easily.

## Features

- **Video Calling**: Start, join, and manage video calls.
- **Recording**: Record video calls.
- **Live Streaming**: Stream your video calls to platforms like YouTube, Facebook, etc.
- **Chat**: Send and receive messages during a video call.

## Installation

To install the SDK, use pip:

```bash
pip install visionsdk
```

## Documentation

For detailed documentation, visit the [VisionSDK Documentation](https://docs.neurarank.tech).

## Support

If you need help or have any questions, please feel free to reach out to our support team at [support@neurarank.tech](mailto:support@neurarank.tech) or join our community forum.
markd2pdf 0.1.1
Convert Markdown files to beautifully styled PDFs
Requires Python: >=3.12
Keywords: cli, converter, documentation, markdown, pdf

# markd2pdf

A command-line tool to convert Markdown files to PDF with customizable themes.

[![Python 3.12+](https://img.shields.io/badge/python-3.12+-blue.svg)](https://www.python.org/downloads/)
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)

## Features

- Convert single files or entire directories recursively
- 5 built-in themes (github_dark, dracula, nord, minimal_light, professional_dark)
- Syntax highlighting for code blocks
- Support for tables, footnotes, admonitions, and table of contents
- Parallel processing for batch conversions

## Installation

### Prerequisites

WeasyPrint requires system dependencies:

```bash
# Arch / Manjaro
sudo pacman -S pango gdk-pixbuf2

# Debian / Ubuntu
sudo apt install libpango-1.0-0 libgdk-pixbuf-2.0-0

# macOS
brew install pango gdk-pixbuf
```

### Install from PyPI

```bash
pip install markd2pdf
```

### Install from source

```bash
git clone https://github.com/ramcharan/markd2pdf.git
cd markd2pdf
pip install -e .
```

## Usage

### Convert a single file

```bash
markd2pdf convert document.md ./output
```

### Convert a directory

```bash
markd2pdf convert ./docs ./output
```

### Specify a theme

```bash
markd2pdf convert document.md ./output --theme dracula
```

### List available themes

```bash
markd2pdf themes
```

## Themes

| Theme | Description |
|-------|-------------|
| `github_dark` | GitHub-style dark theme (default) |
| `dracula` | Dracula color scheme |
| `nord` | Nord color palette |
| `minimal_light` | Light theme for printing |
| `professional_dark` | Dark theme with blue accents |

## Custom Themes

Themes are CSS files located in the `styles/` directory. To create a custom theme:

1. Copy an existing theme file
2. Modify the CSS
3. Register the theme in `cli.py` by adding it to the `Theme` enum

## Supported Markdown Extensions

- Tables
- Fenced code blocks with syntax highlighting
- Table of contents (`[TOC]`)
- Admonitions
- Footnotes
- Definition lists
- Abbreviations

## Development

```bash
git clone https://github.com/ramcharan/markd2pdf.git
cd markd2pdf
uv sync --group dev

# Run linters
uv run black src/
uv run mypy src/
```

## License

MIT License. See [LICENSE](LICENSE) for details.
text-utils-aditi 0.1.0
A basic text utilities package
Requires Python: >=3.6

#text-utils

A simple python package for basic text utilities

##installation

pip install text_utils


#3 usage

from text_utils import clean_text,word_count

text = " Hello   welcome   to   the world    of anlytics"


print(clean_text(text))#\x00 \x00t\x00e\x00x\x00t\x00_\x00u\x00t\x00i\x00l\x00s\x00
\x00
\x00#\x00 \x00t\x00e\x00x\x00t\x00_\x00u\x00t\x00i\x00l\x00s\x00_\x00p\x00r\x00a\x00c\x00h\x00i\x00
\x00
\x00#\x00 \x00t\x00e\x00x\x00t\x00_\x00u\x00t\x00i\x00l\x00s\x00_\x00a\x00d\x00i\x00t\x00i\x00
\x00
\x00# text_utils_aditi
iflow-mcp_niutrans_mcp-translation-text 1.0.7
MCP provider wrapping the Niutrans translation API
Requires Python: >=3.10
Keywords: mcp, translation, niutrans, ai

# MCP 翻译服务

基于小牛翻译（NiuTrans）API 的 MCP Provider，提供文字翻译工具和语种目录资源，方便在 Cursor/mcp-cli 等客户端中引用。

## 快速开始

### 使用 uv 安装并启动发布版

```bash
uv tool install mcp-translation-text
```

## 环境变量

- `NIUTRANS_API_KEY`（必填）：小牛翻译开放平台提供的 API Key,可免费使用, 请登录后获取:https://niutrans.com/cloud/account_info/info

## 计费说明

本服务使用小牛翻译的文本翻译 API，计费规则如下：

| 项目 | 说明 |
|------|------|
| 计费单位 | 2000 字符 = 1 积分 |
| 免费额度 | 每天免费赠送 **100 积分** |
| 每日可翻译 | 约 **20 万字符**（免费额度） |

> 💡 **提示**：每日免费赠送的 100 积分足够日常使用，超出部分可在[小牛翻译开放平台](https://niutrans.com/price)充值购买。

## MCP 客户端配置示例

若通过 `uv tool install` 安装，可在 `mcp.json` 中写：

```json
{
  "mcpServers": {
    "translation": {
      "type": "stdio",
      "command": "uv",
      "args": [
        "tool",
        "run",
        "mcp-translation-text"
      ],
      "env": {
        "NIUTRANS_API_KEY": "${env.NIUTRANS_API_KEY}"
      }
    }
  }
}
```

启动 Cursor 后执行 `ListTools` 即可看到 `translate_text`，同时支持 `ListResources` 读取 `language://catalog`。

## 可用功能

### 工具：`translate_text`

- **参数**：
  - `text`：待翻译内容。
  - `source`：源语言代码或别名（会通过本地映射表规范化）。
  - `target`：目标语言代码或别名。
- **返回**：
  ```json
  {
    "source": "zh",
    "target": "en",
    "original_text": "你好",
    "translated_text": "Hello",
    "raw": { ... 小牛原始响应 ... }
  }
  ```

### 资源：`language://catalog`

提供所有可用语种及别名，示例如下：

```json
{
  "total": 455,
  "languages": [
    {"code": "zh", "zh": "中文(简体)", "en": "Chinese (Simplified)"},
    {"code": "en", "zh": "英语", "en": "English"}
    // ... 其余省略 ...
  ],
  "aliases": {
    "zhongwenjianti": "zh",
    "english": "en"
    // ... 其余省略 ...
  }
}
```

推荐在客户端的 LLM 中先读取该资源，完成语种描述到代码的映射后，再调用 `translate_text`。

## 调试与常见问题

- **缺少 API Key**：启动时报 `缺少环境变量 NIUTRANS_API_KEY`，请确认已在 `.env` 或系统环境中设置。
- **语种不支持**：`translate_text` 会校验语种代码/别名，若报错请检查是否使用了 `language://catalog` 中列出的值。
- **路径或依赖问题**：脚本依赖 `uv`，请先安装 `pip install uv` 或参考 [uv 文档](https://github.com/astral-sh/uv)。
- **命令名称**：通过 PyPI 安装后，可直接运行 `mcp-translation-text`；若 global PATH 中找不到，记得激活虚拟环境或使用 `python -m mcp_translation_text`。
- **发布/升级包**：
  ```bash
  python -m build
  twine upload dist/*
  ```

## 目录结构（关键文件）

```
E:\MCP
├── pyproject.toml
├── server.py                # 入口包装，确保 python server.py 可运行
├── src/
│   └── translation_server.py
├── scripts/
│   ├── start.ps1
│   └── start.sh
├── .env.example
├── LICENSE
└── README.md
```

发布后，用户只需设置 NiuTrans API Key，即可通过 `mcp-translation-text` 直接加载该 Provider。
nys-client 0.2.1
Python client library for the Noyes API
Requires Python: >=3.8

# NysClient

A Python client library for the Noyes API.

## Installation

```bash
pip install nys-client
```

## Usage

```python
from nys_client import NysClient, RequestType, TriggerStatus

# Initialize client
client = NysClient(api_key="your_api_key")

# Get requests with filtering
requests = client.requests.search(
    filters={"status": "ACCEPTED", "type": "FULFILLMENT"},
    sort_by="-created_at"
)

# Create a new request
new_request = client.requests.create_fulfillment(
    entities=[("SKU123", 1)],
    priority=10
)

# Get jobs with search
jobs = client.jobs.search(
    filters={"status__eq": "EXECUTING", "type__eq": "PICKING"}
)

# Trigger a job
client.jobs.trigger(
    job_id="job-uuid",
    trigger_status=TriggerStatus.SUCCEEDED_TRIGGER
)
```