Cliente RPA para enviar heartbeats, logs e comandos para servidor de monitoramento (TCP/WebSocket)
Project description
rpa-monitor-client
Cliente Python plug-and-play para enviar heartbeats (OP=01) e logs (OP=02) para o servidor de monitoramento RPA.
Instalação (local)
pip install -e ./rpa_monitor_client
Uso básico (config explícita)
from rpa_monitor_client import setup_rpa_monitor, rpa_log
setup_rpa_monitor(
rpa_id="RPA-CLIENTE-001",
host="seu-servidor.com",
port=5051,
region="SISTEMA_X",
)
rpa_log.info("RPA iniciado")
Uso com variáveis de ambiente
RPA_MONITOR_ID=RPA-CLIENTE-XYZ
RPA_MONITOR_HOST=seu-servidor.com
RPA_MONITOR_PORT=5051
RPA_MONITOR_REGION=MINHA_REGIAO
RPA_MONITOR_HEARTBEAT=5
from rpa_monitor_client import auto_setup_rpa_monitor, rpa_log
auto_setup_rpa_monitor()
rpa_log.info("Subiu com auto_setup")
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
rpa_monitor_client-0.1.1.tar.gz
(13.7 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 rpa_monitor_client-0.1.1.tar.gz.
File metadata
- Download URL: rpa_monitor_client-0.1.1.tar.gz
- Upload date:
- Size: 13.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce61a0a184539ac3fc9c270fdc7f89b5e1b48896661f5cd775863830f99bddc7
|
|
| MD5 |
d4b8191720996a4525d70b2d0b9a7a8b
|
|
| BLAKE2b-256 |
8407fac50a40f2c0b51c55d3e4ca44bd3bd014cea2e08ef1366bef358d67113f
|
File details
Details for the file rpa_monitor_client-0.1.1-py3-none-any.whl.
File metadata
- Download URL: rpa_monitor_client-0.1.1-py3-none-any.whl
- Upload date:
- Size: 14.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb9916c4d48c92b09f182c4a3d6062a9b28445ebfe83cbe227c55526d4ec0e83
|
|
| MD5 |
530d5d6e732f53c94308702c2795b7f1
|
|
| BLAKE2b-256 |
25631219a18faab6c87f83711630608fee04cf202cc679e76e641a6c4e4cbf69
|