wcp-library 1.2.1__tar.gz → 1.2.2__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.
- {wcp_library-1.2.1 → wcp_library-1.2.2}/PKG-INFO +1 -1
- {wcp_library-1.2.1 → wcp_library-1.2.2}/pyproject.toml +1 -1
- {wcp_library-1.2.1 → wcp_library-1.2.2}/wcp_library/__init__.py +13 -0
- {wcp_library-1.2.1 → wcp_library-1.2.2}/README.md +0 -0
- {wcp_library-1.2.1 → wcp_library-1.2.2}/wcp_library/async_credentials/__init__.py +0 -0
- {wcp_library-1.2.1 → wcp_library-1.2.2}/wcp_library/async_credentials/api.py +0 -0
- {wcp_library-1.2.1 → wcp_library-1.2.2}/wcp_library/async_credentials/oracle.py +0 -0
- {wcp_library-1.2.1 → wcp_library-1.2.2}/wcp_library/async_credentials/postgres.py +0 -0
- {wcp_library-1.2.1 → wcp_library-1.2.2}/wcp_library/async_sql/__init__.py +0 -0
- {wcp_library-1.2.1 → wcp_library-1.2.2}/wcp_library/async_sql/oracle.py +0 -0
- {wcp_library-1.2.1 → wcp_library-1.2.2}/wcp_library/async_sql/postgres.py +0 -0
- {wcp_library-1.2.1 → wcp_library-1.2.2}/wcp_library/credentials/__init__.py +0 -0
- {wcp_library-1.2.1 → wcp_library-1.2.2}/wcp_library/credentials/ftp.py +0 -0
- {wcp_library-1.2.1 → wcp_library-1.2.2}/wcp_library/credentials/oracle.py +0 -0
- {wcp_library-1.2.1 → wcp_library-1.2.2}/wcp_library/credentials/postgres.py +0 -0
- {wcp_library-1.2.1 → wcp_library-1.2.2}/wcp_library/emailing.py +0 -0
- {wcp_library-1.2.1 → wcp_library-1.2.2}/wcp_library/ftp/__init__.py +0 -0
- {wcp_library-1.2.1 → wcp_library-1.2.2}/wcp_library/ftp/ftp.py +0 -0
- {wcp_library-1.2.1 → wcp_library-1.2.2}/wcp_library/ftp/sftp.py +0 -0
- {wcp_library-1.2.1 → wcp_library-1.2.2}/wcp_library/informatica.py +0 -0
- {wcp_library-1.2.1 → wcp_library-1.2.2}/wcp_library/logging.py +0 -0
- {wcp_library-1.2.1 → wcp_library-1.2.2}/wcp_library/selenium_helper.py +0 -0
- {wcp_library-1.2.1 → wcp_library-1.2.2}/wcp_library/sql/__init__.py +0 -0
- {wcp_library-1.2.1 → wcp_library-1.2.2}/wcp_library/sql/oracle.py +0 -0
- {wcp_library-1.2.1 → wcp_library-1.2.2}/wcp_library/sql/postgres.py +0 -0
@@ -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]
|
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
|
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
|