upgini 1.1.316a1__py3-none-any.whl → 1.1.316a3__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 CHANGED
@@ -1 +1 @@
1
- __version__ = "1.1.316a1"
1
+ __version__ = "1.1.316a3"
upgini/autofe/date.py CHANGED
@@ -4,7 +4,7 @@ from typing import Any, Dict, List, Optional, Union
4
4
  import numpy as np
5
5
  import pandas as pd
6
6
  from pandas.core.arrays.timedeltas import TimedeltaArray
7
- from pydantic import BaseModel, field_validator
7
+ from pydantic import BaseModel, validator
8
8
 
9
9
  from upgini.autofe.operand import PandasOperand
10
10
 
@@ -246,7 +246,7 @@ class DatePercentile(DatePercentileBase):
246
246
  )
247
247
  return res
248
248
 
249
- @field_validator("zero_bounds", mode="before")
249
+ @validator("zero_bounds", pre="true")
250
250
  def validate_bounds(cls, value):
251
251
  if value is None or isinstance(value, list):
252
252
  return value
upgini/http.py CHANGED
@@ -39,7 +39,6 @@ from upgini.metadata import (
39
39
  from upgini.resource_bundle import bundle
40
40
  from upgini.utils.track_info import get_track_metrics
41
41
 
42
-
43
42
  UPGINI_URL: str = "UPGINI_URL"
44
43
  UPGINI_API_KEY: str = "UPGINI_API_KEY"
45
44
  DEMO_API_KEY: str = "Aa4BPwGFbn1zNEXIkZ-NbhsRk0ricN6puKuga1-O5lM"
@@ -460,7 +459,11 @@ class _RestClient:
460
459
  dumps(track_metrics).encode(),
461
460
  "application/json",
462
461
  ),
463
- "metrics": ("metrics.json", metrics.model_dump_json(exclude_none=True).encode(), "application/json"),
462
+ "metrics": (
463
+ "metrics.json",
464
+ metrics.model_dump_json(exclude_none=True).encode(),
465
+ "application/json",
466
+ ),
464
467
  "file": (metadata_with_md5.name, file, "application/octet-stream"),
465
468
  }
466
469
  if search_customization is not None:
@@ -544,7 +547,11 @@ class _RestClient:
544
547
  dumps(get_track_metrics(self.client_ip, self.client_visitorid)).encode(),
545
548
  "application/json",
546
549
  ),
547
- "metrics": ("metrics.json", metrics.model_dump_json(exclude_none=True).encode(), "application/json"),
550
+ "metrics": (
551
+ "metrics.json",
552
+ metrics.model_dump_json(exclude_none=True).encode(),
553
+ "application/json",
554
+ ),
548
555
  "file": (metadata_with_md5.name, file, "application/octet-stream"),
549
556
  }
550
557
  if search_customization is not None:
@@ -640,7 +647,11 @@ class _RestClient:
640
647
  with open(file_path, "rb") as file:
641
648
  files = {
642
649
  "file": (metadata.name, file, "application/octet-stream"),
643
- "metadata": ("metadata.json", metadata.model_dump_json(exclude_none=True).encode(), "application/json"),
650
+ "metadata": (
651
+ "metadata.json",
652
+ metadata.model_dump_json(exclude_none=True).encode(),
653
+ "application/json",
654
+ ),
644
655
  }
645
656
 
646
657
  return self._send_post_file_req_v2(api_path, files)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: upgini
3
- Version: 1.1.316a1
3
+ Version: 1.1.316a3
4
4
  Summary: Intelligent data search & enrichment for Machine Learning
5
5
  Project-URL: Bug Reports, https://github.com/upgini/upgini/issues
6
6
  Project-URL: Homepage, https://upgini.com/
@@ -31,7 +31,7 @@ Requires-Dist: levenshtein>=0.25.1
31
31
  Requires-Dist: lightgbm>=3.3.2
32
32
  Requires-Dist: numpy<=1.26.4,>=1.19.0
33
33
  Requires-Dist: pandas<3.0.0,>=1.1.0
34
- Requires-Dist: pydantic>=2.7.0
34
+ Requires-Dist: pydantic<3.0.0,>1.0.0
35
35
  Requires-Dist: pyjwt>=2.8.0
36
36
  Requires-Dist: python-bidi==0.4.2
37
37
  Requires-Dist: python-dateutil>=2.8.0
@@ -1,10 +1,10 @@
1
- upgini/__about__.py,sha256=31UCeRaXiz7DRsmJ3BKvypU0ky5w4Itv5qqPPf4BU9I,26
1
+ upgini/__about__.py,sha256=xP_PhI7jmSCABPEedhQOlt9k8Njn3IHiI7PyPcsXGQQ,26
2
2
  upgini/__init__.py,sha256=Xs0YFVBu1KUdtZzbStGRPQtLt3YLzJnjx5nIUBlX8BE,415
3
3
  upgini/ads.py,sha256=nvuRxRx5MHDMgPr9SiU-fsqRdFaBv8p4_v1oqiysKpc,2714
4
4
  upgini/dataset.py,sha256=yAWIygHejxdKXOA4g3QjtCu0VRa9at-4nPPuugCr77U,30857
5
5
  upgini/errors.py,sha256=2b_Wbo0OYhLUbrZqdLIx5jBnAsiD1Mcenh-VjR4HCTw,950
6
6
  upgini/features_enricher.py,sha256=_d8ya5RRoYN0o6mV6gda-bLdOngQ4rb1SA51SlM_TG0,188002
7
- upgini/http.py,sha256=_A_DGMk8gkygdVFCDp8I6js_re4YX34PB9TpJV8aPqo,42784
7
+ upgini/http.py,sha256=gCN5ru_I6JNHk-m6-Ckjhd23iMzOAzDSLb0tSEcxkC4,43068
8
8
  upgini/lazy_import.py,sha256=74gQ8JuA48BGRLxAo7lNHNKY2D2emMxrUxKGdxVGhuY,1012
9
9
  upgini/metadata.py,sha256=osmzdNESeh7yP3BZday6N9Q3eaIHfzhhRM1d6NSgcf0,11223
10
10
  upgini/metrics.py,sha256=Tu5cN8RlhOSSMWUTXRSkdl8SWBqR1N_2eJpBum9pZxc,30926
@@ -16,7 +16,7 @@ upgini/ads_management/ads_manager.py,sha256=igVbN2jz80Umb2BUJixmJVj-zx8unoKpecVo
16
16
  upgini/autofe/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
17
  upgini/autofe/all_operands.py,sha256=3LiH9iU-ArGmYpS8FHWH7yCFx40ILfvlSXJlKIa75BQ,2542
18
18
  upgini/autofe/binary.py,sha256=xRBT7RNqQ7pprz6cRpO1KnvZCb7PvU3QXBfaP6Omqi4,7425
19
- upgini/autofe/date.py,sha256=eLPrO2Cgm74VB4rPtIaeUDuI5vmLiGnygHSvU4aGHWU,9223
19
+ upgini/autofe/date.py,sha256=aKuEsguYSrFdFiLd6tBLVH4TiQ3JFMo_49_Ajp8eKQg,9208
20
20
  upgini/autofe/feature.py,sha256=CivPkE7YrAtDrgF8WhVPnDAnNDR8gbRQ-8_hXiQE6ew,14234
21
21
  upgini/autofe/groupby.py,sha256=r-xl_keZZgm_tpiEoDhjYSkT6NHv7a4cRQR4wJ4uCp8,3263
22
22
  upgini/autofe/operand.py,sha256=uk883RaNqgXqtkaRqA1re1d9OFnnpv0JVvelYx09Yw0,2943
@@ -57,7 +57,7 @@ upgini/utils/sklearn_ext.py,sha256=13jQS_k7v0aUtudXV6nGUEWjttPQzAW9AFYL5wgEz9k,4
57
57
  upgini/utils/target_utils.py,sha256=BVtDmrmFMKerSUWaNOIEdzsYHIFiODdpnWbE50QDPDc,7864
58
58
  upgini/utils/track_info.py,sha256=G5Lu1xxakg2_TQjKZk4b5SvrHsATTXNVV3NbvWtT8k8,5663
59
59
  upgini/utils/warning_counter.py,sha256=dIWBB4dI5XRRJZudvIlqlIYKEiwLLPcXarsZuYRt338,227
60
- upgini-1.1.316a1.dist-info/METADATA,sha256=eJXt7Ga1qWst0_EIHCQYMTnAf0EkeO73tt5hbx4K_5g,48226
61
- upgini-1.1.316a1.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
62
- upgini-1.1.316a1.dist-info/licenses/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
63
- upgini-1.1.316a1.dist-info/RECORD,,
60
+ upgini-1.1.316a3.dist-info/METADATA,sha256=wqF_a0Mo2hFvIHf5cxVPquLOnkz0LHeIOmTdRUP7R9M,48232
61
+ upgini-1.1.316a3.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
62
+ upgini-1.1.316a3.dist-info/licenses/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
63
+ upgini-1.1.316a3.dist-info/RECORD,,