Integração com SRS-Cloud para automação de processos.
Project description
SRSCloud Integration
Biblioteca para integração com SRSCloud, permitindo automação de processos com API.
🚀 Instalação
Para instalar a biblioteca, use:
pip install srscloud-integration
🔹 Uso Básico
Exemplo de uso básico da biblioteca:
from srscloud_integration import SRS
srs = SRS(token="seu_token", maquina="minha_maquina", workflow="meu_workflow", tarefa="minha_tarefa")
srs.execucaoIniciar()
📌 Exemplo Prático
A biblioteca inclui um arquivo de exemplo chamado exemplo_tarefa.py, que demonstra um fluxo completo de uso, incluindo:
✅ Iniciar uma execução
✅ Registrar logs
✅ Finalizar o processo
🔍 Como encontrar o exemplo?
Para localizar o código do exemplo_tarefa.py, use o comando:
python -c "import srscloud_integration; print(srscloud_integration.__file__)"
Isso mostrará o caminho onde a biblioteca foi instalada. Navegue até essa pasta para visualizar o código.
🚀 Como executar o exemplo?
Se deseja rodar o exemplo diretamente, utilize:
python -m srscloud_integration.exemplo_tarefa
Isso executará o script de exemplo, demonstrando a interação com a API SRSCloud.
📝 Documentação
Para mais informações, acesse o repositório oficial:
🔗 https://github.com/Automate-Brasil/srscloud-integration
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
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 srscloud_integration-1.0.2.tar.gz.
File metadata
- Download URL: srscloud_integration-1.0.2.tar.gz
- Upload date:
- Size: 14.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b06d03d55c3fab80206b745b6214a7ee45fd2618cfddf71301180f270e064b21
|
|
| MD5 |
bc43664a12a5bc4e6b737217f1f6266d
|
|
| BLAKE2b-256 |
6edf1bd7c755ff0f26056e0c8ded33b6b2da644a2f370e9b98d19b7a7e978b98
|
File details
Details for the file srscloud_integration-1.0.2-py3-none-any.whl.
File metadata
- Download URL: srscloud_integration-1.0.2-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.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e50edb4fb5e5bc39f63de42773f67c4bebb337d0e75ab5e6d3218a85f0cd540
|
|
| MD5 |
a142e4a6ccda9ab15a6cffca15775baf
|
|
| BLAKE2b-256 |
d997a2565a3ef1f056cb3bb3a2db1965614b8dd81405eab85e7a0c16727dc4f6
|