Remote desktop control toolkit for cuakit workers
Project description
cuakit Python SDK
cuakit provides a pyautogui-like API for controlling remote cuakit workers.
Install
pip install cuakit
Quick start
from cuakit import CuakitClient
client = CuakitClient(
base_url="https://cuakit.bolte.cc",
worker_id="cuaworker1",
)
client.wait_for_turn(timeout_s=90)
client.move_to(500, 320)
client.click(500, 320)
client.typewrite("hello from cuakit")
Queue behavior
wait_for_turn()joins queue and blocks until the lease is granted.- Each lease is one minute by default.
- SDK and web users share the same queue.
Stream access
stream = client.stream_info()
print(stream.stream_url)
The stream URL can be opened in a browser/player to observe video and audio.
Publish to PyPI
python -m build
twine upload dist/*
This repository assumes ~/.pypirc is already configured.
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
cuakit-0.1.0.tar.gz
(41.5 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 cuakit-0.1.0.tar.gz.
File metadata
- Download URL: cuakit-0.1.0.tar.gz
- Upload date:
- Size: 41.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6a5b8c870f5734dd1cbeaeb524d871396ce3bda5c13835206496afc19adb8d3
|
|
| MD5 |
97c9cd1e02137c168c0a8a1873983bb0
|
|
| BLAKE2b-256 |
076a63671845995c6be4c3fee0c62c386afb02823b3b5e96c7b12164d895c3e3
|
File details
Details for the file cuakit-0.1.0-py3-none-any.whl.
File metadata
- Download URL: cuakit-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea35f8c72b202d43a44f34df03cb0d1428d8cb2dc374ba4d86fa00aea227af23
|
|
| MD5 |
32aab6512a84625cb2cefeaf4e2fba8e
|
|
| BLAKE2b-256 |
79b08fa26196d8327d8e222a89bebc75c301d7d822ed607ed4e9d398a6d87c14
|