A frontend client for the GUI data collection framework.
Project description
GUI数据采集框架 - 前端
功能
- 连接后端WebSocket服务
- 定期截图并发送给后端
- 执行后端返回的PyAutoGUI代码
安装
pip install -r requirements.txt
配置
编辑 config/config.yaml:
backend:
host: "127.0.0.1" # 后端IP地址
port: 8000
frontend:
id: "frontend_001"
screenshot_interval: 2.0
运行
python run_frontend.py --config config/config.yaml
通信协议
发送给后端:
{"type": "screenshot", "screenshot": "base64_image"}
接收自后端:
{"type": "execute_action", "pyautogui_code": "pyautogui.click(100, 200)"}
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
guifrontend-0.1.1.tar.gz
(8.0 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 guifrontend-0.1.1.tar.gz.
File metadata
- Download URL: guifrontend-0.1.1.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af7f957be345818e98940e7f0b1974bb8065ed4b0534b933a5148d227bd64619
|
|
| MD5 |
5422126c2341016f815f0671dd0dfa03
|
|
| BLAKE2b-256 |
03e4f96ca8078783d3e81b7e20e69eeb4ffe671a294ccb0c798d6997aaadc9e2
|
File details
Details for the file guifrontend-0.1.1-py3-none-any.whl.
File metadata
- Download URL: guifrontend-0.1.1-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d6534006da831b9c7549caa18b3dcaa44209c8c094597901846ade9a44b4e4f1
|
|
| MD5 |
cf0a5ddbcc39e87eab204fede0bb82ad
|
|
| BLAKE2b-256 |
d542b696ef887a0606fec837599d0d2e209d1b93b5fbde5785de8a217ebdf2dc
|