Skip to content

Bridge SDK

Bridge SDK 通过 TCP 连接与 Native Host 通信,提供事件驱动的异步 API。

安装

bash
pip install captcha-bridge-sdk

系统要求

  • Python 3.8+
  • 运行中的 Native Host 实例(默认 localhost:12721)

基本用法

python
from captcha_bridge_sdk import CaptchaBridgeClient

client = CaptchaBridgeClient(host="localhost", port=12721)