berryworld 1.0.0.177678__py3-none-any.whl → 1.0.0.178885__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.
- berryworld/email_con.py +5 -0
- berryworld/sql_conn.py +1 -1
- berryworld-1.0.0.178885.dist-info/METADATA +35 -0
- {berryworld-1.0.0.177678.dist-info → berryworld-1.0.0.178885.dist-info}/RECORD +7 -7
- {berryworld-1.0.0.177678.dist-info → berryworld-1.0.0.178885.dist-info}/WHEEL +1 -1
- berryworld-1.0.0.177678.dist-info/METADATA +0 -35
- {berryworld-1.0.0.177678.dist-info → berryworld-1.0.0.178885.dist-info}/LICENSE +0 -0
- {berryworld-1.0.0.177678.dist-info → berryworld-1.0.0.178885.dist-info}/top_level.txt +0 -0
berryworld/email_con.py
CHANGED
|
@@ -313,5 +313,10 @@ class EmailConnection:
|
|
|
313
313
|
elif '.xlsx' in file_path:
|
|
314
314
|
mimetype = "application/vnd.ms-excel"
|
|
315
315
|
extension = '.xlsx'
|
|
316
|
+
elif '.html' in file_path:
|
|
317
|
+
mimetype = "application/vnd.ms-excel"
|
|
318
|
+
extension = 'text/html'
|
|
319
|
+
else:
|
|
320
|
+
raise Exception('File mime type not found')
|
|
316
321
|
|
|
317
322
|
return mimetype, extension
|
berryworld/sql_conn.py
CHANGED
|
@@ -555,7 +555,7 @@ class SQLConn:
|
|
|
555
555
|
if len(sql_statement) > 0:
|
|
556
556
|
if len(output) > 0:
|
|
557
557
|
cursor.execute(sql_statement)
|
|
558
|
-
for cursor_number in range(len(sql_statement.split(';'))):
|
|
558
|
+
for cursor_number in range(len(sql_statement.split(';')) - 1):
|
|
559
559
|
results = pd.concat([results, pd.DataFrame.from_records(cursor.fetchall(), columns=output)])
|
|
560
560
|
cursor.nextset()
|
|
561
561
|
else:
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: berryworld
|
|
3
|
+
Version: 1.0.0.178885
|
|
4
|
+
Summary: Handy classes to improve ETL processes
|
|
5
|
+
Home-page: https://www.berryworld.com
|
|
6
|
+
Author: BerryWorld ltd
|
|
7
|
+
Author-email: data@berryworld.com
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
+
Classifier: Operating System :: OS Independent
|
|
11
|
+
Requires-Python: >=3.11
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
License-File: LICENSE
|
|
14
|
+
Requires-Dist: cryptography>=3.4.8
|
|
15
|
+
Requires-Dist: msal>=1.14.0
|
|
16
|
+
Requires-Dist: numpy>=1.25.2
|
|
17
|
+
Requires-Dist: opencensus>=0.11.0
|
|
18
|
+
Requires-Dist: opencensus-ext-azure>=1.1.7
|
|
19
|
+
Requires-Dist: pandas>=1.4.2
|
|
20
|
+
Requires-Dist: psycopg2>=2.8.6
|
|
21
|
+
Requires-Dist: pyodbc>=4.0.39
|
|
22
|
+
Requires-Dist: python-dotenv>=1.0.0
|
|
23
|
+
Requires-Dist: PyYAML>=6.0
|
|
24
|
+
Requires-Dist: requests>=2.31.0
|
|
25
|
+
Requires-Dist: scipy>=1.11.1
|
|
26
|
+
Requires-Dist: setuptools>=61.2.0
|
|
27
|
+
Requires-Dist: SQLAlchemy>=1.4.32
|
|
28
|
+
Requires-Dist: cffi>=1.15.1
|
|
29
|
+
Requires-Dist: beautifulsoup4>=4.12.2
|
|
30
|
+
|
|
31
|
+
# BerryWorld
|
|
32
|
+
|
|
33
|
+
This is a package developed by the Data Team @ BerryWorld.
|
|
34
|
+
|
|
35
|
+
For more infomation: [BerryWorld](https://www.berryworld.com/)
|
|
@@ -6,7 +6,7 @@ berryworld/app_logs_query.py,sha256=U94b-z3X9cuY_KFozupUcfaYciXWBn7p_RHkoRsfROU,
|
|
|
6
6
|
berryworld/cache_data.py,sha256=2cStWbFQHimon_lHMbcM_0vU7lt-FCge96D-T9YXaxQ,2242
|
|
7
7
|
berryworld/credentials.py,sha256=Knxo4gssLT7sbaBjOTFe3mX5k70G2e0M_6CdtlddjtA,10200
|
|
8
8
|
berryworld/devops.py,sha256=BAsVonVwCXoApUOovkt-BCzwc6KnXjxRDGff_ejSGw8,9719
|
|
9
|
-
berryworld/email_con.py,sha256=
|
|
9
|
+
berryworld/email_con.py,sha256=lAadyJCTXdXJQeS9WDaTErtKxT1c9DKPJ-LpWNmWa98,14549
|
|
10
10
|
berryworld/email_logging.py,sha256=ebZ-PHZ9tCU3q-vkNnOT3-mTG7pCAmewnzzJZ9lnOjI,4476
|
|
11
11
|
berryworld/generate_env.py,sha256=Tk9Z_u7cA4Ve8YYTyLH2qwmLVAuYoTIWoFc0h8Va8lY,7842
|
|
12
12
|
berryworld/handy_mix.py,sha256=SLCAdl2xaWEewWkECzcVFUDODDEkvUgpmJjTiccyVwU,9771
|
|
@@ -17,7 +17,7 @@ berryworld/pickle_management.py,sha256=O49ojVtTqYCT510rVRTbZWWaur_-5q3HSVG03Azn8
|
|
|
17
17
|
berryworld/postgres_connection.py,sha256=whKDnchd5Feqpmxpoh2vlyn36EKHR-dVEULYq0N_4wA,8287
|
|
18
18
|
berryworld/power_automate.py,sha256=9rDuRy0v-Ttq-SThid4lOB_tD4ibkyEmobiROpa--g4,25414
|
|
19
19
|
berryworld/sharepoint_con.py,sha256=TuH-Vxk1VxjTi7x80KFssf_J8YPLRXpV27RBaFZi37U,22254
|
|
20
|
-
berryworld/sql_conn.py,sha256=
|
|
20
|
+
berryworld/sql_conn.py,sha256=F5DO006Hjm1VvFzo7D7pRimEMU8QlrctZN3JQWoe6Zs,47403
|
|
21
21
|
berryworld/teams_logging.py,sha256=8NwXyWr4fLj7W6GzAm2nRQCGFDxibQpAHDHHD24FrP8,6997
|
|
22
22
|
berryworld/transportation_solver.py,sha256=AdJPekVNufweaKDZLWYIB9qSxeVti80LaoaD-4NCSjc,5038
|
|
23
23
|
berryworld/verify_keys.py,sha256=J2J505PcmBsQ9bj0XSRtXjpY-8qwpPU1A5LQdFRicFU,4257
|
|
@@ -28,8 +28,8 @@ tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
28
28
|
tests/test_allocation_config.py,sha256=e12l6fE9U57eSPS35g6ekJ_hol7-RHg89JV60_m1BlE,4633
|
|
29
29
|
tests/test_handy_mix_config.py,sha256=Un56mz9KJmdn4K4OwzHAHLSRzDU1Xv2nFrONNuzOG04,2594
|
|
30
30
|
tests/test_xml_parser.py,sha256=3QTlhFEd6KbK6nRFKZnc35tad6wqukTbe4QrFi8mr_8,859
|
|
31
|
-
berryworld-1.0.0.
|
|
32
|
-
berryworld-1.0.0.
|
|
33
|
-
berryworld-1.0.0.
|
|
34
|
-
berryworld-1.0.0.
|
|
35
|
-
berryworld-1.0.0.
|
|
31
|
+
berryworld-1.0.0.178885.dist-info/LICENSE,sha256=vtkVCJM6E2af2gnsi2XxKPr4WY-uIbvzVLXieFND0UU,1074
|
|
32
|
+
berryworld-1.0.0.178885.dist-info/METADATA,sha256=f8pKCUKdq0Dtk7T1jmtepXYhbh1I1LIuaem2lzNDKkw,1091
|
|
33
|
+
berryworld-1.0.0.178885.dist-info/WHEEL,sha256=Mdi9PDNwEZptOjTlUcAth7XJDFtKrHYaQMPulZeBCiQ,91
|
|
34
|
+
berryworld-1.0.0.178885.dist-info/top_level.txt,sha256=GIZ5qy-P5oxfEH755vA1IMFeTVdX3-40JxMe6nOe5I8,17
|
|
35
|
+
berryworld-1.0.0.178885.dist-info/RECORD,,
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: berryworld
|
|
3
|
-
Version: 1.0.0.177678
|
|
4
|
-
Summary: Handy classes to improve ETL processes
|
|
5
|
-
Home-page: https://www.berryworld.com
|
|
6
|
-
Author: BerryWorld ltd
|
|
7
|
-
Author-email: data@berryworld.com
|
|
8
|
-
Classifier: Programming Language :: Python :: 3
|
|
9
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
-
Classifier: Operating System :: OS Independent
|
|
11
|
-
Requires-Python: >=3.11
|
|
12
|
-
Description-Content-Type: text/markdown
|
|
13
|
-
License-File: LICENSE
|
|
14
|
-
Requires-Dist: cryptography >=3.4.8
|
|
15
|
-
Requires-Dist: msal >=1.14.0
|
|
16
|
-
Requires-Dist: numpy >=1.25.2
|
|
17
|
-
Requires-Dist: opencensus >=0.11.0
|
|
18
|
-
Requires-Dist: opencensus-ext-azure >=1.1.7
|
|
19
|
-
Requires-Dist: pandas >=1.4.2
|
|
20
|
-
Requires-Dist: psycopg2 >=2.8.6
|
|
21
|
-
Requires-Dist: pyodbc >=4.0.39
|
|
22
|
-
Requires-Dist: python-dotenv >=1.0.0
|
|
23
|
-
Requires-Dist: PyYAML >=6.0
|
|
24
|
-
Requires-Dist: requests >=2.31.0
|
|
25
|
-
Requires-Dist: scipy >=1.11.1
|
|
26
|
-
Requires-Dist: setuptools >=61.2.0
|
|
27
|
-
Requires-Dist: SQLAlchemy >=1.4.32
|
|
28
|
-
Requires-Dist: cffi >=1.15.1
|
|
29
|
-
Requires-Dist: beautifulsoup4 >=4.12.2
|
|
30
|
-
|
|
31
|
-
# BerryWorld
|
|
32
|
-
|
|
33
|
-
This is a package developed by the Data Team @ BerryWorld.
|
|
34
|
-
|
|
35
|
-
For more infomation: [BerryWorld](https://www.berryworld.com/)
|
|
File without changes
|
|
File without changes
|