semvec/pypi-packages huggingface dataset:
mcp-hand-detection 1.0.1
MCP Hand Detection - 基于 MediaPipe 的手掌检测 MCP 服务
Requires Python: >=3.9
Keywords: mcp, mediapipe, hand detection, computer vision, ai

# MCP Hand Detection

一个基于 MediaPipe 的 Model Context Protocol (MCP) 服务器，提供手掌检测功能。

## 功能特性

- ✅ 基于 MediaPipe 的高精度手掌检测
- ✅ 符合 MCP 标准协议（JSON-RPC 2.0）
- ✅ 支持 stdio 和 HTTP 两种接口
- ✅ 易于集成到支持 MCP 的客户端（如 Cursor、Claude Desktop）
- ✅ 包含预训练模型，开箱即用

## 安装

```bash
pip install mcp-hand-detection
```

如果需要 HTTP API 功能：

```bash
pip install mcp-hand-detection[http]
```

## 快速开始

### 作为 MCP 服务器使用

在 MCP 客户端配置中添加：

```json
{
  "mcpServers": {
    "hand-detection": {
      "command": "mcp-hand-detection"
    }
  }
}
```

### 作为命令行工具使用

```bash
# 启动 MCP 服务器（通过 stdio）
mcp-hand-detection

# 启动 HTTP 服务器
mcp-hand-detection-http --port 8080
```

### 作为 Python 库使用

```python
from mcp_hand_detection import MCPServer

# 创建服务器实例
server = MCPServer()

# 检测手掌
result = server._detect_hand("/path/to/image.jpg")
print(result)
```

### HTTP API 使用示例

```python
from mcp_hand_detection import create_app

app = create_app()
app.run(host='0.0.0.0', port=8080)
```

或者使用命令行：

```bash
mcp-hand-detection-http --host 0.0.0.0 --port 8080
```

然后通过 HTTP 调用：

```bash
# 文件上传
curl -X POST http://localhost:8080/api/detect -F "image=@hand.jpg"

# Base64 编码
curl -X POST http://localhost:8080/api/detect \
  -H "Content-Type: application/json" \
  -d '{"image_base64": "...", "image_format": "jpg"}'
```

## API 文档

### MCP 工具

- **工具名称**: `detect_hand`
- **描述**: 检测图片中是否存在手掌
- **参数**:
  - `image_path` (string, 必需): 图片文件路径
- **返回**: JSON 格式的检测结果

### HTTP API

- `GET /health` - 健康检查
- `GET /api/tools` - 获取工具列表
- `POST /api/detect` - 检测手掌
  - 支持文件上传 (`multipart/form-data`)
  - 支持 Base64 编码 (`application/json`)

## 系统要求

- Python 3.9+
- OpenCV
- MediaPipe 0.10+
- NumPy

## 许可证

MIT License

## 贡献

欢迎提交 Issue 和 Pull Request！

## 链接

- [GitHub Repository](https://github.com/yourusername/mcp-hand-detection)
- [PyPI Package](https://pypi.org/project/mcp-hand-detection/)
konnektr-graph 0.2.11
Konnektr Graph SDK for Python
Requires Python: >=3.8

# Konnektr Graph SDK for Python

A powerful, Python SDK for [Konnektr Graph](https://konnektr.io), fully compatible with the Azure Digital Twins API but optimized for the Konnektr ecosystem.

## Features

- **Azure-Free**: No dependencies on Azure libraries.
- **Synchronous & Asynchronous**: High-performance clients for both threaded and async workflows.
- **Modular Auth**: Supports OAuth 2.0 Client Credentials, Device Code Flow, and Static Tokens.
- **Auto-Pagination**: Seamlessly iterate through large query results and resource lists.
- **Data Models**: Typed dataclasses for Digital Twins, Models, Relationships, and Jobs.

## Installation

```bash
pip install konnektr-graph
```

## Quick Start

### Synchronous Client

```python
from konnektr_graph import KonnektrGraphClient
from konnektr_graph.auth import ClientSecretCredential

# Authenticate
cred = ClientSecretCredential(
    domain="auth.konnektr.io",
    audience="https://graph.konnektr.io",
    client_id="YOUR_CLIENT_ID",
    client_secret="YOUR_CLIENT_SECRET"
)

# Initialize Client
client = KonnektrGraphClient("https://your-graph-endpoint.konnektr.io", cred)

# Get a Digital Twin
twin = client.get_digital_twin("my-twin-id")
print(twin)

# Query Twins with auto-pagination
for twin in client.query_twins("SELECT * FROM digitaltwins"):
    print(twin)
```

### Asynchronous Client

```python
import asyncio
from konnektr_graph.aio import KonnektrGraphClient
from konnektr_graph.auth import AsyncClientSecretCredential

async def main():
    cred = AsyncClientSecretCredential(
        domain="auth.konnektr.io",
        audience="https://graph.konnektr.io",
        client_id="...",
        client_secret="..."
    )
    
    async with KonnektrGraphClient("https://your-graph-endpoint.konnektr.io", cred) as client:
        twin = await client.get_digital_twin("my-twin-id")
        print(twin)

asyncio.run(main())
```

## Authentication Options

- `ClientSecretCredential` / `AsyncClientSecretCredential`: Ideal for server-to-server scenarios.
- `DeviceCodeCredential` / `AsyncDeviceCodeCredential`: Best for interactive CLI tools.
- `StaticTokenCredential`: Use when you already have a valid access token.

## License

This project is licensed under the MIT License - see the LICENSE file for details.
MyTube-dlp 3.0.0
Python YouTube Downloader
Requires Python: >=3.9

<h1 align="center">MyTube</h1>

<p align="center">
    <img src="https://raw.githubusercontent.com/SuperZombi/MyTube/main/github/images/icon.png" width="128px">
</p>
<p align="center">
    <a href="https://pypi.org/project/MyTube-dlp/"><img src="https://img.shields.io/pypi/v/MyTube-dlp"></a><br>
    <a href="https://superzombi.github.io/MyTube/"><img src="https://shields.io/badge/📖-Documentation-ffbc5c"></a><br>
    <a href="#donate"><img src="https://shields.io/badge/💲-Support_Project-2ea043"></a>
</p>
<p align="center">
    MyTube is a wrapper around <a href="https://github.com/yt-dlp/yt-dlp">yt-dlp</a> that is similar in functionality to <a href="https://github.com/pytube/pytube">pytube</a>.<br>
    I made it because I was tired of pytube being unstable and throwing errors over time. 
</p>

### Requirements:

* [FFMPEG](https://ffmpeg.org/download.html) installed in $PATH

### Quick Start
```
pip install MyTube_dlp
```
```python
import MyTube
import asyncio

async def main():
	link = "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
	yt = MyTube.YouTube(link)
	stream = yt.streams.filter(only_muxed=True).order_by("res").first()
	file = await stream.download("downloads")

asyncio.run(main())
```

### See also:
* [GUI for MyTube](https://github.com/SuperZombi/MyTube-GUI)


## 💲Donate

<table>
  <tr>
    <td>
       <img width="18px" src="https://www.google.com/s2/favicons?domain=https://donatello.to&sz=256">
    </td>
    <td>
      <a href="https://donatello.to/super_zombi">Donatello</a>
    </td>
  </tr>
  <tr>
    <td>
       <img width="18px" src="https://www.google.com/s2/favicons?domain=https://www.donationalerts.com&sz=256">
    </td>
    <td>
      <a href="https://www.donationalerts.com/r/super_zombi">Donation Alerts</a>
    </td>
  </tr>
</table>