cit-pydata 0.0.1.dev2__tar.gz → 0.0.1.dev3__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.
- {cit-pydata-0.0.1.dev2 → cit-pydata-0.0.1.dev3}/PKG-INFO +1 -1
- {cit-pydata-0.0.1.dev2 → cit-pydata-0.0.1.dev3}/pyproject.toml +1 -1
- {cit-pydata-0.0.1.dev2 → cit-pydata-0.0.1.dev3}/src/cit_pydata/aws/api.py +2 -4
- {cit-pydata-0.0.1.dev2 → cit-pydata-0.0.1.dev3}/src/cit_pydata/box/api.py +2 -2
- {cit-pydata-0.0.1.dev2 → cit-pydata-0.0.1.dev3}/src/cit_pydata/joblog/api.py +2 -2
- {cit-pydata-0.0.1.dev2 → cit-pydata-0.0.1.dev3}/src/cit_pydata.egg-info/PKG-INFO +1 -1
- {cit-pydata-0.0.1.dev2 → cit-pydata-0.0.1.dev3}/LICENSE +0 -0
- {cit-pydata-0.0.1.dev2 → cit-pydata-0.0.1.dev3}/README.md +0 -0
- {cit-pydata-0.0.1.dev2 → cit-pydata-0.0.1.dev3}/setup.cfg +0 -0
- {cit-pydata-0.0.1.dev2 → cit-pydata-0.0.1.dev3}/src/cit_pydata/__init__.py +0 -0
- {cit-pydata-0.0.1.dev2 → cit-pydata-0.0.1.dev3}/src/cit_pydata/aws/__init__.py +0 -0
- {cit-pydata-0.0.1.dev2 → cit-pydata-0.0.1.dev3}/src/cit_pydata/box/__init__.py +0 -0
- {cit-pydata-0.0.1.dev2 → cit-pydata-0.0.1.dev3}/src/cit_pydata/joblog/__init__.py +0 -0
- {cit-pydata-0.0.1.dev2 → cit-pydata-0.0.1.dev3}/src/cit_pydata/marketo/__init__.py +0 -0
- {cit-pydata-0.0.1.dev2 → cit-pydata-0.0.1.dev3}/src/cit_pydata/marketo/api.py +0 -0
- {cit-pydata-0.0.1.dev2 → cit-pydata-0.0.1.dev3}/src/cit_pydata/salesforce/__init__.py +0 -0
- {cit-pydata-0.0.1.dev2 → cit-pydata-0.0.1.dev3}/src/cit_pydata/salesforce/api.py +0 -0
- {cit-pydata-0.0.1.dev2 → cit-pydata-0.0.1.dev3}/src/cit_pydata/sfsync/__init__.py +0 -0
- {cit-pydata-0.0.1.dev2 → cit-pydata-0.0.1.dev3}/src/cit_pydata/sfsync/api.py +0 -0
- {cit-pydata-0.0.1.dev2 → cit-pydata-0.0.1.dev3}/src/cit_pydata/sftp/__init__.py +0 -0
- {cit-pydata-0.0.1.dev2 → cit-pydata-0.0.1.dev3}/src/cit_pydata/sftp/api.py +0 -0
- {cit-pydata-0.0.1.dev2 → cit-pydata-0.0.1.dev3}/src/cit_pydata/sql/__init__.py +0 -0
- {cit-pydata-0.0.1.dev2 → cit-pydata-0.0.1.dev3}/src/cit_pydata/sql/api.py +0 -0
- {cit-pydata-0.0.1.dev2 → cit-pydata-0.0.1.dev3}/src/cit_pydata/util/__init__.py +0 -0
- {cit-pydata-0.0.1.dev2 → cit-pydata-0.0.1.dev3}/src/cit_pydata/util/api.py +0 -0
- {cit-pydata-0.0.1.dev2 → cit-pydata-0.0.1.dev3}/src/cit_pydata.egg-info/SOURCES.txt +0 -0
- {cit-pydata-0.0.1.dev2 → cit-pydata-0.0.1.dev3}/src/cit_pydata.egg-info/dependency_links.txt +0 -0
- {cit-pydata-0.0.1.dev2 → cit-pydata-0.0.1.dev3}/src/cit_pydata.egg-info/requires.txt +0 -0
- {cit-pydata-0.0.1.dev2 → cit-pydata-0.0.1.dev3}/src/cit_pydata.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cit-pydata
|
|
3
|
-
Version: 0.0.1.
|
|
3
|
+
Version: 0.0.1.dev3
|
|
4
4
|
Summary: Python clients for commonly used api services including Salesforce, SQL, Marketo, Box, SFSync*, and JobLog*
|
|
5
5
|
Author-email: Dionis Wang <dwang@eab.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/EAB-IT-DEV/cit-pydata
|
|
@@ -89,6 +89,7 @@ class S3Client:
|
|
|
89
89
|
kwargs for method client.list_objects_v2
|
|
90
90
|
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3.html#S3.Client.list_objects_v2
|
|
91
91
|
"""
|
|
92
|
+
import pandas
|
|
92
93
|
|
|
93
94
|
# self.logger.info(f'Getting S3 objects: {**kwargs}')
|
|
94
95
|
object_list = []
|
|
@@ -110,8 +111,6 @@ class S3Client:
|
|
|
110
111
|
object_list.append(object_item)
|
|
111
112
|
response.pop("Contents")
|
|
112
113
|
|
|
113
|
-
if not pandas in sys.modules:
|
|
114
|
-
import pandas
|
|
115
114
|
df_s3_objects = pandas.DataFrame(object_list)
|
|
116
115
|
# self.logger.debug(response)
|
|
117
116
|
# self.logger.debug(df_s3_objects.info())
|
|
@@ -119,8 +118,7 @@ class S3Client:
|
|
|
119
118
|
return response, df_s3_objects
|
|
120
119
|
|
|
121
120
|
def metadata_to_sql(self, sql_client, table_name: str, dataframe):
|
|
122
|
-
|
|
123
|
-
import sqlalchemy
|
|
121
|
+
import sqlalchemy
|
|
124
122
|
|
|
125
123
|
try:
|
|
126
124
|
sql_client.insert_df(
|
|
@@ -14,8 +14,8 @@ class BoxClient:
|
|
|
14
14
|
self.client = None
|
|
15
15
|
|
|
16
16
|
def _get_client(self):
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
from boxsdk import Client, JWTAuth, OAuth2
|
|
18
|
+
|
|
19
19
|
# JWT Auth
|
|
20
20
|
auth = JWTAuth.from_settings_file(self.box_jwt_auth_file_path)
|
|
21
21
|
|
|
@@ -13,8 +13,8 @@ class JobLogClient:
|
|
|
13
13
|
self.log_guid = None
|
|
14
14
|
|
|
15
15
|
def start(self):
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
import uuid
|
|
17
|
+
|
|
18
18
|
if not self.log_guid:
|
|
19
19
|
self.log_guid = str(uuid.uuid4())
|
|
20
20
|
param_list = [self.job_name, "initializing", self.log_guid]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cit-pydata
|
|
3
|
-
Version: 0.0.1.
|
|
3
|
+
Version: 0.0.1.dev3
|
|
4
4
|
Summary: Python clients for commonly used api services including Salesforce, SQL, Marketo, Box, SFSync*, and JobLog*
|
|
5
5
|
Author-email: Dionis Wang <dwang@eab.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/EAB-IT-DEV/cit-pydata
|
|
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
|
{cit-pydata-0.0.1.dev2 → cit-pydata-0.0.1.dev3}/src/cit_pydata.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|