semvec/pypi-packages huggingface dataset:
yu-terms-mcp-server 1.0.5
A Python MCP server for terms management functionality
License: MIT
Requires Python: >=3.10
Keywords: mcp, server, terms, management

# Yu Terms MCP Server

一个基于Python的MCP (Model Context Protocol) 服务器，用于条款管理功能。这是Java Spring AI实现的Python等价版本。

## 功能特性

- **条款更新工具**: 提供更新条款要素的接口
- **MCP协议支持**: 完全兼容MCP协议规范
- **异步处理**: 基于asyncio的高性能异步处理
- **易于扩展**: 模块化设计，便于添加新的工具和功能
- **完整日志**: 详细的日志记录，便于调试和监控

## 安装

### 从PyPI安装

```bash
pip install yu-terms-mcp-server
```

### 从源码安装

```bash
git clone https://github.com/yourusername/yu-terms-mcp-server.git
cd yu-terms-mcp-server
pip install -e .
```

## 使用方法

### 命令行启动

```bash
yu-terms-mcp-server
```

### 程序化使用

```python
import asyncio
from yu_terms_mcp_server import TermsMcpServer

async def main():
    server = TermsMcpServer()
    await server.run()

if __name__ == "__main__":
    asyncio.run(main())
```

## 工具说明

### terms_updated

更新条款要素的主要工具。

**参数:**
- `query` (string): 更新参数

**返回:**
- 成功时返回: "更新成功！"
- 失败时返回: 错误信息

**示例:**
```json
{
  "name": "terms_updated",
  "arguments": {
    "query": "更新条款内容"
  }
}
```

## 开发

### 环境设置

```bash
# 克隆仓库
git clone https://github.com/yourusername/yu-terms-mcp-server.git
cd yu-terms-mcp-server

# 创建虚拟环境
python -m venv venv
source venv/bin/activate  # Linux/Mac
# 或
venv\Scripts\activate  # Windows

# 安装开发依赖
pip install -e ".[dev]"
```

### 运行测试

```bash
pytest
```

### 代码格式化

```bash
black yu_terms_mcp_server/
isort yu_terms_mcp_server/
```

### 类型检查

```bash
mypy yu_terms_mcp_server/
```

## 项目结构

```
yu_terms_mcp_server/
├── __init__.py          # 包初始化
├── main.py             # 主入口点
├── server.py           # MCP服务器实现
└── tools.py            # 工具实现
```

## 与Java版本的对应关系

| Java组件 | Python组件 | 说明 |
|---------|-----------|------|
| `TermsUpdatedTool.java` | `tools.py` | 条款更新工具实现 |
| `YuImageSearchMcpServerApplication.java` | `server.py` | 主应用程序和服务器配置 |
| `@Tool` 注解 | `get_tool_definition()` | 工具定义和注册 |
| `@Service` 注解 | 类实例化 | 服务组件管理 |
| `SpringApplication.run()` | `server.run()` | 应用程序启动 |

## 配置

服务器默认使用stdio进行通信，这是MCP协议的标准方式。如需自定义配置，可以修改`server.py`中的相关设置。

## 日志

应用程序使用Python标准logging模块。日志级别默认为INFO，输出到stderr。

## 许可证

MIT License

## 贡献

欢迎提交Issue和Pull Request！

## 更新日志

### v1.0.0
- 初始版本发布
- 实现基础的条款更新功能
- 完整的MCP协议支持
lms-ubitraq 0.3.0
LMS的全迹解算引擎对接驱动
License: MIT
Requires Python: >=3.6

# 一、安装

```shell
pip install lms_ubitraq
pip install django_object_actions
```

# 二、配置

```python
# settings.py
INSTALLED_APPS = [
    # 其他
    "django_object_actions",
    "lms_ubitraq",
]
```

```python
# urls.py
from django.urls import path, include

urlpatterns = [
    path("ubitraq/", include("lms_ubitraq.urls")),
]
```

# 三、页面

- 运行日志：/ubitraq/console/
- 标签终端：ubitraq/tag/
- 基站设施：ubitraq/anchor/
- 产品型号：ubitraq/product/
- 地图详情：ubitraq/map/
- 应用配置：ubitraq/config/
lms-hikvision 0.4.0
LMS的海康安防平台对接驱动
License: MIT
Requires Python: >=3.6

# 一、安装

```shell
pip install lms_hikvision
pip install django_object_actions
```

# 二、配置

```python
# settings.py
INSTALLED_APPS = [
    # 其他
    "django_object_actions",
    "lms_hikvision",
]
```

```python
# urls.py
from django.urls import path, include

urlpatterns = [
    path("hikvision/", include("lms_hikvision.urls")),
]
```

# 三、页面

- 摄像头信息：hikvision/camera/
- 配置选项：hikvision/config/
lms-geotool 1.3.0
LMS的地理信息工具集
License: MIT
Requires Python: >=3.6

# 一、安装

```shell
pip install lms_geotool
pip install django_object_actions
```

# 二、配置

```python
# settings.py
INSTALLED_APPS = [
    # 其他
    "django_object_actions",
    "lms_geotool",
]
```

```python
# urls.py
from django.urls import path, include

urlpatterns = [
    path("geotool/", include("lms_geotool.urls")),
]
```

# 三、页面

- 坐标转换：/geotool/convert/
- 仿射矩阵：geotool/affinematrix/
- 线面求和：/geotool/dimsum/
- 点位平移：/geotool/translation/
- 线性回归：geotool/linearregression/
bookup-fuse 0.1.8
Mount Bookup .bdb (SQLite) files as a FUSE filesystem exposing Markdown pages.
License: MIT
Requires Python: >=3.9
Keywords: fuse, sqlite, filesystem, markdown, bookup

Hier ist ein Vorschlag für eine prägnante, aber informative `README.md` für dein Projekt:

````markdown
# bookup-fuse

**Mount Bookup `.bdb` (SQLite) databases as a virtual FUSE filesystem** — browse and edit your Bookup pages and sections directly as Markdown files.

## Features

- Mount a Bookup `.bdb` file into a directory
- Exposes two top-level folders:
  - `Pages/` — all pages without section nesting
  - `Sections/` — hierarchical structure of sections containing pages
- Read and edit Markdown content directly via any text editor
- Changes are written back to the `.bdb` database in real time
- Works with standard FUSE mounts on Linux

## Requirements

- **Python** ≥ 3.9
- **libfuse** installed on your system
  Fedora / RHEL:
  ```bash
  sudo dnf install fuse fuse3 fuse3-libs
````

Debian / Ubuntu:

```bash
sudo apt install fuse
```

* Python package **fusepy** (installed automatically with this package)

## Installation

```bash
pip install bookup-fuse
```

Or from source:

```bash
git clone https://github.com/beimgraben/bookup-fuse.git
cd bookup-fuse
pip install .
```

## Usage

```bash
bookup-fuse <bookup_bdb_file> <mount_point>
```

Example:

```bash
bookup-fuse my-notes.bdb /mnt/bookup
```

This will create a directory structure like:

```
/mnt/bookup
├── Pages
│   ├── Page One.md
│   └── Another Note.md
├── Sections
│   ├── Work
│   │   └── Task List.md
│   └── Personal
│       ├── Recipes.md
│       └── Journal.md
└── .desktop.ini
```

## Unmounting

```bash
fusermount -u /mnt/bookup     # Linux (FUSE)
# or
umount /mnt/bookup
```

## Notes

* `.desktop.ini` is included for compatibility with Windows' folder tooltips but can be ignored.
* Page and section names containing `/` are automatically sanitized to `_` in file names.
* Timestamps are stored as UNIX epochs in the database.

## Development

```bash
# Install in editable mode
pip install -e ".[dev]"

# Run from source
python src/bookup_fuse.py my-notes.bdb /mnt/bookup
```