安装指南¶
环境要求¶
- Python 3.10+
- Pulsing(作为依赖自动安装)
安装¶
从源码安装¶
Nightly(预发布 wheel)¶
每日 / main 推送会滚动更新 GitHub Release 标签 nightly:
curl -fsSL https://raw.githubusercontent.com/DeepLink-org/Persisting/main/scripts/install-nightly.sh | bash
验证¶
import persisting
print(persisting.__version__)
from persisting.queue import LanceBackend, PersistingBackend
print("LanceBackend:", LanceBackend)
print("PersistingBackend:", PersistingBackend)
依赖¶
| 包名 | 版本 | 必需 | 说明 |
|---|---|---|---|
pulsing |
>=0.1.0 | 是 | 分布式 actor 运行时(控制面) |
lance |
>=0.9.0 | 可选 ([lance]) |
Lance 列式存储 |
pyarrow |
>=14.0.0 | 可选 ([lance]) |
Apache Arrow |