berryworld 1.0.0.182402__py3-none-any.whl → 1.0.0.183460__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.
@@ -10,7 +10,7 @@ class PickleManagement:
10
10
  """ Initialize the class
11
11
  :param path: Default path to store and retrieve the files
12
12
  """
13
- self.path = path
13
+ self.path = path if str(path).endswith('/') else path + '/'
14
14
 
15
15
  def save_file(self, data, filename, path=''):
16
16
  """ Save data to path + table_nameSave data to path + table_name
berryworld/verify_keys.py CHANGED
@@ -14,9 +14,11 @@ load_dotenv(os.path.join(os.getcwd(), '.env'))
14
14
  class Verify:
15
15
  """ Encrypt and Verify keys """
16
16
 
17
- def __init__(self, key_name: str = 'SECRET_KEY'):
17
+ def __init__(self, key_name: str = 'SECRET_KEY', key_override: str = None):
18
18
  """ Initialize the class """
19
19
  self.key = os.environ.get(key_name)
20
+ if key_override is not None:
21
+ self.key = key_override
20
22
  self.iterations = 100_000
21
23
 
22
24
  def decrypt(self, token: str) -> str:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: berryworld
3
- Version: 1.0.0.182402
3
+ Version: 1.0.0.183460
4
4
  Summary: Handy classes to improve ETL processes
5
5
  Home-page: https://www.berryworld.com
6
6
  Author: BerryWorld ltd
@@ -15,7 +15,7 @@ Requires-Dist: cryptography>=3.4.8
15
15
  Requires-Dist: msal>=1.14.0
16
16
  Requires-Dist: numpy>=1.25.2
17
17
  Requires-Dist: opencensus>=0.11.0
18
- Requires-Dist: opencensus-ext-azure>=1.1.7
18
+ Requires-Dist: opencensus_ext_azure>=1.1.7
19
19
  Requires-Dist: pandas>=1.4.2
20
20
  Requires-Dist: psycopg2>=2.8.6
21
21
  Requires-Dist: pyodbc>=4.0.39
@@ -14,7 +14,7 @@ berryworld/logging.py,sha256=tOxzaFALQm3aVVEc3I7t8MU6PwgUI9VSnzNCH9yRryo,1013
14
14
  berryworld/logic_apps.py,sha256=a0uU4tNO3v2w7grdBv-OOx4hUf7VBIerJpwZ9U-29dQ,14591
15
15
  berryworld/microsoft_teams.py,sha256=8uPo0yku-euBj2VdzBoZCeX3IcsCCOqISLqaVZUVxfA,16030
16
16
  berryworld/persistent_storage.py,sha256=KQA57ez8eVTUCtudYkHPg_S5lcOEa_E7xXcaN1DYMMc,8601
17
- berryworld/pickle_management.py,sha256=O49ojVtTqYCT510rVRTbZWWaur_-5q3HSVG03Azn8mQ,2393
17
+ berryworld/pickle_management.py,sha256=5o6UuXBpTj23Jgpz6sj9V-vdcdWBK1xMEckWxT-Whj4,2436
18
18
  berryworld/postgres_connection.py,sha256=whKDnchd5Feqpmxpoh2vlyn36EKHR-dVEULYq0N_4wA,8287
19
19
  berryworld/power_automate.py,sha256=9rDuRy0v-Ttq-SThid4lOB_tD4ibkyEmobiROpa--g4,25414
20
20
  berryworld/sharepoint_con.py,sha256=TuH-Vxk1VxjTi7x80KFssf_J8YPLRXpV27RBaFZi37U,22254
@@ -22,7 +22,7 @@ berryworld/snowflake_conn.py,sha256=52ugfkyVCbR_Xr8YiZtNwPrwe93_1uE9uRy_VNPT6Gs,
22
22
  berryworld/sql_conn.py,sha256=3_uPrn3rJjVr7-9wcXkh0CSitFD2ncQGGZjttFl6ELM,47803
23
23
  berryworld/teams_logging.py,sha256=8NwXyWr4fLj7W6GzAm2nRQCGFDxibQpAHDHHD24FrP8,6997
24
24
  berryworld/transportation_solver.py,sha256=gdlHRgl2wlp5EV0uhKIOYtkkbAlHaFHGktnMgvuENWE,5022
25
- berryworld/verify_keys.py,sha256=J2J505PcmBsQ9bj0XSRtXjpY-8qwpPU1A5LQdFRicFU,4257
25
+ berryworld/verify_keys.py,sha256=X4Nuz3o0XbRDYofbJGvxIDeN5gfWj19PN7lhO6T3hR8,4356
26
26
  berryworld/vivantio.py,sha256=QfZo0UKqkzVRg_LyiwivNd3aEup4TH57x4KxLZkCJwc,10627
27
27
  berryworld/vivantio_logging.py,sha256=ciy7gA4u3FrgUIpEBnMgocbNPp6jcu9TPoy-kLcrTZU,5736
28
28
  berryworld/xml_parser.py,sha256=HWD71NaTN3DaIOGT6Wzxs4CEsroFhGQwe9iPLIL80Co,957
@@ -30,8 +30,8 @@ tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
30
30
  tests/test_allocation_config.py,sha256=e12l6fE9U57eSPS35g6ekJ_hol7-RHg89JV60_m1BlE,4633
31
31
  tests/test_handy_mix_config.py,sha256=Un56mz9KJmdn4K4OwzHAHLSRzDU1Xv2nFrONNuzOG04,2594
32
32
  tests/test_xml_parser.py,sha256=3QTlhFEd6KbK6nRFKZnc35tad6wqukTbe4QrFi8mr_8,859
33
- berryworld-1.0.0.182402.dist-info/LICENSE,sha256=vtkVCJM6E2af2gnsi2XxKPr4WY-uIbvzVLXieFND0UU,1074
34
- berryworld-1.0.0.182402.dist-info/METADATA,sha256=3c1ssYJi7EB8wK5y6yYE7eaPbEgFVLnZL95yAm1yB_0,1174
35
- berryworld-1.0.0.182402.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
36
- berryworld-1.0.0.182402.dist-info/top_level.txt,sha256=GIZ5qy-P5oxfEH755vA1IMFeTVdX3-40JxMe6nOe5I8,17
37
- berryworld-1.0.0.182402.dist-info/RECORD,,
33
+ berryworld-1.0.0.183460.dist-info/LICENSE,sha256=vtkVCJM6E2af2gnsi2XxKPr4WY-uIbvzVLXieFND0UU,1074
34
+ berryworld-1.0.0.183460.dist-info/METADATA,sha256=lynl44dI7pcxHOzpGitNYprUAh4UjMMe1edSKfRgHw0,1174
35
+ berryworld-1.0.0.183460.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
36
+ berryworld-1.0.0.183460.dist-info/top_level.txt,sha256=GIZ5qy-P5oxfEH755vA1IMFeTVdX3-40JxMe6nOe5I8,17
37
+ berryworld-1.0.0.183460.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.5.0)
2
+ Generator: setuptools (75.6.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5