Repositorio para a utilização da API de Log do HyperCoe
Project description
HyperCoe RPA:
Kit de componentes para Governança de Bots na plataforma HyperCoe.
Intalação
>>> pip install hypercoerpa
Como usar a biblioteca:
>>> from hypercoerpa.function import *
Exemplo de como usar a função de registro de log
- write_IteracaoID(IteracaoID,Path):
- getBotID(path):
- Get_Asset(Name_Asset,path):
- Iteration(path):
- End_Log (message,path):
- Log_Attaching_File (message,pathfile,path):
- Log_Error (message,path):
- Log (message,path):
- Error_Status(path):
- End_Status(path):
- Start_Status(path):
- Populate_Queue(path, Reference, DadosJson):
- Queue_Item_Abandoned(path):
- Queue_Item_Get(path):
- Queue_Item_Change_Status(path, queueItemID, status):
- Queue_Item_Change_Exception_Error(path, queueItemID, exception):
-inição dos parâmetros:
- rpa-hypercoe-log
- bot_status - Valor inteiro correspondente ao status do bot sendo # Active=0, Running=1, Paused=2, Error=3 (Campo obrigatório)
- bot_id - Valor inteiro referente ao ID do bot que será gerado no momento de criação do robô pelo agente do HyperCoe (Campo obrigatório)
- clienttoken - Valor string do Token que será disponibilizado pelo Portal HyperCoe (Campo obrigatório)
- level - Valor inteiro correspondente ao tipo de informação que será regsitrado no log, sendo # Info=0, Warn=1, Error=2 (Campo obrigatório)
- typeError - Valor string com a mensagem em caso de erro. (Campo não obrigatório)
- message - Valor string com a mensagem de log (Campo obrigatório)
- pathfile - Valor string com o caminho absoluto para envio de evidência (Campo não obrigatório)
- ID_Iteration - Valor inteiro capturado pela api "Iteration" (Campo obrigatório)
- finalLog - Valor boleano (False/True) que deverá ser padrão False e somente utilizar o parametro True no último registro de log do robô (Campo não obrigatório)
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
hypercoerpa-0.2.9.tar.gz
(6.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 hypercoerpa-0.2.9.tar.gz.
File metadata
- Download URL: hypercoerpa-0.2.9.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e20e64045a2bfa75e1d32f03e7a70ec207db1e88d40435ec074a0e0c22bed01
|
|
| MD5 |
319109b8f9d56792854f55ae70a24cae
|
|
| BLAKE2b-256 |
cf11d4955bf04b22e1990055a958cebe8a41fb5a4819b45de3b2d295a63c0c00
|
File details
Details for the file hypercoerpa-0.2.9-py3-none-any.whl.
File metadata
- Download URL: hypercoerpa-0.2.9-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cfa2879ec7e931557a05d082bf9ea333d5545edb8ff3ffd0fb9573b463dcb0eb
|
|
| MD5 |
15852ee0013c6419c096c1802b1badd0
|
|
| BLAKE2b-256 |
6bac730c92f72c3f0e8f99b0d47b51b6156bec7dd0c4fda661bf8901caa7717a
|