contact-person-profile-csv-imp-local 0.0.48__tar.gz → 0.0.50__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.
- {contact_person_profile_csv_imp_local-0.0.48 → contact_person_profile_csv_imp_local-0.0.50}/PKG-INFO +2 -2
- {contact_person_profile_csv_imp_local-0.0.48 → contact_person_profile_csv_imp_local-0.0.50}/contact_person_profile_csv_imp_local/src/CSVToContactPersonProfile.py +17 -5
- {contact_person_profile_csv_imp_local-0.0.48 → contact_person_profile_csv_imp_local-0.0.50}/contact_person_profile_csv_imp_local.egg-info/PKG-INFO +2 -2
- {contact_person_profile_csv_imp_local-0.0.48 → contact_person_profile_csv_imp_local-0.0.50}/contact_person_profile_csv_imp_local.egg-info/requires.txt +1 -1
- {contact_person_profile_csv_imp_local-0.0.48 → contact_person_profile_csv_imp_local-0.0.50}/setup.py +2 -2
- {contact_person_profile_csv_imp_local-0.0.48 → contact_person_profile_csv_imp_local-0.0.50}/README.md +0 -0
- {contact_person_profile_csv_imp_local-0.0.48 → contact_person_profile_csv_imp_local-0.0.50}/contact_person_profile_csv_imp_local/src/__init__.py +0 -0
- {contact_person_profile_csv_imp_local-0.0.48 → contact_person_profile_csv_imp_local-0.0.50}/contact_person_profile_csv_imp_local/src/contact_person_profile_csv_imp_local_constants.py +0 -0
- {contact_person_profile_csv_imp_local-0.0.48 → contact_person_profile_csv_imp_local-0.0.50}/contact_person_profile_csv_imp_local.egg-info/SOURCES.txt +0 -0
- {contact_person_profile_csv_imp_local-0.0.48 → contact_person_profile_csv_imp_local-0.0.50}/contact_person_profile_csv_imp_local.egg-info/dependency_links.txt +0 -0
- {contact_person_profile_csv_imp_local-0.0.48 → contact_person_profile_csv_imp_local-0.0.50}/contact_person_profile_csv_imp_local.egg-info/top_level.txt +0 -0
- {contact_person_profile_csv_imp_local-0.0.48 → contact_person_profile_csv_imp_local-0.0.50}/pyproject.toml +0 -0
- {contact_person_profile_csv_imp_local-0.0.48 → contact_person_profile_csv_imp_local-0.0.50}/setup.cfg +0 -0
{contact_person_profile_csv_imp_local-0.0.48 → contact_person_profile_csv_imp_local-0.0.50}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: contact-person-profile-csv-imp-local
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.50
|
|
4
4
|
Summary: PyPI Package for Circles CSVToContactPersonProfile-local Local/Remote Python
|
|
5
5
|
Home-page: https://github.com/circles-zone/contact-person-profile-csv-imp-local-python-package
|
|
6
6
|
Author: Circles
|
|
@@ -12,7 +12,7 @@ Requires-Dist: contact-local>=0.0.48
|
|
|
12
12
|
Requires-Dist: logger-local>=0.0.135
|
|
13
13
|
Requires-Dist: database-mysql-local>=0.1.1
|
|
14
14
|
Requires-Dist: user-context-remote>=0.0.77
|
|
15
|
-
Requires-Dist: contact-email-address-local>=0.0.
|
|
15
|
+
Requires-Dist: contact-email-address-local>=0.0.40.1234
|
|
16
16
|
Requires-Dist: contact-group-local>=0.0.68
|
|
17
17
|
Requires-Dist: contact-location-local>=0.0.14
|
|
18
18
|
Requires-Dist: contact-notes-local>=0.0.33
|
|
@@ -124,10 +124,7 @@ class CSVToContactPersonProfile(
|
|
|
124
124
|
'contact_location', 'user_externals_local',
|
|
125
125
|
'organizations_local', 'domain_local',
|
|
126
126
|
'importers_local']
|
|
127
|
-
GenericCRUD.__init__(self, default_schema_name="
|
|
128
|
-
default_column_name="field_id",
|
|
129
|
-
default_table_name="field_table",
|
|
130
|
-
default_view_table_name="field_view",
|
|
127
|
+
GenericCRUD.__init__(self, default_schema_name="entity_type",
|
|
131
128
|
is_test_data=is_test_data)
|
|
132
129
|
self.contact_entity_type_id = \
|
|
133
130
|
self.select_one_value_by_column_and_value(
|
|
@@ -222,7 +219,6 @@ class CSVToContactPersonProfile(
|
|
|
222
219
|
self.logger.error("Couldn't find profile_id in profile_view by email_address.")
|
|
223
220
|
raise Exception("Couldn't find profile_id in user_external or profile_view.")
|
|
224
221
|
system_id = system_id or CONTACT_PERSON_PROFILE_CSV_SYSTEM_ID
|
|
225
|
-
self.set_schema(schema_name="field")
|
|
226
222
|
self.list_of_group_dicts = list_of_group_dicts if list_of_group_dicts else []
|
|
227
223
|
'''
|
|
228
224
|
profile_id = ProfilesLocal().select_one_value_by_column_and_value(
|
|
@@ -309,6 +305,22 @@ class CSVToContactPersonProfile(
|
|
|
309
305
|
contact_dict['is_test_data'] = self.is_test_data
|
|
310
306
|
|
|
311
307
|
# TODO Please call get_display_name(first_name, last_name, organization) if display_as is empty
|
|
308
|
+
|
|
309
|
+
# for phone in ['phone1', 'phone2', 'phone3']:
|
|
310
|
+
# if contact_dict[phone] is None:
|
|
311
|
+
# continue
|
|
312
|
+
# phone_data = process_phone(original_phone_number=contact_dict[phone])
|
|
313
|
+
# if phone_data is None:
|
|
314
|
+
# continue
|
|
315
|
+
# else:
|
|
316
|
+
# contact_dict[phone] = phone_data['normalized_phone_number']
|
|
317
|
+
|
|
318
|
+
# contact_dict['first_name'] = process_first_name(
|
|
319
|
+
# original_first_name=contact_dict['first_name'])
|
|
320
|
+
# contact_dict['last_name'] = process_last_name(
|
|
321
|
+
# original_last_name=contact_dict['last_name'])
|
|
322
|
+
|
|
323
|
+
|
|
312
324
|
# TODO This should be executed also by Google Contact Sync (please make sure it is in
|
|
313
325
|
# people-local-python-package i.e. get_display_name(first_name, last_name, organization) -> str
|
|
314
326
|
if contact_dict.get('display_as') is None:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: contact-person-profile-csv-imp-local
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.50
|
|
4
4
|
Summary: PyPI Package for Circles CSVToContactPersonProfile-local Local/Remote Python
|
|
5
5
|
Home-page: https://github.com/circles-zone/contact-person-profile-csv-imp-local-python-package
|
|
6
6
|
Author: Circles
|
|
@@ -12,7 +12,7 @@ Requires-Dist: contact-local>=0.0.48
|
|
|
12
12
|
Requires-Dist: logger-local>=0.0.135
|
|
13
13
|
Requires-Dist: database-mysql-local>=0.1.1
|
|
14
14
|
Requires-Dist: user-context-remote>=0.0.77
|
|
15
|
-
Requires-Dist: contact-email-address-local>=0.0.
|
|
15
|
+
Requires-Dist: contact-email-address-local>=0.0.40.1234
|
|
16
16
|
Requires-Dist: contact-group-local>=0.0.68
|
|
17
17
|
Requires-Dist: contact-location-local>=0.0.14
|
|
18
18
|
Requires-Dist: contact-notes-local>=0.0.33
|
|
@@ -2,7 +2,7 @@ contact-local>=0.0.48
|
|
|
2
2
|
logger-local>=0.0.135
|
|
3
3
|
database-mysql-local>=0.1.1
|
|
4
4
|
user-context-remote>=0.0.77
|
|
5
|
-
contact-email-address-local>=0.0.
|
|
5
|
+
contact-email-address-local>=0.0.40.1234
|
|
6
6
|
contact-group-local>=0.0.68
|
|
7
7
|
contact-location-local>=0.0.14
|
|
8
8
|
contact-notes-local>=0.0.33
|
{contact_person_profile_csv_imp_local-0.0.48 → contact_person_profile_csv_imp_local-0.0.50}/setup.py
RENAMED
|
@@ -5,7 +5,7 @@ package_dir = PACKAGE_NAME.replace("-", "_")
|
|
|
5
5
|
|
|
6
6
|
setuptools.setup(
|
|
7
7
|
name=PACKAGE_NAME,
|
|
8
|
-
version='0.0.
|
|
8
|
+
version='0.0.50', # https://pypi.org/project/contact-person-profile-csv-imp-local/
|
|
9
9
|
|
|
10
10
|
author="Circles",
|
|
11
11
|
author_email="info@circles.ai",
|
|
@@ -26,7 +26,7 @@ setuptools.setup(
|
|
|
26
26
|
'logger-local>=0.0.135',
|
|
27
27
|
'database-mysql-local>=0.1.1',
|
|
28
28
|
'user-context-remote>=0.0.77',
|
|
29
|
-
'contact-email-address-local>=0.0.
|
|
29
|
+
'contact-email-address-local>=0.0.40.1234',
|
|
30
30
|
'contact-group-local>=0.0.68',
|
|
31
31
|
'contact-location-local>=0.0.14',
|
|
32
32
|
'contact-notes-local>=0.0.33',
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|