> ## Documentation Index
> Fetch the complete documentation index at: https://docs.killb.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Python SDK

> KillB 官方 Python SDK（即将推出）

## 即将推出

KillB 的官方 Python SDK 目前正在开发中，即将推出。

<Info>
  想要提前体验？请通过 [developers@killb.com](mailto:developers@killb.com) 联系我们
</Info>

## 计划功能

<CardGroup cols={2}>
  <Card title="类型提示" icon="shield-check">
    全面支持现代 Python 的类型提示
  </Card>

  <Card title="异步/等待" icon="bolt">
    支持 AsyncIO 进行并发操作
  </Card>

  <Card title="Pydantic 模型" icon="file-code">
    使用 Pydantic 进行数据模型验证
  </Card>

  <Card title="自动重试" icon="rotate">
    使用指数退避自动重试
  </Card>
</CardGroup>

## 预期 API

```python theme={null}
from killb import KillB

# 初始化
killb = KillB(
    email="your-email@example.com",
    password="your-password",
    environment="sandbox"
)

# 创建用户
user = killb.users.create({
    "type": "PERSON",
    "data": {
        "firstName": "Juan",
        "lastName": "García",
        # ...
    }
})

# 创建出入金
ramp = killb.ramps.create({
    "quotationId": quote.id,
    "userId": user.id,
    "accountId": wallet.id
})

print(f"出入金已创建: {ramp.id}")
```

## 现在使用 REST API

在 SDK 开发期间，可以使用 Python 使用我们的 REST API：

<Card title="REST API 指南" icon="code" href="/zh/api-reference/introduction">
  查看 REST API 文档
</Card>

## 获取通知

注册以在 Python SDK 发布时收到通知：

<Card title="加入等待列表" icon="bell" href="https://www.killb.com/sdk-waitlist">
  获取 Python SDK 的提前体验
</Card>
