csc-cia-stne 0.1.4__tar.gz → 0.1.6__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 (49) hide show
  1. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/PKG-INFO +2 -1
  2. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/pyproject.toml +2 -1
  3. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/src/csc_cia_stne/google_drive.py +3 -2
  4. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/src/csc_cia_stne.egg-info/PKG-INFO +2 -1
  5. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/src/csc_cia_stne.egg-info/requires.txt +1 -0
  6. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/LICENCE +0 -0
  7. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/README.md +0 -0
  8. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/README_PYPI.md +0 -0
  9. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/setup.cfg +0 -0
  10. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/src/csc_cia_stne/__init__.py +0 -0
  11. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/src/csc_cia_stne/bc_correios.py +0 -0
  12. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/src/csc_cia_stne/bc_sta.py +0 -0
  13. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/src/csc_cia_stne/email.py +0 -0
  14. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/src/csc_cia_stne/ftp.py +0 -0
  15. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/src/csc_cia_stne/gcp_bigquery.py +0 -0
  16. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/src/csc_cia_stne/gcp_bucket.py +0 -0
  17. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/src/csc_cia_stne/karavela.py +0 -0
  18. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/src/csc_cia_stne/logger_json.py +0 -0
  19. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/src/csc_cia_stne/logger_rich.py +0 -0
  20. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/src/csc_cia_stne/provio.py +0 -0
  21. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/src/csc_cia_stne/servicenow.py +0 -0
  22. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/src/csc_cia_stne/slack.py +0 -0
  23. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/src/csc_cia_stne/stne_admin.py +0 -0
  24. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/src/csc_cia_stne/utilitarios/__init__.py +0 -0
  25. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/src/csc_cia_stne/utilitarios/functions/__init__.py +0 -0
  26. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/src/csc_cia_stne/utilitarios/functions/func_b64.py +0 -0
  27. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/src/csc_cia_stne/utilitarios/functions/func_converters.py +0 -0
  28. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/src/csc_cia_stne/utilitarios/functions/func_datetime.py +0 -0
  29. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/src/csc_cia_stne/utilitarios/functions/func_get_secret.py +0 -0
  30. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/src/csc_cia_stne/utilitarios/functions/func_recriar_pastas.py +0 -0
  31. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/src/csc_cia_stne/utilitarios/functions/func_settings.py +0 -0
  32. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/src/csc_cia_stne/utilitarios/functions/func_titulo.py +0 -0
  33. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/src/csc_cia_stne/utilitarios/validations/GcpBigQueryValidator.py +0 -0
  34. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/src/csc_cia_stne/utilitarios/validations/GoogleDriveValidator.py +0 -0
  35. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/src/csc_cia_stne/utilitarios/validations/ServiceNowValidator.py +0 -0
  36. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/src/csc_cia_stne/utilitarios/validations/__init__.py +0 -0
  37. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/src/csc_cia_stne/utilitarios/validations/ftp.py +0 -0
  38. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/src/csc_cia_stne/utilitarios/validations/gcp_bucket.py +0 -0
  39. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/src/csc_cia_stne/utilitarios/validations/waccess.py +0 -0
  40. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/src/csc_cia_stne/utilitarios/validations/web_validator.py +0 -0
  41. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/src/csc_cia_stne/utilitarios/web_screen/__init__.py +0 -0
  42. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/src/csc_cia_stne/utilitarios/web_screen/web_screen_abstract.py +0 -0
  43. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/src/csc_cia_stne/utilitarios/web_screen/web_screen_botcity.py +0 -0
  44. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/src/csc_cia_stne/utilitarios/web_screen/web_screen_selenium.py +0 -0
  45. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/src/csc_cia_stne/wacess.py +0 -0
  46. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/src/csc_cia_stne/web.py +0 -0
  47. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/src/csc_cia_stne.egg-info/SOURCES.txt +0 -0
  48. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/src/csc_cia_stne.egg-info/dependency_links.txt +0 -0
  49. {csc_cia_stne-0.1.4 → csc_cia_stne-0.1.6}/src/csc_cia_stne.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: csc_cia_stne
3
- Version: 0.1.4
3
+ Version: 0.1.6
4
4
  Summary: Biblioteca do time CSC-CIA utilizada no desenvolvimento de RPAs
5
5
  License: MIT
6
6
  Keywords: karavela,csc,cia,stone,rpa,botcity,stne
@@ -16,6 +16,7 @@ Requires-Dist: pydantic_settings
16
16
  Requires-Dist: zeep
17
17
  Requires-Dist: google-cloud-bigquery
18
18
  Requires-Dist: google-cloud-storage
19
+ Requires-Dist: google-cloud-bigquery-storage
19
20
  Requires-Dist: google-auth-oauthlib
20
21
  Requires-Dist: google-auth-httplib2
21
22
  Requires-Dist: google-api-python-client
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "csc_cia_stne"
7
- version = "0.1.04"
7
+ version = "0.1.06"
8
8
  license = { text = "MIT" }
9
9
  description = "Biblioteca do time CSC-CIA utilizada no desenvolvimento de RPAs"
10
10
  keywords = ["karavela", "csc", "cia", "stone", "rpa", "botcity", "stne"]
@@ -22,6 +22,7 @@ dependencies = [
22
22
  "zeep",
23
23
  "google-cloud-bigquery",
24
24
  "google-cloud-storage",
25
+ "google-cloud-bigquery-storage",
25
26
  "google-auth-oauthlib",
26
27
  "google-auth-httplib2",
27
28
  "google-api-python-client",
@@ -350,15 +350,16 @@ class GoogleDrive:
350
350
  fileId=file.get("id"), mimeType=mimeType
351
351
  )
352
352
  file_path = f"{path}{file["name"]}"
353
- with open(file["name"], "wb") as f:
353
+ with open(file_path, "wb") as f:
354
354
  f.write(request.execute())
355
355
  return {
356
356
  "success": True,
357
357
  "result": file_path,
358
+ "error": None,
358
359
  }
359
360
 
360
361
  except Exception as e:
361
- return {"success": False, "result": None}
362
+ return {"success": False, "result": None, "error": str(e)}
362
363
 
363
364
  def download_others_files(self, file: str, path: str):
364
365
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: csc_cia_stne
3
- Version: 0.1.4
3
+ Version: 0.1.6
4
4
  Summary: Biblioteca do time CSC-CIA utilizada no desenvolvimento de RPAs
5
5
  License: MIT
6
6
  Keywords: karavela,csc,cia,stone,rpa,botcity,stne
@@ -16,6 +16,7 @@ Requires-Dist: pydantic_settings
16
16
  Requires-Dist: zeep
17
17
  Requires-Dist: google-cloud-bigquery
18
18
  Requires-Dist: google-cloud-storage
19
+ Requires-Dist: google-cloud-bigquery-storage
19
20
  Requires-Dist: google-auth-oauthlib
20
21
  Requires-Dist: google-auth-httplib2
21
22
  Requires-Dist: google-api-python-client
@@ -8,6 +8,7 @@ pydantic_settings
8
8
  zeep
9
9
  google-cloud-bigquery
10
10
  google-cloud-storage
11
+ google-cloud-bigquery-storage
11
12
  google-auth-oauthlib
12
13
  google-auth-httplib2
13
14
  google-api-python-client
File without changes
File without changes
File without changes