nano-wait 3.0__tar.gz → 3.1.0__tar.gz

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.

Potentially problematic release.


This version of nano-wait might be problematic. Click here for more details.

@@ -0,0 +1,92 @@
1
+ Metadata-Version: 2.4
2
+ Name: nano_wait
3
+ Version: 3.1.0
4
+ Summary: Adaptive waiting and smart automation library — includes Wi-Fi, system context, and Vision Mode for screen-based decisions.
5
+ Author: Luiz Filipe Seabra de Marco
6
+ Author-email: luizfilipeseabra@icloud.com
7
+ License: MIT License
8
+ Keywords: automation automação wifi wait vision ocr screen adaptive ai
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: License :: OSI Approved :: MIT License
11
+ Classifier: Operating System :: OS Independent
12
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
13
+ Classifier: Topic :: Utilities
14
+ Classifier: Intended Audience :: Developers
15
+ Requires-Python: >=3.8
16
+ Description-Content-Type: text/markdown
17
+ License-File: LICENSE
18
+ Requires-Dist: psutil
19
+ Requires-Dist: pywifi
20
+ Provides-Extra: vision
21
+ Requires-Dist: pyautogui; extra == "vision"
22
+ Requires-Dist: pytesseract; extra == "vision"
23
+ Requires-Dist: pynput; extra == "vision"
24
+ Requires-Dist: opencv-python; extra == "vision"
25
+ Requires-Dist: numpy; extra == "vision"
26
+ Dynamic: author
27
+ Dynamic: author-email
28
+ Dynamic: classifier
29
+ Dynamic: description
30
+ Dynamic: description-content-type
31
+ Dynamic: keywords
32
+ Dynamic: license
33
+ Dynamic: license-file
34
+ Dynamic: provides-extra
35
+ Dynamic: requires-dist
36
+ Dynamic: requires-python
37
+ Dynamic: summary
38
+
39
+ # Nano-Wait
40
+
41
+ Nano-Wait é uma biblioteca Python para **automação inteligente de telas e leitura de dados**, agora com **Módulo de Visão**, permitindo capturar números e textos diretamente da tela e executar ações automatizadas com base nas informações detectadas.
42
+
43
+ ## Funcionalidades Principais
44
+
45
+ ### Espera Inteligente (Wait)
46
+
47
+ Substitui `time.sleep` por esperas inteligentes, evitando atrasos desnecessários e tornando scripts mais confiáveis.
48
+
49
+ **Exemplos:**
50
+ ```python
51
+ from nano_wait import wait
52
+
53
+ # Aguarda até que um botão esteja visível
54
+ wait.until_visible(selector="button#start")
55
+
56
+ # Aguarda até que um valor específico apareça
57
+ wait.until_text("Processo concluído")
58
+ ### Visão Inteligente (Vision)
59
+
60
+ A partir da versão 3.0, Nano-Wait inclui **OCR** para ler números e textos da tela e tomar decisões automáticas.
61
+
62
+ **Principais funcionalidades:**
63
+ * Marcação de múltiplas regiões: Permite capturar várias áreas da tela simultaneamente.
64
+ * **Modos inteligentes:**
65
+ * `observe`: apenas lê e imprime valores detectados.
66
+ * `decision`: lê valores e executa ações automáticas.
67
+ * `learn`: registra padrões visuais para decisões futuras.
68
+
69
+ **Exemplo de uso:**
70
+ ```python
71
+ from nano_wait.vision import Vision
72
+
73
+ vision = Vision()
74
+ vision.mark_regions() # Interativo: marque regiões na tela
75
+ vision.set_mode("observe") # Modos: observe, decision, learn
76
+ vision.run() # Executa leitura ou ações
77
+ ### Ações Automatizadas
78
+
79
+ Execute ações automáticas após detectar padrões ou valores na tela.
80
+
81
+ **Exemplos de ações:**
82
+ * Clique simples ou duplo
83
+ * Pular itens
84
+ * Executar funções customizadas
85
+
86
+ ```python
87
+ def custom_action(value):
88
+ if value > 100:
89
+ print("Valor alto detectado!")
90
+ # clique ou outra ação
91
+
92
+ vision.set_custom_action(custom_action)
@@ -0,0 +1,54 @@
1
+ # Nano-Wait
2
+
3
+ Nano-Wait é uma biblioteca Python para **automação inteligente de telas e leitura de dados**, agora com **Módulo de Visão**, permitindo capturar números e textos diretamente da tela e executar ações automatizadas com base nas informações detectadas.
4
+
5
+ ## Funcionalidades Principais
6
+
7
+ ### Espera Inteligente (Wait)
8
+
9
+ Substitui `time.sleep` por esperas inteligentes, evitando atrasos desnecessários e tornando scripts mais confiáveis.
10
+
11
+ **Exemplos:**
12
+ ```python
13
+ from nano_wait import wait
14
+
15
+ # Aguarda até que um botão esteja visível
16
+ wait.until_visible(selector="button#start")
17
+
18
+ # Aguarda até que um valor específico apareça
19
+ wait.until_text("Processo concluído")
20
+ ### Visão Inteligente (Vision)
21
+
22
+ A partir da versão 3.0, Nano-Wait inclui **OCR** para ler números e textos da tela e tomar decisões automáticas.
23
+
24
+ **Principais funcionalidades:**
25
+ * Marcação de múltiplas regiões: Permite capturar várias áreas da tela simultaneamente.
26
+ * **Modos inteligentes:**
27
+ * `observe`: apenas lê e imprime valores detectados.
28
+ * `decision`: lê valores e executa ações automáticas.
29
+ * `learn`: registra padrões visuais para decisões futuras.
30
+
31
+ **Exemplo de uso:**
32
+ ```python
33
+ from nano_wait.vision import Vision
34
+
35
+ vision = Vision()
36
+ vision.mark_regions() # Interativo: marque regiões na tela
37
+ vision.set_mode("observe") # Modos: observe, decision, learn
38
+ vision.run() # Executa leitura ou ações
39
+ ### Ações Automatizadas
40
+
41
+ Execute ações automáticas após detectar padrões ou valores na tela.
42
+
43
+ **Exemplos de ações:**
44
+ * Clique simples ou duplo
45
+ * Pular itens
46
+ * Executar funções customizadas
47
+
48
+ ```python
49
+ def custom_action(value):
50
+ if value > 100:
51
+ print("Valor alto detectado!")
52
+ # clique ou outra ação
53
+
54
+ vision.set_custom_action(custom_action)
@@ -0,0 +1,92 @@
1
+ Metadata-Version: 2.4
2
+ Name: nano_wait
3
+ Version: 3.1.0
4
+ Summary: Adaptive waiting and smart automation library — includes Wi-Fi, system context, and Vision Mode for screen-based decisions.
5
+ Author: Luiz Filipe Seabra de Marco
6
+ Author-email: luizfilipeseabra@icloud.com
7
+ License: MIT License
8
+ Keywords: automation automação wifi wait vision ocr screen adaptive ai
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: License :: OSI Approved :: MIT License
11
+ Classifier: Operating System :: OS Independent
12
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
13
+ Classifier: Topic :: Utilities
14
+ Classifier: Intended Audience :: Developers
15
+ Requires-Python: >=3.8
16
+ Description-Content-Type: text/markdown
17
+ License-File: LICENSE
18
+ Requires-Dist: psutil
19
+ Requires-Dist: pywifi
20
+ Provides-Extra: vision
21
+ Requires-Dist: pyautogui; extra == "vision"
22
+ Requires-Dist: pytesseract; extra == "vision"
23
+ Requires-Dist: pynput; extra == "vision"
24
+ Requires-Dist: opencv-python; extra == "vision"
25
+ Requires-Dist: numpy; extra == "vision"
26
+ Dynamic: author
27
+ Dynamic: author-email
28
+ Dynamic: classifier
29
+ Dynamic: description
30
+ Dynamic: description-content-type
31
+ Dynamic: keywords
32
+ Dynamic: license
33
+ Dynamic: license-file
34
+ Dynamic: provides-extra
35
+ Dynamic: requires-dist
36
+ Dynamic: requires-python
37
+ Dynamic: summary
38
+
39
+ # Nano-Wait
40
+
41
+ Nano-Wait é uma biblioteca Python para **automação inteligente de telas e leitura de dados**, agora com **Módulo de Visão**, permitindo capturar números e textos diretamente da tela e executar ações automatizadas com base nas informações detectadas.
42
+
43
+ ## Funcionalidades Principais
44
+
45
+ ### Espera Inteligente (Wait)
46
+
47
+ Substitui `time.sleep` por esperas inteligentes, evitando atrasos desnecessários e tornando scripts mais confiáveis.
48
+
49
+ **Exemplos:**
50
+ ```python
51
+ from nano_wait import wait
52
+
53
+ # Aguarda até que um botão esteja visível
54
+ wait.until_visible(selector="button#start")
55
+
56
+ # Aguarda até que um valor específico apareça
57
+ wait.until_text("Processo concluído")
58
+ ### Visão Inteligente (Vision)
59
+
60
+ A partir da versão 3.0, Nano-Wait inclui **OCR** para ler números e textos da tela e tomar decisões automáticas.
61
+
62
+ **Principais funcionalidades:**
63
+ * Marcação de múltiplas regiões: Permite capturar várias áreas da tela simultaneamente.
64
+ * **Modos inteligentes:**
65
+ * `observe`: apenas lê e imprime valores detectados.
66
+ * `decision`: lê valores e executa ações automáticas.
67
+ * `learn`: registra padrões visuais para decisões futuras.
68
+
69
+ **Exemplo de uso:**
70
+ ```python
71
+ from nano_wait.vision import Vision
72
+
73
+ vision = Vision()
74
+ vision.mark_regions() # Interativo: marque regiões na tela
75
+ vision.set_mode("observe") # Modos: observe, decision, learn
76
+ vision.run() # Executa leitura ou ações
77
+ ### Ações Automatizadas
78
+
79
+ Execute ações automáticas após detectar padrões ou valores na tela.
80
+
81
+ **Exemplos de ações:**
82
+ * Clique simples ou duplo
83
+ * Pular itens
84
+ * Executar funções customizadas
85
+
86
+ ```python
87
+ def custom_action(value):
88
+ if value > 100:
89
+ print("Valor alto detectado!")
90
+ # clique ou outra ação
91
+
92
+ vision.set_custom_action(custom_action)
@@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as arq:
5
5
 
6
6
  setup(
7
7
  name='nano_wait',
8
- version='3.0',
8
+ version='3.1.0',
9
9
  license='MIT License',
10
10
  author='Luiz Filipe Seabra de Marco',
11
11
  author_email='luizfilipeseabra@icloud.com',
nano_wait-3.0/PKG-INFO DELETED
@@ -1,61 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: nano_wait
3
- Version: 3.0
4
- Summary: Adaptive waiting and smart automation library — includes Wi-Fi, system context, and Vision Mode for screen-based decisions.
5
- Author: Luiz Filipe Seabra de Marco
6
- Author-email: luizfilipeseabra@icloud.com
7
- License: MIT License
8
- Keywords: automation automação wifi wait vision ocr screen adaptive ai
9
- Classifier: Programming Language :: Python :: 3
10
- Classifier: License :: OSI Approved :: MIT License
11
- Classifier: Operating System :: OS Independent
12
- Classifier: Topic :: Software Development :: Libraries :: Python Modules
13
- Classifier: Topic :: Utilities
14
- Classifier: Intended Audience :: Developers
15
- Requires-Python: >=3.8
16
- Description-Content-Type: text/markdown
17
- License-File: LICENSE
18
- Requires-Dist: psutil
19
- Requires-Dist: pywifi
20
- Provides-Extra: vision
21
- Requires-Dist: pyautogui; extra == "vision"
22
- Requires-Dist: pytesseract; extra == "vision"
23
- Requires-Dist: pynput; extra == "vision"
24
- Requires-Dist: opencv-python; extra == "vision"
25
- Requires-Dist: numpy; extra == "vision"
26
- Dynamic: author
27
- Dynamic: author-email
28
- Dynamic: classifier
29
- Dynamic: description
30
- Dynamic: description-content-type
31
- Dynamic: keywords
32
- Dynamic: license
33
- Dynamic: license-file
34
- Dynamic: provides-extra
35
- Dynamic: requires-dist
36
- Dynamic: requires-python
37
- Dynamic: summary
38
-
39
- # Nano-Wait Vision Module
40
-
41
- Nano-Wait agora inclui um módulo de **Visão Inteligente**, capaz de ler números diretamente da tela e tomar decisões automáticas em aplicativos ou vídeos.
42
-
43
- ## Funcionalidades principais
44
-
45
- - **Múltiplas regiões**: capture números de várias áreas da tela ao mesmo tempo.
46
- - **Marcação interativa**: selecione regiões da tela facilmente usando o mouse com `mark_region()`.
47
- - **Modos inteligentes**:
48
- - `observe`: apenas lê e exibe números.
49
- - `decision`: lê números e executa ações automáticas com base em valores.
50
- - `learn`: registra padrões visuais para uso futuro.
51
- - **Ações automatizadas**: clique duplo, pular itens, etc.
52
- - Compatível com macOS, Windows e Linux.
53
-
54
- ## Instalação
55
-
56
- ```bash
57
- pip install -e .
58
- # Dependências para o módulo de visão
59
- pip install pyautogui pytesseract pynput opencv-python-headless
60
- # macOS: instale o Tesseract OCR
61
- brew install tesseract
nano_wait-3.0/README.md DELETED
@@ -1,23 +0,0 @@
1
- # Nano-Wait Vision Module
2
-
3
- Nano-Wait agora inclui um módulo de **Visão Inteligente**, capaz de ler números diretamente da tela e tomar decisões automáticas em aplicativos ou vídeos.
4
-
5
- ## Funcionalidades principais
6
-
7
- - **Múltiplas regiões**: capture números de várias áreas da tela ao mesmo tempo.
8
- - **Marcação interativa**: selecione regiões da tela facilmente usando o mouse com `mark_region()`.
9
- - **Modos inteligentes**:
10
- - `observe`: apenas lê e exibe números.
11
- - `decision`: lê números e executa ações automáticas com base em valores.
12
- - `learn`: registra padrões visuais para uso futuro.
13
- - **Ações automatizadas**: clique duplo, pular itens, etc.
14
- - Compatível com macOS, Windows e Linux.
15
-
16
- ## Instalação
17
-
18
- ```bash
19
- pip install -e .
20
- # Dependências para o módulo de visão
21
- pip install pyautogui pytesseract pynput opencv-python-headless
22
- # macOS: instale o Tesseract OCR
23
- brew install tesseract
@@ -1,61 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: nano_wait
3
- Version: 3.0
4
- Summary: Adaptive waiting and smart automation library — includes Wi-Fi, system context, and Vision Mode for screen-based decisions.
5
- Author: Luiz Filipe Seabra de Marco
6
- Author-email: luizfilipeseabra@icloud.com
7
- License: MIT License
8
- Keywords: automation automação wifi wait vision ocr screen adaptive ai
9
- Classifier: Programming Language :: Python :: 3
10
- Classifier: License :: OSI Approved :: MIT License
11
- Classifier: Operating System :: OS Independent
12
- Classifier: Topic :: Software Development :: Libraries :: Python Modules
13
- Classifier: Topic :: Utilities
14
- Classifier: Intended Audience :: Developers
15
- Requires-Python: >=3.8
16
- Description-Content-Type: text/markdown
17
- License-File: LICENSE
18
- Requires-Dist: psutil
19
- Requires-Dist: pywifi
20
- Provides-Extra: vision
21
- Requires-Dist: pyautogui; extra == "vision"
22
- Requires-Dist: pytesseract; extra == "vision"
23
- Requires-Dist: pynput; extra == "vision"
24
- Requires-Dist: opencv-python; extra == "vision"
25
- Requires-Dist: numpy; extra == "vision"
26
- Dynamic: author
27
- Dynamic: author-email
28
- Dynamic: classifier
29
- Dynamic: description
30
- Dynamic: description-content-type
31
- Dynamic: keywords
32
- Dynamic: license
33
- Dynamic: license-file
34
- Dynamic: provides-extra
35
- Dynamic: requires-dist
36
- Dynamic: requires-python
37
- Dynamic: summary
38
-
39
- # Nano-Wait Vision Module
40
-
41
- Nano-Wait agora inclui um módulo de **Visão Inteligente**, capaz de ler números diretamente da tela e tomar decisões automáticas em aplicativos ou vídeos.
42
-
43
- ## Funcionalidades principais
44
-
45
- - **Múltiplas regiões**: capture números de várias áreas da tela ao mesmo tempo.
46
- - **Marcação interativa**: selecione regiões da tela facilmente usando o mouse com `mark_region()`.
47
- - **Modos inteligentes**:
48
- - `observe`: apenas lê e exibe números.
49
- - `decision`: lê números e executa ações automáticas com base em valores.
50
- - `learn`: registra padrões visuais para uso futuro.
51
- - **Ações automatizadas**: clique duplo, pular itens, etc.
52
- - Compatível com macOS, Windows e Linux.
53
-
54
- ## Instalação
55
-
56
- ```bash
57
- pip install -e .
58
- # Dependências para o módulo de visão
59
- pip install pyautogui pytesseract pynput opencv-python-headless
60
- # macOS: instale o Tesseract OCR
61
- brew install tesseract
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes