rpa-suite 1.3.3__py3-none-any.whl → 1.3.5__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 +4 -1
- rpa_suite/core/__init__.py +1 -0
- rpa_suite/core/clock.py +271 -0
- rpa_suite/core/date.py +138 -0
- rpa_suite/core/dir.py +182 -0
- rpa_suite/core/email.py +343 -0
- rpa_suite/core/file.py +209 -0
- rpa_suite/core/log.py +304 -0
- rpa_suite/core/print.py +197 -0
- rpa_suite/core/regex.py +62 -0
- rpa_suite/core/validate.py +220 -0
- rpa_suite/{log → functions}/__create_log_dir.py +5 -7
- rpa_suite/{file → functions}/__create_ss_dir.py +2 -2
- rpa_suite/functions/__init__.py +1 -0
- rpa_suite/{log → functions}/_functions_logger.py +8 -8
- rpa_suite/{log → functions}/_logger.py +3 -3
- rpa_suite/suite.py +238 -148
- {rpa_suite-1.3.3.dist-info → rpa_suite-1.3.5.dist-info}/METADATA +66 -55
- rpa_suite-1.3.5.dist-info/RECORD +25 -0
- rpa_suite/clock/__init__.py +0 -1
- rpa_suite/clock/exec_at.py +0 -133
- rpa_suite/clock/scheduler.py +0 -38
- rpa_suite/clock/waiter.py +0 -139
- rpa_suite/date/__init__.py +0 -1
- rpa_suite/date/date.py +0 -124
- rpa_suite/email/__init__.py +0 -1
- rpa_suite/email/sender_smtp.py +0 -203
- rpa_suite/file/__init__.py +0 -1
- rpa_suite/file/counter.py +0 -69
- rpa_suite/file/file_flag.py +0 -103
- rpa_suite/file/screen_shot.py +0 -91
- rpa_suite/file/temp_dir.py +0 -176
- rpa_suite/log/__init__.py +0 -1
- rpa_suite/log/functions_logger_uru.py +0 -172
- rpa_suite/log/log_decorator.py +0 -37
- rpa_suite/log/logger_uru.py +0 -110
- rpa_suite/regex/__init__.py +0 -1
- rpa_suite/regex/pattern_in_text.py +0 -58
- rpa_suite/validate/__init__.py +0 -1
- rpa_suite/validate/mail_validator.py +0 -93
- rpa_suite/validate/string_validator.py +0 -120
- rpa_suite-1.3.3.dist-info/RECORD +0 -36
- /rpa_suite/{log/printer.py → functions/_printer.py} +0 -0
- /rpa_suite/{log → functions}/_variables.py +0 -0
- /rpa_suite/{log → functions}/_variables_uru.py +0 -0
- {rpa_suite-1.3.3.dist-info → rpa_suite-1.3.5.dist-info}/WHEEL +0 -0
- {rpa_suite-1.3.3.dist-info → rpa_suite-1.3.5.dist-info}/licenses/LICENSE +0 -0
- {rpa_suite-1.3.3.dist-info → rpa_suite-1.3.5.dist-info}/top_level.txt +0 -0
rpa_suite/suite.py
CHANGED
@@ -1,149 +1,239 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
"""
|
29
|
-
|
30
|
-
"""MODULE CLOCK"""
|
31
|
-
from .clock.waiter import wait_for_exec, exec_and_wait
|
32
|
-
from .clock.exec_at import exec_at_hour
|
33
|
-
|
34
|
-
|
35
|
-
"""MODULE DATE"""
|
36
|
-
from .date.date import get_hms, get_dmy
|
37
|
-
|
38
|
-
|
39
|
-
"""MODULE EMAIL"""
|
40
|
-
from .email.sender_smtp import send_email
|
41
|
-
|
42
|
-
|
43
|
-
"""MODULE FILE"""
|
44
|
-
from .file.counter import count_files
|
45
|
-
from .file.temp_dir import create_temp_dir, delete_temp_dir
|
46
|
-
from .file.screen_shot import screen_shot
|
47
|
-
from .file.file_flag import file_flag_create, file_flag_delete
|
48
|
-
|
49
|
-
"""MODULE LOG"""
|
50
|
-
# from .log.loggin import logging_decorator
|
51
|
-
from .log.printer import alert_print, success_print, error_print, info_print, print_call_fn, print_retur_fn, magenta_print, blue_print
|
52
|
-
|
53
|
-
from .log.logger_uru import config_logger
|
54
|
-
from .log.functions_logger_uru import log_start_run_debug, log_debug, log_info, log_warning, log_error, log_critical
|
55
|
-
|
56
|
-
|
57
|
-
"""MODULE REGEX"""
|
58
|
-
from .regex.pattern_in_text import check_pattern_in_text
|
59
|
-
|
60
|
-
|
61
|
-
"""MODULE VALIDATE"""
|
62
|
-
from .validate.mail_validator import valid_emails
|
63
|
-
from .validate.string_validator import search_str_in
|
64
|
-
|
65
|
-
|
66
|
-
class Rpa_suite():
|
67
|
-
|
68
|
-
"""
|
69
|
-
The ``Rpa_suite`` class is a generic representation of the modules, with the aim of centralizing all submodules for access through an instance of this representational Object. It contains variables pointed to the functions of the submodules present in the rpa-site.
|
70
|
-
|
71
|
-
Call
|
72
|
-
----------
|
73
|
-
When calling the maintainer file of this class, an instance of this object will be invoked to be used or reused through another variable
|
74
|
-
|
75
|
-
Objective
|
76
|
-
----------
|
77
|
-
Flexibility being able to call each submodule individually or by importing the representational object of all submodules.
|
78
|
-
|
79
|
-
Description: pt-br
|
80
|
-
----------
|
81
|
-
Classe ``Rpa_suite`` é uma representação genérica do dos módulos, com objetivo de centralizar todos submódulos para acesso através de uma instância deste Objeto representacional. Ele contem variaveis apontadas para as funções dos submódulos presentes no rpa-site.
|
82
|
-
|
83
|
-
Chamada
|
84
|
-
----------
|
85
|
-
Ao chamar o arquivo mantenedor desta classe, sera invocada uma instancia deste objeto para poder ser utilziado ou reutilizado através de outra variável
|
86
|
-
|
87
|
-
Objetivo
|
88
|
-
----------
|
89
|
-
Flexibilidade podendo chamar cada submódulo de forma individual ou fazendo a importação do objeto representacional de todos submódulos.
|
90
|
-
"""
|
91
|
-
|
92
|
-
# clock
|
93
|
-
wait_for_exec = wait_for_exec
|
94
|
-
exec_and_wait = exec_and_wait
|
95
|
-
exec_at_hour = exec_at_hour
|
96
|
-
|
97
|
-
# date
|
98
|
-
get_hms = get_hms
|
99
|
-
get_dmy = get_dmy
|
100
|
-
|
101
|
-
# email
|
102
|
-
send_email = send_email
|
103
|
-
|
104
|
-
# file
|
105
|
-
count_files = count_files
|
106
|
-
create_temp_dir = create_temp_dir
|
107
|
-
delete_temp_dir = delete_temp_dir
|
108
|
-
screen_shot = screen_shot
|
109
|
-
file_flag_create = file_flag_create
|
110
|
-
file_flag_delete = file_flag_delete
|
111
|
-
#clear_temp_dir = clear_temp_dir
|
112
|
-
|
113
|
-
# log - printer
|
114
|
-
alert_print = alert_print
|
115
|
-
success_print = success_print
|
116
|
-
error_print = error_print
|
117
|
-
info_print = info_print
|
118
|
-
print_call_fn = print_call_fn
|
119
|
-
print_retur_fn = print_retur_fn
|
120
|
-
magenta_print = magenta_print
|
121
|
-
blue_print = blue_print
|
1
|
+
from .core.clock import Clock
|
2
|
+
from .core.date import Date
|
3
|
+
from .core.email import Email
|
4
|
+
from .core.dir import Directory
|
5
|
+
from .core.file import File
|
6
|
+
from .core.log import Log
|
7
|
+
from .core.print import Print
|
8
|
+
from .core.regex import Regex
|
9
|
+
from .core.validate import Validate
|
10
|
+
from colorama import Fore
|
11
|
+
|
12
|
+
# Windows bash colors
|
13
|
+
class Colors():
|
14
|
+
black = f'{Fore.BLACK}'
|
15
|
+
blue = f'{Fore.BLUE}'
|
16
|
+
green = f'{Fore.GREEN}'
|
17
|
+
cyan = f'{Fore.CYAN}'
|
18
|
+
red = f'{Fore.RED}'
|
19
|
+
magenta = f'{Fore.MAGENTA}'
|
20
|
+
yellow = f'{Fore.YELLOW}'
|
21
|
+
white = f'{Fore.WHITE}'
|
22
|
+
default = f'{Fore.WHITE}'
|
23
|
+
call_fn = f'{Fore.LIGHTMAGENTA_EX}'
|
24
|
+
retur_fn = f'{Fore.LIGHTYELLOW_EX}'
|
25
|
+
|
26
|
+
class Suite():
|
122
27
|
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
28
|
+
clock: Clock = Clock()
|
29
|
+
date: Date = Date()
|
30
|
+
email: Email = Email()
|
31
|
+
directory: Directory = Directory()
|
32
|
+
file: File = File()
|
33
|
+
log: Log = Log()
|
34
|
+
printer: Print = Print()
|
35
|
+
regex: Regex = Regex()
|
36
|
+
validate: Validate = Validate()
|
37
|
+
|
38
|
+
def __init__(self):
|
39
|
+
...
|
40
|
+
|
41
|
+
def success_print(self,
|
42
|
+
string_text: str,
|
43
|
+
color=Colors.green,
|
44
|
+
ending="\n") -> None:
|
45
|
+
"""
|
46
|
+
Print that indicates ``SUCCESS``. Customized with the color Green \n
|
47
|
+
|
48
|
+
Return:
|
49
|
+
----------
|
50
|
+
>>> type:None
|
51
|
+
|
52
|
+
pt-br
|
53
|
+
----------
|
54
|
+
Print que indica ``SUCESSO``. Personalizado com a cor Verde \n
|
55
|
+
|
56
|
+
Retorno:
|
57
|
+
----------
|
58
|
+
>>> type:None
|
59
|
+
"""
|
60
|
+
print(f'{color}{string_text}{Colors.default}', end=ending)
|
61
|
+
|
62
|
+
|
63
|
+
def alert_print(self,
|
64
|
+
string_text: str,
|
65
|
+
color=Colors.yellow,
|
66
|
+
ending="\n") -> None:
|
67
|
+
"""
|
68
|
+
Print that indicates ``ALERT``. Customized with the color Yellow \n
|
69
|
+
|
70
|
+
Return:
|
71
|
+
----------
|
72
|
+
>>> type:None
|
73
|
+
|
74
|
+
pt-br
|
75
|
+
----------
|
76
|
+
Print que indica ``ALERTA``. Personalizado com a cor Amarelo \n
|
77
|
+
Retorno:
|
78
|
+
----------
|
79
|
+
>>> type:None
|
80
|
+
"""
|
81
|
+
print(f'{color}{string_text}{Colors.default}', end=ending)
|
82
|
+
|
83
|
+
|
84
|
+
def info_print(self,
|
85
|
+
string_text: str,
|
86
|
+
color=Colors.cyan,
|
87
|
+
ending="\n") -> None:
|
88
|
+
"""
|
89
|
+
Print that indicates ``INFORMATION``. Customized with the color Cyan \n
|
90
|
+
|
91
|
+
Return:
|
92
|
+
----------
|
93
|
+
>>> type:None
|
94
|
+
|
95
|
+
pt-br
|
96
|
+
----------
|
97
|
+
Print que indica ``INFORMATIVO``. Personalizado com a cor Ciano \n
|
98
|
+
Retorno:
|
99
|
+
----------
|
100
|
+
>>> type:None
|
101
|
+
"""
|
102
|
+
print(f'{color}{string_text}{Colors.default}', end=ending)
|
103
|
+
|
104
|
+
|
105
|
+
def error_print(self,
|
106
|
+
string_text: str,
|
107
|
+
color=Colors.red,
|
108
|
+
ending="\n") -> None:
|
109
|
+
"""
|
110
|
+
Print that indicates ``ERROR``. Customized with the color Red \n
|
111
|
+
|
112
|
+
Return:
|
113
|
+
----------
|
114
|
+
>>> type:None
|
115
|
+
|
116
|
+
pt-br
|
117
|
+
----------
|
118
|
+
Print que indica ``ERRO``. Personalizado com a cor Vermelho \n
|
119
|
+
Retorno:
|
120
|
+
----------
|
121
|
+
>>> type:None
|
122
|
+
"""
|
123
|
+
print(f'{color}{string_text}{Colors.default}', end=ending)
|
124
|
+
|
125
|
+
|
126
|
+
def magenta_print(self,
|
127
|
+
string_text: str,
|
128
|
+
color=Colors.magenta,
|
129
|
+
ending="\n") -> None:
|
130
|
+
"""
|
131
|
+
Print customized with the color Magenta \n
|
132
|
+
|
133
|
+
Return:
|
134
|
+
----------
|
135
|
+
>>> type:None
|
136
|
+
|
137
|
+
pt-br
|
138
|
+
----------
|
139
|
+
Print personalizado com a cor Magenta \n
|
140
|
+
Retorno:
|
141
|
+
----------
|
142
|
+
>>> type:None
|
143
|
+
"""
|
144
|
+
print(f'{color}{string_text}{Colors.default}', end=ending)
|
145
|
+
|
146
|
+
|
147
|
+
def blue_print(self,
|
148
|
+
string_text: str,
|
149
|
+
color=Colors.blue,
|
150
|
+
ending="\n") -> None:
|
151
|
+
"""
|
152
|
+
Print customized with the color Blue \n
|
153
|
+
|
154
|
+
Return:
|
155
|
+
----------
|
156
|
+
>>> type:None
|
157
|
+
|
158
|
+
pt-br
|
159
|
+
----------
|
160
|
+
Print personalizado com a cor Azul \n
|
161
|
+
Retorno:
|
162
|
+
----------
|
163
|
+
>>> type:None
|
164
|
+
"""
|
165
|
+
print(f'{color}{string_text}{Colors.default}', end=ending)
|
166
|
+
|
167
|
+
|
168
|
+
def print_call_fn(self,
|
169
|
+
string_text: str,
|
170
|
+
color=Colors.call_fn,
|
171
|
+
ending="\n") -> None:
|
172
|
+
"""
|
173
|
+
Print customized for function called (log) \n
|
174
|
+
Color: Magenta Light
|
175
|
+
Return:
|
176
|
+
----------
|
177
|
+
>>> type:None
|
178
|
+
|
179
|
+
pt-br
|
180
|
+
----------
|
181
|
+
Print personalizado para log de chamada de função. \n
|
182
|
+
Cor: Magenta Light
|
183
|
+
Retorno:
|
184
|
+
----------
|
185
|
+
>>> type:None
|
186
|
+
"""
|
187
|
+
print(f'{color}{string_text}{Colors.default}', end=ending)
|
188
|
+
|
189
|
+
|
190
|
+
def print_retur_fn(self,
|
191
|
+
string_text: str,
|
192
|
+
color=Colors.retur_fn,
|
193
|
+
ending="\n") -> None:
|
194
|
+
"""
|
195
|
+
Print customized for function return (log) \n
|
196
|
+
Color: Yellow Light
|
197
|
+
Return:
|
198
|
+
----------
|
199
|
+
>>> type:None
|
200
|
+
|
201
|
+
pt-br
|
202
|
+
----------
|
203
|
+
Print personalizado para log de chamada de função. \n
|
204
|
+
Cor: Yellow Light
|
205
|
+
Retorno:
|
206
|
+
----------
|
207
|
+
>>> type:None
|
208
|
+
"""
|
209
|
+
print(f'{color}{string_text}{Colors.default}', end=ending)
|
210
|
+
|
211
|
+
|
212
|
+
def __install_all_libs(self):
|
213
|
+
"""
|
214
|
+
Metodo responsavel por instalar todas libs para uso avançado do RPA-Suite com todas funcionalidades incluindo OCR e agente de IA
|
215
|
+
"""
|
216
|
+
|
217
|
+
import subprocess
|
218
|
+
import sys
|
219
|
+
|
220
|
+
libs = [
|
221
|
+
'colorama',
|
222
|
+
'colorlog',
|
223
|
+
'email_validator',
|
224
|
+
'loguru',
|
225
|
+
'openpyxl',
|
226
|
+
'pandas',
|
227
|
+
'pyautogui',
|
228
|
+
'selenium',
|
229
|
+
'typing',
|
230
|
+
'webdriver_manager'
|
231
|
+
]
|
232
|
+
|
233
|
+
for lib in libs:
|
234
|
+
try:
|
235
|
+
subprocess.check_call([sys.executable, '-m', 'pip', 'install', lib])
|
236
|
+
self.success_print(f'Biblioteca {lib} instalada com sucesso!')
|
237
|
+
|
238
|
+
except subprocess.CalledProcessError:
|
239
|
+
self.error_print(f'Erro ao instalar biblioteca {lib}')
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: rpa_suite
|
3
|
-
Version: 1.3.
|
3
|
+
Version: 1.3.5
|
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
|
@@ -18,10 +18,13 @@ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
18
18
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
19
19
|
Description-Content-Type: text/markdown
|
20
20
|
License-File: LICENSE
|
21
|
-
Requires-Dist: loguru
|
22
21
|
Requires-Dist: colorama
|
23
|
-
Requires-Dist: email_validator
|
24
22
|
Requires-Dist: colorlog
|
23
|
+
Requires-Dist: email_validator
|
24
|
+
Requires-Dist: loguru
|
25
|
+
Requires-Dist: typing
|
26
|
+
Requires-Dist: pillow
|
27
|
+
Requires-Dist: openCV
|
25
28
|
Dynamic: author
|
26
29
|
Dynamic: author-email
|
27
30
|
Dynamic: classifier
|
@@ -43,9 +46,10 @@ Dynamic: summary
|
|
43
46
|

|
44
47
|

|
45
48
|
|
46
|
-
|
49
|
+
---
|
47
50
|
|
48
51
|
## O que é?
|
52
|
+
|
49
53
|
**RPA Suite:** um conjunto abrangente de ferramentas projetadas para simplificar e otimizar o desenvolvimento de projetos de automação RPA com Python. Embora nossa suíte seja um conjunto de Ferramentas de RPA especializado, sua versatilidade a torna igualmente útil para uma ampla gama de projetos de desenvolvimento. Esta desenvolvendo com Selenium, Botcity ou Playwright? Experimente a RPA Suite e descubra como podemos facilitar seu projeto, ou qualquer projeto de Robôs de Software.
|
50
54
|
|
51
55
|
## Sumário do conteudo
|
@@ -77,46 +81,51 @@ Nosso objetivo é se tornar a Biblioteca Python para RPA referência. Tornando o
|
|
77
81
|
- E muito mais
|
78
82
|
|
79
83
|
## Instalação
|
84
|
+
|
80
85
|
Para **instalar** o projeto, utilize o comando:
|
81
86
|
|
82
|
-
|
87
|
+
```python
|
83
88
|
>>> python -m pip install rpa-suite
|
84
|
-
|
89
|
+
```
|
90
|
+
|
85
91
|
ou no conda:
|
86
|
-
|
92
|
+
|
93
|
+
```python
|
87
94
|
conda install -c conda-forge rpa-suite
|
88
|
-
|
95
|
+
```
|
89
96
|
|
90
97
|
Após instalação basta fazer a importação do modulo e instanciar o Objeto ``suite``:
|
91
|
-
|
98
|
+
|
99
|
+
```python
|
92
100
|
from rpa_suite import suite as rpa
|
93
|
-
|
101
|
+
```
|
94
102
|
|
95
103
|
Feito isso já estará pronto para o uso:
|
96
|
-
|
104
|
+
|
105
|
+
```python
|
97
106
|
# function send mail by SMTP
|
98
107
|
rpa.send_mail(...)
|
99
|
-
|
108
|
+
```
|
100
109
|
|
101
|
-
>[!NOTE]
|
110
|
+
> [!NOTE]
|
102
111
|
>
|
103
|
-
>Para **desinstalar** o projeto, utilize o comando abaixo.
|
104
|
-
|
112
|
+
> Para **desinstalar** o projeto, utilize o comando abaixo.
|
113
|
+
> **Obs.:** como usamos algumas libs no projeto, lembre-se de desinstar elas caso necessário.
|
105
114
|
|
106
|
-
|
115
|
+
```python
|
107
116
|
>>> python -m pip uninstall rpa-suite
|
108
|
-
|
117
|
+
```
|
109
118
|
|
110
|
-
>[!IMPORTANT]
|
119
|
+
> [!IMPORTANT]
|
111
120
|
>
|
112
|
-
>Opcionalmente você pode querer desinstalar as libs que foram inclusas no projeto, sendo assim:
|
121
|
+
> Opcionalmente você pode querer desinstalar as libs que foram inclusas no projeto, sendo assim:
|
113
122
|
|
114
|
-
|
123
|
+
```python
|
115
124
|
>>> python -m pip uninstall loguru mail_validator colorama
|
116
|
-
|
117
|
-
|
125
|
+
```
|
118
126
|
|
119
127
|
## Exemplo
|
128
|
+
|
120
129
|
Do módulo principal, importe a suite. Ela retorna uma instância do Objeto de classe Rpa_suite, onde possui variáveis apontando para todas funções dos submódulos:
|
121
130
|
|
122
131
|
from rpa_suite import suite as rpa
|
@@ -124,14 +133,14 @@ Do módulo principal, importe a suite. Ela retorna uma instância do Objeto de c
|
|
124
133
|
# Usando a função de envio de email por SMTP default
|
125
134
|
rpa.send_email(my_email, my_pass, mail_to, subject, message_body)
|
126
135
|
|
127
|
-
|
128
136
|
# Usando submódulo clock para aguardar 30 (seg) e então executar uma função
|
129
137
|
time = 30
|
130
138
|
rpa.wait_for_exec(time, my_function, param1, param2)
|
131
139
|
|
132
|
-
|
133
140
|
## Dependências
|
141
|
+
|
134
142
|
No setup do nosso projeto já estão inclusas as dependências, só será necessário instalar nossa **Lib**, mas segue a lista das libs usadas:
|
143
|
+
|
135
144
|
- colorama
|
136
145
|
- loguru
|
137
146
|
- email-validator
|
@@ -139,34 +148,37 @@ No setup do nosso projeto já estão inclusas as dependências, só será necess
|
|
139
148
|
|
140
149
|
[!IMPORTANT]
|
141
150
|
No caso da função de screenshot é necessario ter as libs 'pyautogui' 'pillow' e 'pyscreeze' instalados, geralmente a instalação de pyautogui já instala as demais dependências deste caso.
|
142
|
-
|
151
|
+
|
143
152
|
## Estrutura do módulo
|
153
|
+
|
144
154
|
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
|
155
|
+
|
145
156
|
- **rpa_suite**
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
157
|
+
- **clock**
|
158
|
+
- **waiter** - Função capaz de aguardar para executar a função do argumento, ou executar a função do argumento para aguardar posteriormente
|
159
|
+
- **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
|
160
|
+
- **date**
|
161
|
+
- **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
|
162
|
+
- **email**
|
163
|
+
- **sender_smtp** - Funções para envio de email SMPT com configuração simples já default porem personalizavel
|
164
|
+
- **file**
|
165
|
+
- **counter** - Funções para contagem de arquivos
|
166
|
+
- **temp_dir** - Funções para diretórios temporários
|
167
|
+
- **screen_shot** - Função para criar diretório e arquivo de print com nome do diretório, arquivo e delay personalizáveis
|
168
|
+
- **file_flag** - Funções para criar e deletar arquivo utilizado como flag de execução, tendo path e nome do arquivo já automatico porem personalizavel para se adequar ao seu projeto
|
169
|
+
- **log**
|
170
|
+
- **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
|
171
|
+
- **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
|
172
|
+
- **printer** - Funções de print personalizados (alerta, erro, sucesso, informativo)
|
173
|
+
- **regex**
|
174
|
+
- **pattern_in_text** - Função para otimizar o uso mais comum de regex buscando padrões em um texto
|
175
|
+
- **validate**
|
176
|
+
- **mail_validator** - Função para validar lista de emails, devolvendo a lista com emails validos a partir da lista original
|
177
|
+
- **string_validator** - Função que valida presença de letras, palavras, e textos e possibilita contar as ocorrencias em uma string
|
167
178
|
|
168
179
|
## Release
|
169
|
-
|
180
|
+
|
181
|
+
Versão: **Beta 1.3.4**
|
170
182
|
|
171
183
|
Lançamento: *20/02/2024*
|
172
184
|
|
@@ -174,8 +186,7 @@ Lançamento: *20/02/2024*
|
|
174
186
|
|
175
187
|
Status: Em desenvolvimento.
|
176
188
|
|
177
|
-
|
178
|
-
### Notas da atualização: 1.3.2
|
189
|
+
### Notas da atualização: 1.3.5
|
179
190
|
|
180
191
|
- Correções de bugs em diversas funções relacionadas a tempo: *exec_at_hour* , *wait_for_exec* , *exec_and_wait*
|
181
192
|
- Correções de bugs com tempo superior a 10 minutos nas funções de data: *get_hms* e *get_dma*
|
@@ -191,13 +202,13 @@ Status: Em desenvolvimento.
|
|
191
202
|
## Mais Sobre
|
192
203
|
|
193
204
|
Para mais informações, visite nosso projeto no Github ou PyPi:
|
194
|
-
|
195
|
-
|
205
|
+
`<br>`
|
206
|
+
`<a href='https://github.com/CamiloCCarvalho/rpa_suite' target='_blank'>`
|
196
207
|
Ver no GitHub.
|
197
|
-
|
198
|
-
|
199
|
-
|
208
|
+
`</a>`
|
209
|
+
`<br>`
|
210
|
+
`<a href='https://pypi.org/project/rpa-suite/' target='_blank'>`
|
200
211
|
Ver projeto publicado no PyPI.
|
201
|
-
|
212
|
+
`</a>`
|
202
213
|
|
203
214
|
<hr>
|
@@ -0,0 +1,25 @@
|
|
1
|
+
rpa_suite/__init__.py,sha256=a01Ua3RpUt57HOYjAoBdjOhnnGIexnVxDrBmRLWgJvo,71
|
2
|
+
rpa_suite/suite.py,sha256=o5xxt4oIJhKFnFeeFnf-Lue19KZlBUcMRA_9Dyc615w,6550
|
3
|
+
rpa_suite/core/__init__.py,sha256=VROMsrhKGMqUlstH8cEqp5fwRVC12d3U3_XoxoKOzyg,28
|
4
|
+
rpa_suite/core/clock.py,sha256=qGF_fn0_n19WX4GLtzCrwrJmna9HtzfrhLYramOGZm8,12709
|
5
|
+
rpa_suite/core/date.py,sha256=dgg-A5GL67MPFP5_0Ie61ymC9pCyDmoVgCJ10zzStrw,5363
|
6
|
+
rpa_suite/core/dir.py,sha256=cwwvlPeXFEsoVFdu38Jsfw98t3CbshdS79m5D_y2txQ,7848
|
7
|
+
rpa_suite/core/email.py,sha256=zu0G6HEEIocV48RfQKAkwZIyEswwJ40RRSrNh5PEf-8,15098
|
8
|
+
rpa_suite/core/file.py,sha256=AgXmlyU_AiJ54sKwa8aTWyCjVUfuFhC9-0_m6U6zS7Y,8916
|
9
|
+
rpa_suite/core/log.py,sha256=t5TEMHuWMkx9psbbeIyPy3VHs8MJDaSh1h0rdMaYnro,10841
|
10
|
+
rpa_suite/core/print.py,sha256=PvEBm7TNNdZFa_qNX67i1JmPVToTBe7I1tQ73B17Onk,5122
|
11
|
+
rpa_suite/core/regex.py,sha256=Q2FRI-aUB6oUXunK_0f9sc5kfbZt1qnZb4w7YbzST2o,2602
|
12
|
+
rpa_suite/core/validate.py,sha256=J23xB_nXymPKR8eNJb844LJ2OETSPwFT8m2JawbTVz0,9134
|
13
|
+
rpa_suite/functions/__create_log_dir.py,sha256=-NjH3Mwv8Aa0EgZiD_TcdlSKbsoYl5EoYmPclFwjTKY,3325
|
14
|
+
rpa_suite/functions/__create_ss_dir.py,sha256=WMuDDTxM5xWudQjftC7xPr6y3IdiXjVK-GfxkQNIo4c,3377
|
15
|
+
rpa_suite/functions/__init__.py,sha256=aa0jejVvnghufR50owKcKpmYit7XVAliyN9gn9JkdLE,33
|
16
|
+
rpa_suite/functions/_functions_logger.py,sha256=hlYDEUsmmfwaPlY_YQeNQEFeT_mryHBqgBVyRdxge48,2703
|
17
|
+
rpa_suite/functions/_logger.py,sha256=gTYO9JlbX5_jDfu_4FTTajJw3_GotE2BHUbDDB1Hf5g,3643
|
18
|
+
rpa_suite/functions/_printer.py,sha256=r72zeobAi2baVbYgbfFH0h5-WMv4tSDGPNlcpZen7O0,3949
|
19
|
+
rpa_suite/functions/_variables.py,sha256=vCcktifFUriBQTyUaayZW8BlE8Gr7VP-tFbfomKOS5U,312
|
20
|
+
rpa_suite/functions/_variables_uru.py,sha256=xRqYp49l1fFNrHczOmJ6Pqw1PKIWs0f9kxlgvuYGYys,303
|
21
|
+
rpa_suite-1.3.5.dist-info/licenses/LICENSE,sha256=5D8PIbs31iGd9i1_MDNg4SzaQnp9sEIULALh2y3WyMI,1102
|
22
|
+
rpa_suite-1.3.5.dist-info/METADATA,sha256=Dt9Vj892Eu9HqRZUiyBKmtL1nh6YRC5Xe-D-zm_OSns,9348
|
23
|
+
rpa_suite-1.3.5.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
24
|
+
rpa_suite-1.3.5.dist-info/top_level.txt,sha256=HYkDtg-kJNAr3F2XAIPyJ-QBbNhk7q6jrqsFt10lz4Y,10
|
25
|
+
rpa_suite-1.3.5.dist-info/RECORD,,
|
rpa_suite/clock/__init__.py
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
# /__init__.py
|