upgini 1.2.25__py3-none-any.whl → 1.2.25a1__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.
Potentially problematic release.
This version of upgini might be problematic. Click here for more details.
- upgini/__about__.py +1 -1
- upgini/features_enricher.py +5 -2
- upgini/resource_bundle/strings.properties +1 -1
- upgini/utils/display_utils.py +1 -0
- {upgini-1.2.25.dist-info → upgini-1.2.25a1.dist-info}/METADATA +1 -1
- {upgini-1.2.25.dist-info → upgini-1.2.25a1.dist-info}/RECORD +8 -8
- {upgini-1.2.25.dist-info → upgini-1.2.25a1.dist-info}/WHEEL +0 -0
- {upgini-1.2.25.dist-info → upgini-1.2.25a1.dist-info}/licenses/LICENSE +0 -0
upgini/__about__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "1.2.
|
|
1
|
+
__version__ = "1.2.25a1"
|
upgini/features_enricher.py
CHANGED
|
@@ -3194,8 +3194,9 @@ class FeaturesEnricher(TransformerMixin):
|
|
|
3194
3194
|
|
|
3195
3195
|
return df
|
|
3196
3196
|
|
|
3197
|
+
@staticmethod
|
|
3197
3198
|
def _add_current_date_as_key(
|
|
3198
|
-
|
|
3199
|
+
df: pd.DataFrame, search_keys: Dict[str, SearchKey], logger: logging.Logger, bundle: ResourceBundle
|
|
3199
3200
|
) -> pd.DataFrame:
|
|
3200
3201
|
if (
|
|
3201
3202
|
set(search_keys.values()) == {SearchKey.PHONE}
|
|
@@ -3203,7 +3204,9 @@ class FeaturesEnricher(TransformerMixin):
|
|
|
3203
3204
|
or set(search_keys.values()) == {SearchKey.HEM}
|
|
3204
3205
|
or set(search_keys.values()) == {SearchKey.COUNTRY, SearchKey.POSTAL_CODE}
|
|
3205
3206
|
):
|
|
3206
|
-
|
|
3207
|
+
msg = bundle.get("current_date_added")
|
|
3208
|
+
print(msg)
|
|
3209
|
+
logger.warning(msg)
|
|
3207
3210
|
df[FeaturesEnricher.CURRENT_DATE] = datetime.date.today()
|
|
3208
3211
|
search_keys[FeaturesEnricher.CURRENT_DATE] = SearchKey.DATE
|
|
3209
3212
|
converter = DateTimeSearchKeyConverter(FeaturesEnricher.CURRENT_DATE)
|
|
@@ -9,7 +9,7 @@ search_stopped=Search request stopped
|
|
|
9
9
|
polling_search_task=\nRunning search request, search_id={}
|
|
10
10
|
polling_unregister_information=We'll send email notification once it's completed, just use your personal api_key from profile.upgini.com
|
|
11
11
|
ads_upload_finish=Thank you for your submission!\nWe'll check your data sharing proposal and get back to you
|
|
12
|
-
demo_dataset_info=Demo training dataset detected. Registration for an API key is not required
|
|
12
|
+
demo_dataset_info=Demo training dataset detected. Registration for an API key is not required.
|
|
13
13
|
transform_usage_info=You use Trial access to Upgini data enrichment. Limit for Trial: {} rows. You have already enriched: {} rows.
|
|
14
14
|
transform_usage_warning=You are trying to launch enrichment for {} rows, which will exceed the rest limit {}.
|
|
15
15
|
|
upgini/utils/display_utils.py
CHANGED
|
@@ -169,6 +169,7 @@ def make_html_report(
|
|
|
169
169
|
from pkg_resources import resource_filename
|
|
170
170
|
font_path = resource_filename('upgini.utils', 'Roboto-Regular.ttf')
|
|
171
171
|
|
|
172
|
+
print(font_path)
|
|
172
173
|
return f"""<html>
|
|
173
174
|
<head>
|
|
174
175
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
upgini/__about__.py,sha256=
|
|
1
|
+
upgini/__about__.py,sha256=HaAAOhPZ9WJbIolzJnY6x2ItUSUxoCHhiCfuo4ukiVo,25
|
|
2
2
|
upgini/__init__.py,sha256=M64LwQTBa-5Jz24Zm2h8rWwlKQQ1J8nP7gGgIciS0WU,589
|
|
3
3
|
upgini/ads.py,sha256=nvuRxRx5MHDMgPr9SiU-fsqRdFaBv8p4_v1oqiysKpc,2714
|
|
4
4
|
upgini/dataset.py,sha256=iPFiMJtk4HF1ytw9wCQr8H9RfoOKj_TIo8XYZKWgcMc,31331
|
|
5
5
|
upgini/errors.py,sha256=2b_Wbo0OYhLUbrZqdLIx5jBnAsiD1Mcenh-VjR4HCTw,950
|
|
6
|
-
upgini/features_enricher.py,sha256=
|
|
6
|
+
upgini/features_enricher.py,sha256=rctS3kRWwTJmU5X203t7sUZ_B40XYVBPeXy_0hPw2Ec,193667
|
|
7
7
|
upgini/http.py,sha256=21asexflvavydzCOONJDGQBtQanCElrbnqLXakJ9Cu8,42880
|
|
8
8
|
upgini/lazy_import.py,sha256=74gQ8JuA48BGRLxAo7lNHNKY2D2emMxrUxKGdxVGhuY,1012
|
|
9
9
|
upgini/metadata.py,sha256=osmzdNESeh7yP3BZday6N9Q3eaIHfzhhRM1d6NSgcf0,11223
|
|
@@ -30,7 +30,7 @@ upgini/normalizer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU
|
|
|
30
30
|
upgini/normalizer/normalize_utils.py,sha256=Ft2MwSgVoBilXAORAOYAuwPD79GOLfwn4qQE3IUFzzg,7218
|
|
31
31
|
upgini/resource_bundle/__init__.py,sha256=S5F2G47pnJd2LDpmFsjDqEwiKkP8Hm-hcseDbMka6Ko,8345
|
|
32
32
|
upgini/resource_bundle/exceptions.py,sha256=5fRvx0_vWdE1-7HcSgF0tckB4A9AKyf5RiinZkInTsI,621
|
|
33
|
-
upgini/resource_bundle/strings.properties,sha256=
|
|
33
|
+
upgini/resource_bundle/strings.properties,sha256=ikL5KvPcJz9fGyVK-xOvvo6LyRfeOey8xXjoq5nnWqU,26667
|
|
34
34
|
upgini/resource_bundle/strings_widget.properties,sha256=gOdqvZWntP2LCza_tyVk1_yRYcG4c04K9sQOAVhF_gw,1577
|
|
35
35
|
upgini/sampler/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
36
36
|
upgini/sampler/base.py,sha256=7GpjYqjOp58vYcJLiX__1R5wjUlyQbxvHJ2klFnup_M,6389
|
|
@@ -45,7 +45,7 @@ upgini/utils/custom_loss_utils.py,sha256=kieNZYBYZm5ZGBltF1F_jOSF4ea6C29rYuCyiDc
|
|
|
45
45
|
upgini/utils/cv_utils.py,sha256=w6FQb9nO8BWDx88EF83NpjPLarK4eR4ia0Wg0kLBJC4,3525
|
|
46
46
|
upgini/utils/datetime_utils.py,sha256=a8X4jX2y3-6E7ZNZIG5z61qfzCvsvaNEjR1Bi5KUqfM,11279
|
|
47
47
|
upgini/utils/deduplicate_utils.py,sha256=SMZx9IKIhWI5HqXepfKiQb3uDJrogQZtG6jcWuMo5Z4,8855
|
|
48
|
-
upgini/utils/display_utils.py,sha256=
|
|
48
|
+
upgini/utils/display_utils.py,sha256=9K8TClECWdtnbSIunU-68U6EFk5zzDGz-xRrXZVBF5w,11985
|
|
49
49
|
upgini/utils/email_utils.py,sha256=j0Ug1R_0AnCg1Y92zIZ4XMwvKo3G5_pcOlBN1OH_gZs,5191
|
|
50
50
|
upgini/utils/fallback_progress_bar.py,sha256=PDaKb8dYpVZaWMroNcOHsTc3pSjgi9mOm0--cOFTwJ0,1074
|
|
51
51
|
upgini/utils/features_validator.py,sha256=1Xj2ir5LzzYiX3NH8o88c2J6RTTetaTwu0MhjLTyuvM,3378
|
|
@@ -58,7 +58,7 @@ upgini/utils/sklearn_ext.py,sha256=13jQS_k7v0aUtudXV6nGUEWjttPQzAW9AFYL5wgEz9k,4
|
|
|
58
58
|
upgini/utils/target_utils.py,sha256=qHzZRmICFbLNCrmVqGkaBcjm91L2ERRZMppci36acV4,10085
|
|
59
59
|
upgini/utils/track_info.py,sha256=G5Lu1xxakg2_TQjKZk4b5SvrHsATTXNVV3NbvWtT8k8,5663
|
|
60
60
|
upgini/utils/warning_counter.py,sha256=-GRY8EUggEBKODPSuXAkHn9KnEQwAORC0mmz_tim-PM,254
|
|
61
|
-
upgini-1.2.
|
|
62
|
-
upgini-1.2.
|
|
63
|
-
upgini-1.2.
|
|
64
|
-
upgini-1.2.
|
|
61
|
+
upgini-1.2.25a1.dist-info/METADATA,sha256=_flONGBpGHEImcfaBH4_hY853IuRLcjNVgUz8VPXyac,48580
|
|
62
|
+
upgini-1.2.25a1.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
|
63
|
+
upgini-1.2.25a1.dist-info/licenses/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
|
|
64
|
+
upgini-1.2.25a1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|