Skip to main content

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)

更多

Project details


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ai_station_sdk-0.1.0-py3-none-any.whl (71.1 kB view details)

Uploaded Python 3

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

Hashes for ai_station_sdk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e1922be20a732d63e12212c96a12d9e681c8228152b3aa719df60ee89d42fb0b
MD5 fc30416e087b8d23a6fb7635a2efee72
BLAKE2b-256 8b6602dab2eb3eaa572e4d8bfecb5435a250bea5c0b03f5234d039f237b41f62

See more details on using hashes here.

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

Hashes for ai_station_sdk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4a803f8ea3a6ce60af1b7e92610eb2e9c695a69778d98094f9dcd883d8b57e60
MD5 60267a8dd9653bd25cfa1b1c59d7bc3e
BLAKE2b-256 6112bb2f05a7a1f388a7ded3124937d4d5a1450f1f184dea84114ebfa721a9b4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page