Metadata-Version: 2.5
Name: mind-recursive
Version: 0.1.2
Summary: Python SDK for the Mind Recursive platform: custom training loops, managed training, deployment and inference
Project-URL: Homepage, https://macaron.im/mindlab
Project-URL: Repository, https://github.com/MindLab-Research/mind-recursive-sdk
Author: Mind Lab
License-Expression: MIT
License-File: LICENSE
Keywords: lora,mind-recursive,mindlab,mint,ml,reinforcement-learning,tinker,training
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Python: >=3.11
Requires-Dist: httpx>=0.27
Requires-Dist: numpy>=1.24
Provides-Extra: dev
Requires-Dist: jinja2>=3.1; extra == 'dev'
Requires-Dist: pytest-asyncio>=0.23; extra == 'dev'
Requires-Dist: pytest>=8; extra == 'dev'
Requires-Dist: transformers>=4.40; extra == 'dev'
Provides-Extra: recipes
Requires-Dist: jinja2>=3.1; extra == 'recipes'
Requires-Dist: transformers>=4.40; extra == 'recipes'
Provides-Extra: zstd
Requires-Dist: zstandard>=0.22; extra == 'zstd'
Description-Content-Type: text/markdown

# MIND-RECURSIVE SDK

## 安装

```bash
# uv (PyPI)
uv add mind-recursive

# pip (PyPI)
pip install mind-recursive
```

也可以直接从 GitHub 公开仓安装（固定版本时把 `@main` 换成具体 tag，例如 `@v0.1.0`）：

```bash
# uv
uv add git+https://github.com/MindLab-Research/mind-recursive-sdk@main
# pip
pip install git+https://github.com/MindLab-Research/mind-recursive-sdk@main
```

## 配置

```bash
export MIND_RECURSIVE_API_KEY=sk-...
export MIND_RECURSIVE_BASE_URL=https://<origin>   # 可选
export MIND_RECURSIVE_WEB_URL=https://mintrecursive.mindlab.im/v2train/records/sessions/   # 可选
```

| 变量 | 作用 |
|---|---|
| `MIND_RECURSIVE_API_KEY` | 用户 key，`sk-` 开头 |
| `MIND_RECURSIVE_BASE_URL` | 服务 origin；可带 `/api/mindrsi/v1`，SDK 会归约 |
| `MIND_RECURSIVE_WEB_URL` | Web 控制台 session 链接前缀；只用于打印，不发请求 |


使用前阅读文档： [mind-recursive SDK 文档](https://github.com/MindLab-Research/mind-recursive-sdk/blob/main/docs/README.md)。
