Skip to main content

Integração com SRSCloud 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/SRS_cloud

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

srscloud_integration-0.2.0.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

srscloud_integration-0.2.0-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

Details for the file srscloud_integration-0.2.0.tar.gz.

File metadata

  • Download URL: srscloud_integration-0.2.0.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for srscloud_integration-0.2.0.tar.gz
Algorithm Hash digest
SHA256 a9690e610c7fc9c3faf25352ea9f594c3e4dea34b3b345c92081232addbffa78
MD5 ad3482e42e589d4e01e0a6c54f0d74e3
BLAKE2b-256 d7fe130f4ca0da959d270719fe945ff5f4d693fb3688752fecc35a1d176ca375

See more details on using hashes here.

File details

Details for the file srscloud_integration-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for srscloud_integration-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6873c04d900e0e4efaf84902894a69a1efccd053fb16465f47bd02f55723bb1a
MD5 cbc20dbc8c7074cbca9e981883867976
BLAKE2b-256 7f117de81a42005cb52b658cd6b2beb25890519424f4484d58aabdf63cb5ad9f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page