rpa-suite 1.0.1__py3-none-any.whl → 1.0.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- rpa_suite/__init__.py +1 -0
- rpa_suite/clock/__init__.py +1 -0
- rpa_suite/clock/exec_at.py +2 -0
- rpa_suite/clock/scheduler.py +2 -0
- rpa_suite/clock/waiter.py +2 -0
- rpa_suite/date/__init__.py +1 -0
- rpa_suite/date/date.py +2 -0
- rpa_suite/email/__init__.py +1 -0
- rpa_suite/email/sender_smtp.py +2 -0
- rpa_suite/file/__init__.py +1 -0
- rpa_suite/file/counter.py +2 -0
- rpa_suite/file/temp_dir.py +2 -0
- rpa_suite/log/__create_log_dir.py +2 -0
- rpa_suite/log/__init__.py +1 -0
- rpa_suite/log/{functions_logger.py → _functions_logger.py} +3 -1
- rpa_suite/log/{logger.py → _logger.py} +2 -0
- rpa_suite/log/_variables.py +2 -0
- rpa_suite/log/_variables_uru.py +2 -0
- rpa_suite/log/functions_logger_uru.py +2 -0
- rpa_suite/log/log_decorator.py +2 -0
- rpa_suite/log/printer.py +2 -0
- rpa_suite/regex/__init__.py +1 -0
- rpa_suite/regex/list_from_text.py +2 -0
- rpa_suite/suite.py +30 -2
- rpa_suite/validate/__init__.py +1 -0
- rpa_suite/validate/mail_validator.py +2 -0
- rpa_suite/validate/string_validator.py +2 -0
- {rpa_suite-1.0.1.dist-info → rpa_suite-1.0.2.dist-info}/METADATA +12 -11
- rpa_suite-1.0.2.dist-info/RECORD +33 -0
- rpa_suite-1.0.1.dist-info/RECORD +0 -33
- {rpa_suite-1.0.1.dist-info → rpa_suite-1.0.2.dist-info}/LICENSE +0 -0
- {rpa_suite-1.0.1.dist-info → rpa_suite-1.0.2.dist-info}/WHEEL +0 -0
- {rpa_suite-1.0.1.dist-info → rpa_suite-1.0.2.dist-info}/top_level.txt +0 -0
rpa_suite/__init__.py
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
# __init__.py
|
rpa_suite/clock/__init__.py
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
# /__init__.py
|
rpa_suite/clock/exec_at.py
CHANGED
rpa_suite/clock/scheduler.py
CHANGED
rpa_suite/clock/waiter.py
CHANGED
rpa_suite/date/__init__.py
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
# /__init__.py
|
rpa_suite/date/date.py
CHANGED
rpa_suite/email/__init__.py
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
# /__init__.py
|
rpa_suite/email/sender_smtp.py
CHANGED
rpa_suite/file/__init__.py
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
# /__init__.py
|
rpa_suite/file/counter.py
CHANGED
rpa_suite/file/temp_dir.py
CHANGED
rpa_suite/log/__init__.py
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
# /__init__.py
|
rpa_suite/log/_variables.py
CHANGED
rpa_suite/log/_variables_uru.py
CHANGED
rpa_suite/log/log_decorator.py
CHANGED
rpa_suite/log/printer.py
CHANGED
rpa_suite/regex/__init__.py
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
# /__init__.py
|
rpa_suite/suite.py
CHANGED
@@ -1,3 +1,31 @@
|
|
1
|
+
# suite.py
|
2
|
+
|
3
|
+
"""
|
4
|
+
This file is the heart of the library, acting as a central access point to all available submodules. It imports and instantiates all functions from the submodules into a single object, `Rpa_suite`, allowing users to access all functionalities of the library by importing just this object.
|
5
|
+
|
6
|
+
The structure of the library has been designed to be modular and organized, with each submodule dedicated to a specific type of functionality. Each submodule is contained in its own folder, making the code easier to navigate and maintain.
|
7
|
+
|
8
|
+
Upon installing the library, users only need to import the `Rpa_suite` object to have access to all available functions. This is done through the `invoke` function, which returns an instance of the `Rpa_suite` object.
|
9
|
+
|
10
|
+
Here is an overview of the available submodules:
|
11
|
+
|
12
|
+
- **CLOCK**: Functions related to time, such as waiting for an execution or executing at a specific hour.
|
13
|
+
- **DATE**: Functions for working with dates.
|
14
|
+
- **EMAIL**: Functions for sending emails.
|
15
|
+
- **FILE**: Functions for working with files, such as counting files or creating temporary directories.
|
16
|
+
- **LOG**: Functions for logging events and printing messages.
|
17
|
+
- **REGEX**: Functions for working with regular expressions.
|
18
|
+
- **VALIDATE**: Functions for validating inputs, such as emails or strings.
|
19
|
+
|
20
|
+
Remember, to use the library, just do the following:
|
21
|
+
|
22
|
+
# On your project
|
23
|
+
from rpa_suite import suite as rpa
|
24
|
+
|
25
|
+
# call functions
|
26
|
+
rpa.success_print(f'This work!')
|
27
|
+
|
28
|
+
"""
|
1
29
|
|
2
30
|
"""MODULE CLOCK"""
|
3
31
|
from .clock.waiter import wait_for_exec, exec_and_wait
|
@@ -21,8 +49,8 @@ from .file.temp_dir import create_temp_dir, delete_temp_dir
|
|
21
49
|
# from .log.loggin import logging_decorator
|
22
50
|
from .log.printer import alert_print, success_print, error_print, info_print, print_call_fn, print_retur_fn, magenta_print, blue_print
|
23
51
|
|
24
|
-
from .log.
|
25
|
-
from .log.
|
52
|
+
from .log.logger_uru import config_logger
|
53
|
+
from .log.functions_logger_uru import log_start_run_debug, log_debug, log_info, log_warning, log_error, log_critical
|
26
54
|
|
27
55
|
|
28
56
|
"""MODULE REGEX"""
|
rpa_suite/validate/__init__.py
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
# /__init__.py
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: rpa-suite
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.2
|
4
4
|
Summary: Conjunto de ferramentas essenciais para Automação RPA com Python, que facilitam o dia a dia de desenvolvimento.
|
5
5
|
Author: Camilo Costa de Carvalho
|
6
6
|
Author-email: camilo.carvalho@triasoftware.com.br
|
@@ -132,26 +132,27 @@ No setup do nosso projeto já estão inclusas as dependências, só será necess
|
|
132
132
|
O módulo principal do rpa-suite é dividido em categorias. Cada categoria contém módulos com funções destinadas a cada tipo de tarefa
|
133
133
|
- **rpa_suite**
|
134
134
|
- **clock**
|
135
|
-
- **waiter** -
|
136
|
-
- **exec_at** -
|
135
|
+
- **waiter** - Função capaz de aguardar para executar a função do argumento, ou executar a função do argumento para aguardar posteriormente
|
136
|
+
- **exec_at** - Função capaz de executar a função do argumento no horario especificado "xx:yy" parecido com scheduler, porem com a vantagem de ter o horario como variavel dentro do escopo de código podendo gerar variações pela propria natureza da aplicação
|
137
137
|
- **date**
|
138
|
-
- **date** - Funções
|
138
|
+
- **date** - Funções capazes de extrair dia/mes/ano e hora/min/seg, facilitando a necessidade de formatar o resultado de datetime, a função ja devolve os valores em trio formatados em string
|
139
139
|
- **email**
|
140
|
-
- **sender_smtp** - Funções para envio de email SMPT
|
140
|
+
- **sender_smtp** - Funções para envio de email SMPT com configuração simples já default porem personalizavel
|
141
141
|
- **file**
|
142
142
|
- **counter** - Funções para contagem de arquivos
|
143
143
|
- **temp_dir** - Funções para diretórios temporários
|
144
144
|
- **log**
|
145
|
-
- **
|
146
|
-
- **
|
145
|
+
- **logger_uru** - Instanciador de stream e handlefile que cria na pasta raiz do arquivo chamador pasta de log e seta o stream para as funções de log
|
146
|
+
- **functions_logger_uru** - Funções de log parecida com os prints personalizados, setadas e personalizadas para todos log levels usado pelo ´logger_uru´, já escreve no arquivo setado além de gerar o print no terminal
|
147
|
+
- **printer** - Funções de print personalizados (alerta, erro, sucesso, informativo)
|
147
148
|
- **regex**
|
148
|
-
- **list_from_text** - Funções para gerar listas, dividindo texto usando padrão regex
|
149
|
+
- **list_from_text** - Funções para gerar listas, dividindo texto usando padrão regex (necessita de melhorias)
|
149
150
|
- **validate**
|
150
|
-
- **mail_validator** -
|
151
|
-
- **string_validator** -
|
151
|
+
- **mail_validator** - Função para validar lista de emails, devolvendo a lista com emails validos a partir da lista original
|
152
|
+
- **string_validator** - Função que valida presença de letras, palavras, e texto em strings
|
152
153
|
|
153
154
|
## Release
|
154
|
-
Versão: **Beta 1.0.
|
155
|
+
Versão: **Beta 1.0.2**
|
155
156
|
|
156
157
|
Lançamento: *20/02/2024*
|
157
158
|
|
@@ -0,0 +1,33 @@
|
|
1
|
+
rpa_suite/__init__.py,sha256=2k_ZeqU7FvqZMFqGm-EYRiV98uxUxmiy5wXygvIobPU,13
|
2
|
+
rpa_suite/suite.py,sha256=D5VUJbG3fPCXtQjGA0z6Ll9znr4-YPzZWHbpGNpZ-nU,5246
|
3
|
+
rpa_suite/clock/__init__.py,sha256=haPk94yjX88kR5YpzNNFCpzHw0T7fKAEoiaHA3-vAds,14
|
4
|
+
rpa_suite/clock/exec_at.py,sha256=APgjuY5ORzITqtyGscdrhuYxYgJ0iAx4zqQxsdNBZoQ,5826
|
5
|
+
rpa_suite/clock/scheduler.py,sha256=_EeERPcdVakgp4WoAWbQvLUeLUtZeWiONuU--EszKvI,1197
|
6
|
+
rpa_suite/clock/waiter.py,sha256=puvi1tNIG5v50tVaGckxjWjbTcnDQkpuxIZykRCi6s4,5916
|
7
|
+
rpa_suite/date/__init__.py,sha256=haPk94yjX88kR5YpzNNFCpzHw0T7fKAEoiaHA3-vAds,14
|
8
|
+
rpa_suite/date/date.py,sha256=fYCEdOcv9mU41xI0AUzMVzABPzhEjMQ4ZBCE_mBPQws,4316
|
9
|
+
rpa_suite/email/__init__.py,sha256=haPk94yjX88kR5YpzNNFCpzHw0T7fKAEoiaHA3-vAds,14
|
10
|
+
rpa_suite/email/sender_smtp.py,sha256=e6DgITLLB1Acx1yQbHBargHT3UGxLDpTdHkQ0w8EgaM,7598
|
11
|
+
rpa_suite/file/__init__.py,sha256=haPk94yjX88kR5YpzNNFCpzHw0T7fKAEoiaHA3-vAds,14
|
12
|
+
rpa_suite/file/counter.py,sha256=vFaqENBC6HLv7dHmEmibsHhLVfumTM6Dh7p-u2g6s5Y,2483
|
13
|
+
rpa_suite/file/temp_dir.py,sha256=NnoLbpgCm9ZoC2D2mzywo756d8BBt_1fhQeNUUnxsPs,7134
|
14
|
+
rpa_suite/log/__create_log_dir.py,sha256=Lm3qbIhJ0z4zBkRIdR5AFw8voBRaAGuEwr8G-6cSPGg,3318
|
15
|
+
rpa_suite/log/__init__.py,sha256=haPk94yjX88kR5YpzNNFCpzHw0T7fKAEoiaHA3-vAds,14
|
16
|
+
rpa_suite/log/_functions_logger.py,sha256=kIpJEyk-Rpg2oMo0Jjchjbh06N9PMx33GkYt6IlTTvA,2696
|
17
|
+
rpa_suite/log/_logger.py,sha256=nuHCvu8uUbr_xIJDn5BVJowXBaG-UNnYlbuPO3P9FSw,3636
|
18
|
+
rpa_suite/log/_variables.py,sha256=vCcktifFUriBQTyUaayZW8BlE8Gr7VP-tFbfomKOS5U,312
|
19
|
+
rpa_suite/log/_variables_uru.py,sha256=xRqYp49l1fFNrHczOmJ6Pqw1PKIWs0f9kxlgvuYGYys,303
|
20
|
+
rpa_suite/log/functions_logger_uru.py,sha256=Drnmpz08or3ij2HLQsrYgvWa-zxk66HFI00GxhmDGQY,6154
|
21
|
+
rpa_suite/log/log_decorator.py,sha256=cSN-WINpdbtvH_bDNurpkbMLjQlDPJKdwou6T8JHo3g,1338
|
22
|
+
rpa_suite/log/logger_uru.py,sha256=HwMHqJs9wKDfGqSny0smwOQK3wq1xLTd3x-nCGQ0IZo,3665
|
23
|
+
rpa_suite/log/printer.py,sha256=Ue-OW5w6QB9zjUDd4Y62jmfgcN6ibPM_smuY2kutr6U,3965
|
24
|
+
rpa_suite/regex/__init__.py,sha256=haPk94yjX88kR5YpzNNFCpzHw0T7fKAEoiaHA3-vAds,14
|
25
|
+
rpa_suite/regex/list_from_text.py,sha256=HJaV_nhjCjn8UkJgEsnnKO2hYuE-zVDCAH9MD6XocGw,2226
|
26
|
+
rpa_suite/validate/__init__.py,sha256=haPk94yjX88kR5YpzNNFCpzHw0T7fKAEoiaHA3-vAds,14
|
27
|
+
rpa_suite/validate/mail_validator.py,sha256=dtFdthDd3gHyJ0uEUT9yPFFP1yyq4TXLxKLV1gqcNMo,2930
|
28
|
+
rpa_suite/validate/string_validator.py,sha256=8dGAHhvZu19yIVOoX-te1pVqVi7cwDrFJKf107cLgvA,5370
|
29
|
+
rpa_suite-1.0.2.dist-info/LICENSE,sha256=5D8PIbs31iGd9i1_MDNg4SzaQnp9sEIULALh2y3WyMI,1102
|
30
|
+
rpa_suite-1.0.2.dist-info/METADATA,sha256=T19oR6oPJK7UjXuNo1UnpjXMZGJYTfukG-5yiEG0AlU,7382
|
31
|
+
rpa_suite-1.0.2.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
|
32
|
+
rpa_suite-1.0.2.dist-info/top_level.txt,sha256=HYkDtg-kJNAr3F2XAIPyJ-QBbNhk7q6jrqsFt10lz4Y,10
|
33
|
+
rpa_suite-1.0.2.dist-info/RECORD,,
|
rpa_suite-1.0.1.dist-info/RECORD
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
rpa_suite/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
rpa_suite/suite.py,sha256=d0AyTyVBtORSFn08tot4WY2x9GUnuYPaaYVOqjNcMBE,3709
|
3
|
-
rpa_suite/clock/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
|
-
rpa_suite/clock/exec_at.py,sha256=AIwgot-zhAgLVSuBOEIIirH4hGoF2yGPOHsMXKZLeDQ,5809
|
5
|
-
rpa_suite/clock/scheduler.py,sha256=N3JMu_nDB2xyWxTL4EGsA-_u0r1nUmwC9SnJTz0Frns,1178
|
6
|
-
rpa_suite/clock/waiter.py,sha256=hczvBR9f63ofR8FZbWO-p96yJgu-df8fm_bpfmliMZc,5900
|
7
|
-
rpa_suite/date/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
8
|
-
rpa_suite/date/date.py,sha256=FXdth3CLvg57T8dZApLEftJhfi2KrOev0dOvI-xVkmc,4302
|
9
|
-
rpa_suite/email/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
10
|
-
rpa_suite/email/sender_smtp.py,sha256=8v-IH2Z_tS0fwo-JW_ichoyX54-ekBkCRuCEyjWdFTs,7577
|
11
|
-
rpa_suite/file/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
12
|
-
rpa_suite/file/counter.py,sha256=DDxeMaXI1pp31-divf30BEJ3QcLnA9ucKE-D0ZpsmFU,2466
|
13
|
-
rpa_suite/file/temp_dir.py,sha256=F2ZDFLpqHO1BTtJURkiuexQNaO-pngJkk6cvTmp0JSk,7116
|
14
|
-
rpa_suite/log/__create_log_dir.py,sha256=5pxX7j3vWYQ0Dn2_04UWnfUJvvbzd78DgOpH2IaBFYM,3293
|
15
|
-
rpa_suite/log/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
16
|
-
rpa_suite/log/_variables.py,sha256=rt8W9-yDgoonAu93yuPZgPy-rtnJcq4NwzB7EL0TRX4,292
|
17
|
-
rpa_suite/log/_variables_uru.py,sha256=fe2IKhyZzroHO5WIIm_VCKwcdr8lfobOr-VctgpdQhc,279
|
18
|
-
rpa_suite/log/functions_logger.py,sha256=A6z_f6pKClz_PYl3YEM-9px1KShNox5etU3umPqqvyg,2668
|
19
|
-
rpa_suite/log/functions_logger_uru.py,sha256=GvXeAnsevLLVJCO2rhXr81ngmYl6xHfMsnEEin4Viu8,6124
|
20
|
-
rpa_suite/log/log_decorator.py,sha256=K5RhUITcPIHQmnuCZjEYYUbYyK1-WaB7EwZe2V3ugCE,1315
|
21
|
-
rpa_suite/log/logger.py,sha256=JD4mBdfWA_XE5Qq5JMLBf_LLWWonVKNZo-F-GqrRm04,3619
|
22
|
-
rpa_suite/log/logger_uru.py,sha256=HwMHqJs9wKDfGqSny0smwOQK3wq1xLTd3x-nCGQ0IZo,3665
|
23
|
-
rpa_suite/log/printer.py,sha256=sykxCpOyiMe539iXuRq-yN6HpKi1xxWiP7mZ1s8mF6k,3948
|
24
|
-
rpa_suite/regex/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
25
|
-
rpa_suite/regex/list_from_text.py,sha256=gGTNJdnmD1kwJ6oQOMwcEFFKb_U5i4rV-bSCHC-LlKQ,2202
|
26
|
-
rpa_suite/validate/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
27
|
-
rpa_suite/validate/mail_validator.py,sha256=PEa_-bON7BYnpaz-p5aEZkpza7qsoBBFKv6GwsjdjCU,2906
|
28
|
-
rpa_suite/validate/string_validator.py,sha256=7eJVTCmzVwgM513NqAAjqvo9iqHmsWQ-6LQ8-oOh_0s,5344
|
29
|
-
rpa_suite-1.0.1.dist-info/LICENSE,sha256=5D8PIbs31iGd9i1_MDNg4SzaQnp9sEIULALh2y3WyMI,1102
|
30
|
-
rpa_suite-1.0.1.dist-info/METADATA,sha256=pvVGsAISURiGv805OPLQKushyBWds5s3w9zl0fUCo5E,6604
|
31
|
-
rpa_suite-1.0.1.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
|
32
|
-
rpa_suite-1.0.1.dist-info/top_level.txt,sha256=HYkDtg-kJNAr3F2XAIPyJ-QBbNhk7q6jrqsFt10lz4Y,10
|
33
|
-
rpa_suite-1.0.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|