DE-Lib 0.0.36.4__tar.gz → 0.0.38__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.
Files changed (54) hide show
  1. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/DataBase/SQLite.py +1 -1
  2. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/Utils/Generic.py +31 -2
  3. {de_lib-0.0.36.4/DE_LIB.egg-info → de_lib-0.0.38/DE_Lib.egg-info}/PKG-INFO +3 -2
  4. {de_lib-0.0.36.4/DE_LIB.egg-info → de_lib-0.0.38/DE_Lib.egg-info}/SOURCES.txt +0 -6
  5. {de_lib-0.0.36.4/DE_LIB.egg-info → de_lib-0.0.38/DE_Lib.egg-info}/requires.txt +1 -0
  6. {de_lib-0.0.36.4 → de_lib-0.0.38}/PKG-INFO +3 -2
  7. {de_lib-0.0.36.4 → de_lib-0.0.38}/setup.py +4 -4
  8. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/Cloud/__init__.py +0 -0
  9. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/DataBase/Azure.py +0 -0
  10. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/DataBase/Cache.py +0 -0
  11. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/DataBase/Firebird.py +0 -0
  12. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/DataBase/Informix.py +0 -0
  13. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/DataBase/Metadata.py +0 -0
  14. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/DataBase/MsSql.py +0 -0
  15. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/DataBase/MySql.py +0 -0
  16. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/DataBase/Oracle.py +0 -0
  17. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/DataBase/OracleDDL.py +0 -0
  18. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/DataBase/Postgres.py +0 -0
  19. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/DataBase/RedShift.py +0 -0
  20. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/DataBase/SQCipher.py +0 -0
  21. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/DataBase/__init__.py +0 -0
  22. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/Files/Avro.py +0 -0
  23. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/Files/Csv.py +0 -0
  24. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/Files/JSon.py +0 -0
  25. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/Files/Parquet.py +0 -0
  26. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/Files/Txt.py +0 -0
  27. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/Files/Xlsx.py +0 -0
  28. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/Files/Zip.py +0 -0
  29. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/Files/__init__.py +0 -0
  30. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/Log/DE_LogEventos.py +0 -0
  31. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/Log/Level.py +0 -0
  32. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/Log/Log.py +0 -0
  33. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/Log/__init__.py +0 -0
  34. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/Utils/Cipher/Aes.py +0 -0
  35. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/Utils/Cipher/Argon.py +0 -0
  36. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/Utils/Cipher/Base64.py +0 -0
  37. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/Utils/Cipher/Cipher.py +0 -0
  38. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/Utils/Cipher/Fernet.py +0 -0
  39. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/Utils/Cipher/Gcm.py +0 -0
  40. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/Utils/Cipher/Pbkdf2.py +0 -0
  41. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/Utils/Cipher/Rsa.py +0 -0
  42. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/Utils/Cipher/__init__.py +0 -0
  43. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/Utils/Colors.py +0 -0
  44. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/Utils/DateUtils.py +0 -0
  45. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/Utils/Sql.py +0 -0
  46. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/Utils/System.py +0 -0
  47. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/Utils/WebHook.py +0 -0
  48. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/Utils/__init__.py +0 -0
  49. {de_lib-0.0.36.4 → de_lib-0.0.38}/DE_Lib/__init__.py +0 -0
  50. {de_lib-0.0.36.4/DE_LIB.egg-info → de_lib-0.0.38/DE_Lib.egg-info}/dependency_links.txt +0 -0
  51. {de_lib-0.0.36.4/DE_LIB.egg-info → de_lib-0.0.38/DE_Lib.egg-info}/top_level.txt +0 -0
  52. {de_lib-0.0.36.4 → de_lib-0.0.38}/LICENCE +0 -0
  53. {de_lib-0.0.36.4 → de_lib-0.0.38}/README.md +0 -0
  54. {de_lib-0.0.36.4 → de_lib-0.0.38}/setup.cfg +0 -0
@@ -24,7 +24,7 @@ class SQLITE:
24
24
  else:
25
25
  __check_same_thread = True
26
26
 
27
- __conn = None
27
+ #__conn = None
28
28
  if not conn["driver_conexao"]:
29
29
  __conn = sq3.connect(__file, check_same_thread=__check_same_thread)
30
30
  elif conn["driver_conexao"].upper() == "SQLALCHEMY":
@@ -5,6 +5,9 @@ import random as rd
5
5
  import re
6
6
  import datetime as dt
7
7
  import sys
8
+ import pyautogui
9
+ import pygetwindow as gw
10
+ from pywinauto import Application
8
11
 
9
12
 
10
13
  class GENERIC:
@@ -265,6 +268,32 @@ class GENERIC:
265
268
  return result
266
269
  # endregion
267
270
 
268
-
269
-
271
+ @staticmethod
272
+ def mouse_move(self):
273
+ msg = result = None, None
274
+ try:
275
+ # print([w.title for w in gw.getAllWindows()])
276
+ # janela = gw.getWindowsWithTitle('Teams')
277
+ # janela[0].activate() # traz para frente
278
+ # #time.sleep(0.5)
279
+ # janela[0].maximize() # op
280
+ # app = Application().connect(title_re=".*Teams.*") # ou outro app
281
+ # app.top_window().set_focus()
282
+ now = dt.datetime.now()
283
+ date_start = dt.datetime(year=now.year, month=now.month, day=now.day, hour=0, minute=0, second=0)
284
+ date_end = dt.datetime(year=now.year, month=now.month, day=now.day, hour=18, minute=0, second=0)
285
+ print("Simulando atividade... Pressione Ctrl+C para parar.")
286
+ #while True:
287
+ while True:
288
+ if dt.datetime.now() >= date_start and dt.datetime.now() <= date_end:
289
+ pyautogui.moveRel(xOffset=0, yOffset=1, duration=0.1) # move o mouse 1 pixel pra baixo
290
+ pyautogui.moveRel(xOffset=0, yOffset=-1, duration=0.1) # e volta
291
+ #pyautogui.click()
292
+ else:
293
+ break
294
+ except Exception as error:
295
+ msg = error
296
+ result = msg
297
+ finally:
298
+ return result
270
299
 
@@ -1,8 +1,8 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: DE_Lib
3
- Version: 0.0.36.4
3
+ Version: 0.0.38
4
4
  Summary: Biblioteca de funcionalidades
5
- Home-page: https://github.com/DE-DATAx/DAX_DB.git
5
+ Home-page: https://github.com/DE-DataEng/DE_Lib.git
6
6
  Author: Almir J Gomes
7
7
  Author-email: almir.jg@hotmail.com
8
8
  Description-Content-Type: text/markdown
@@ -17,6 +17,7 @@ Requires-Dist: redshift-connector
17
17
  Requires-Dist: SQLAlchemy==2.0.38
18
18
  Requires-Dist: bcrypt==4.3.0
19
19
  Requires-Dist: argon2-cffi==23.1.0
20
+ Requires-Dist: pyautogui
20
21
  Dynamic: author
21
22
  Dynamic: author-email
22
23
  Dynamic: description
@@ -1,11 +1,6 @@
1
1
  LICENCE
2
2
  README.md
3
3
  setup.py
4
- DE_LIB.egg-info/PKG-INFO
5
- DE_LIB.egg-info/SOURCES.txt
6
- DE_LIB.egg-info/dependency_links.txt
7
- DE_LIB.egg-info/requires.txt
8
- DE_LIB.egg-info/top_level.txt
9
4
  DE_Lib/__init__.py
10
5
  DE_Lib.egg-info/PKG-INFO
11
6
  DE_Lib.egg-info/SOURCES.txt
@@ -42,7 +37,6 @@ DE_Lib/Log/__init__.py
42
37
  DE_Lib/Utils/Colors.py
43
38
  DE_Lib/Utils/DateUtils.py
44
39
  DE_Lib/Utils/Generic.py
45
- DE_Lib/Utils/SQL.py
46
40
  DE_Lib/Utils/Sql.py
47
41
  DE_Lib/Utils/System.py
48
42
  DE_Lib/Utils/WebHook.py
@@ -8,3 +8,4 @@ redshift-connector
8
8
  SQLAlchemy==2.0.38
9
9
  bcrypt==4.3.0
10
10
  argon2-cffi==23.1.0
11
+ pyautogui
@@ -1,8 +1,8 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: DE_Lib
3
- Version: 0.0.36.4
3
+ Version: 0.0.38
4
4
  Summary: Biblioteca de funcionalidades
5
- Home-page: https://github.com/DE-DATAx/DAX_DB.git
5
+ Home-page: https://github.com/DE-DataEng/DE_Lib.git
6
6
  Author: Almir J Gomes
7
7
  Author-email: almir.jg@hotmail.com
8
8
  Description-Content-Type: text/markdown
@@ -17,6 +17,7 @@ Requires-Dist: redshift-connector
17
17
  Requires-Dist: SQLAlchemy==2.0.38
18
18
  Requires-Dist: bcrypt==4.3.0
19
19
  Requires-Dist: argon2-cffi==23.1.0
20
+ Requires-Dist: pyautogui
20
21
  Dynamic: author
21
22
  Dynamic: author-email
22
23
  Dynamic: description
@@ -1,8 +1,7 @@
1
1
  from setuptools import setup, find_packages
2
2
  setup(
3
3
  name='DE_Lib',
4
- version='0.0.36.4'
5
- ,
4
+ version='0.0.38',
6
5
  author='Almir J Gomes',
7
6
  author_email='almir.jg@hotmail.com',
8
7
  packages=find_packages(),
@@ -16,11 +15,12 @@ setup(
16
15
  "redshift-connector",
17
16
  "SQLAlchemy==2.0.38",
18
17
  "bcrypt==4.3.0",
19
- "argon2-cffi==23.1.0"
18
+ "argon2-cffi==23.1.0",
19
+ "pyautogui"
20
20
  ],
21
21
  python_requeries=">=3.9",
22
22
  description="Biblioteca de funcionalidades",
23
23
  long_description=open("README.md").read(),
24
24
  long_description_content_type="text/markdown",
25
- url='https://github.com/DE-DATAx/DAX_DB.git',
25
+ url='https://github.com/DE-DataEng/DE_Lib.git',
26
26
  )
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes