Skip to main content

pacote para criação de automações

Para importar:

from criar_automacoes import Automatization, pyautogui, sg,Thread, kb, Gerar_Script_Automacao


Gerar_Script_Automacao()

Estrutura básica de uma automação:

from criar_automacoes import *

p = Automatization()
try:
    p.CareegarPontos('pontos')
except:
    #Esta parte eh apenas na criacao do codigo
    listadepontos = ['cruz', 'criar_novo_contato', 'campo_nome', 'telefone_cruz', 'celular', 'campo_telefone', 'ok']    
    for i in listadepontos:
        i = p.Criar_ponto(i)
        if i == None:
            break

    if i != None:
        p.SalvarPontos('pontos')

# Define o metodo Main
def Main():
    p.CareegarPontos('pontos')

    cruz = p.Coordenada('cruz')
    criar_novo_contato = p.Coordenada('criar_novo_contato')
    campo_nome = p.Coordenada('campo_nome')
    telefone_cruz = p.Coordenada('telefone_cruz')
    celular = p.Coordenada('celular')
    campo_telefone = p.Coordenada('campo_telefone')
    ok = p.Coordenada('ok')

    pyautogui.sleep(2)
    t = 1
    pyautogui.click(cruz, duration=t)
    pyautogui.sleep(0.5)
    pyautogui.click(criar_novo_contato, duration=t)
    pyautogui.sleep(0.5)
    pyautogui.click(campo_nome, duration=t)
    pyautogui.sleep(0.5)
    pyautogui.click(telefone_cruz, duration=t)
    pyautogui.sleep(0.5)
    pyautogui.click(celular, duration=t)
    pyautogui.sleep(0.5)
    pyautogui.click(campo_telefone, duration=t)
    pyautogui.sleep(0.5)
    pyautogui.click(ok, duration=t)

def Configurar():
    p.CareegarPontos('pontos')
    p.Configurar()

def Rodar():
    print(f'''
Pressione 'shift+space' para rodar a automacao
Pressione 'config' para configurar os pontos da tela
    '''
    )
    kb.add_word_listener('config', Configurar)
    kb.add_hotkey('shift+space', Main)
    kb.wait()
if __name__ == '__main__':
    Rodar()

Metadata

Release files for criar-automacoes 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for criar-automacoes 0.1.7
File Size Uploaded Provenance
criar_automacoes-0.1.7.tar.gz 3.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for criar-automacoes 0.1.7
File Interpreter ABI Platform
criar_automacoes-0.1.7-py3-none-any.whl Python 3 none any Details

Total release size: 7.0 kB

Release files / criar_automacoes-0.1.7.tar.gz

Download URL criar_automacoes-0.1.7.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
37483181b305075399781360b385bda412a17614e48e8dc3a4d990d2df964f4c
BLAKE2b-256 checksum
How to use checksums
0aee001fad69ec48320012e2ac7db30bd62375577d83ec4397554400b1f15bbb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.11.2 Windows/10

Release files / criar_automacoes-0.1.7-py3-none-any.whl

Download URL criar_automacoes-0.1.7-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
953fdf4fb7cd1400ef64066c51054d62e9b4f26e401bfe23788e599ec6dad054
BLAKE2b-256 checksum
How to use checksums
ef1c94805009da4c351a23c171d02aba784b81c61edae146b71b46bc8287dc43
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.11.2 Windows/10

Security for criar-automacoes 0.1.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page