Unofficial Python SDK for Westlake University AI Station
Project description
aistation
AI Station 的非官方 Python SDK 和 CLI。
仍然需要vpn解决内网环境
安装
pip install ai-station-sdk
如果你需要 CLI:
pip install "ai-station-sdk[cli]"
CLI
CLI 主要用来查询状态。
aistation login # 交互式登录
# or
# export AISTATION_ACCOUNT=your_account
# export AISTATION_PASSWORD='your_password'
# aistation login
aistation status
aistation gpus --free
aistation tasks
Python
import aistation as A
client = A.AiStationClient.from_config()
client.ensure_auth()
for group in client.groups.list():
print(group.group_name, group.free_cards)
更多
- 示例见 docs/examples.md
- License: MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ai_station_sdk-0.1.0.tar.gz
(114.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ai_station_sdk-0.1.0.tar.gz.
File metadata
- Download URL: ai_station_sdk-0.1.0.tar.gz
- Upload date:
- Size: 114.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1922be20a732d63e12212c96a12d9e681c8228152b3aa719df60ee89d42fb0b
|
|
| MD5 |
fc30416e087b8d23a6fb7635a2efee72
|
|
| BLAKE2b-256 |
8b6602dab2eb3eaa572e4d8bfecb5435a250bea5c0b03f5234d039f237b41f62
|
File details
Details for the file ai_station_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ai_station_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 71.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a803f8ea3a6ce60af1b7e92610eb2e9c695a69778d98094f9dcd883d8b57e60
|
|
| MD5 |
60267a8dd9653bd25cfa1b1c59d7bc3e
|
|
| BLAKE2b-256 |
6112bb2f05a7a1f388a7ded3124937d4d5a1450f1f184dea84114ebfa721a9b4
|