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.2.tar.gz
(7.3 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.2.tar.gz.
File metadata
- Download URL: guifrontend-0.1.2.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e770af2a3d2bb5e83b7b5638a4e37378b62b07f7018ce56310891993394c882b
|
|
| MD5 |
f3f29101441aab62cc0f3c25c3d78842
|
|
| BLAKE2b-256 |
b3b145a63b917142106e9fdc5c8cf0468bc655499f7cf41bff5d6148c4790ad9
|
File details
Details for the file guifrontend-0.1.2-py3-none-any.whl.
File metadata
- Download URL: guifrontend-0.1.2-py3-none-any.whl
- Upload date:
- Size: 8.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 |
758c9ac2804df7359b44bdb156d075969cd5539e96dc1bf3893c42f5dc50d489
|
|
| MD5 |
0d3d099b6fb928c25922d036521ebcec
|
|
| BLAKE2b-256 |
36115d1a3be0c5987c4d138223d85025f2c55ece831afb9c8710396359a4c928
|