wcp-library 1.2.1__py3-none-any.whl → 1.2.2__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.
wcp_library/__init__.py CHANGED
@@ -13,3 +13,16 @@ if getattr(sys, 'frozen', False):
13
13
  application_path = Path(application_path).parent
14
14
  else:
15
15
  application_path = Path().absolute()
16
+
17
+
18
+ def divide_chunks(list_obj: list, size: int) -> list:
19
+ """
20
+ Divide a list into chunks of size
21
+
22
+ :param list_obj:
23
+ :param size:
24
+ :return:
25
+ """
26
+
27
+ for i in range(0, len(list_obj), size):
28
+ yield list_obj[i:i + size]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wcp-library
3
- Version: 1.2.1
3
+ Version: 1.2.2
4
4
  Summary: Common utilites for internal development at WCP
5
5
  Home-page: https://github.com/Whitecap-DNA/WCP-Library
6
6
  Author: Mitch-Petersen
@@ -1,4 +1,4 @@
1
- wcp_library/__init__.py,sha256=7JG050lnLc-Djo5MyftR_keI7-vZjlBwmx-LLdEVUCM,349
1
+ wcp_library/__init__.py,sha256=hwLbcu00uI6L_xjXO9-I0YcODl2WtIOkdNLoDcXv7zk,591
2
2
  wcp_library/async_credentials/__init__.py,sha256=ny6UitVV_xIecVzaWuHrJO9LpywBPke6u4C0F2wiM7o,1881
3
3
  wcp_library/async_credentials/api.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  wcp_library/async_credentials/oracle.py,sha256=MvC7wsHnSyAyPGnRVlH0dvvW2xk5ap_IAByoHX4rUWY,5436
@@ -20,6 +20,6 @@ wcp_library/selenium_helper.py,sha256=rlphTXsUgnbaXZknY5nfQqxFhnc7UmrpzhV3hQ-cv7
20
20
  wcp_library/sql/__init__.py,sha256=CLlBEBrWVAwE79bUxuQiwikSrYH8m9QRYSJ2l0-ofsY,1003
21
21
  wcp_library/sql/oracle.py,sha256=a0wc9zwBdzhZCZFRWxZlokDJEEt-HqhqmwRbtp2T8ZA,7342
22
22
  wcp_library/sql/postgres.py,sha256=397Ii0ImjEo_e_QuWJRazfs0WpT9cGrnc6sBPyr4UyY,6596
23
- wcp_library-1.2.1.dist-info/METADATA,sha256=OTbh7b1itfvVpO9ex6-yxz6MP9ZsjvKF_C9UFDdEcwk,1513
24
- wcp_library-1.2.1.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
25
- wcp_library-1.2.1.dist-info/RECORD,,
23
+ wcp_library-1.2.2.dist-info/METADATA,sha256=c3w7APbcjSEvXv1JFvRJzyyxMSgi7RuaZ_pYfs2nS_s,1513
24
+ wcp_library-1.2.2.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
25
+ wcp_library-1.2.2.dist-info/RECORD,,