chalkpy 2.95.0__py3-none-any.whl → 2.95.1__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.
chalk/_version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "2.95.0"
1
+ __version__ = "2.95.1"
chalk/client/client.py CHANGED
@@ -2251,44 +2251,44 @@ class ChalkClient:
2251
2251
 
2252
2252
  Parameters
2253
2253
  ----------
2254
- name : str
2255
- Unique name for the model
2256
- aliases : list of str, optional
2257
- List of version aliases (e.g., ["v1.0", "latest"])
2258
- model : object, optional
2259
- Python model object (for object-based registration)
2260
- model_paths : list of str, optional
2261
- Paths to model files (for file-based registration)
2262
- additional_files : List[str], optional
2263
- Additional files needed for inference (tokenizers, configs, etc.)
2264
- model_type : ModelType, optional
2265
- Type of model framework
2266
- model_encoding : ModelEncoding, optional
2267
- Serialization format
2268
- input_schema : dict, list, or Any
2269
- Definition of the input schema. Can be:
2270
- - dict: Dictionary mapping column names to dtypes for tabular data
2271
- - list: List of (shape, dtype) tuples for tensor data
2272
- output_schema : dict, list, or Any
2273
- Definition of the output schema. Can be:
2274
- - dict: Dictionary mapping column names to dtypes for tabular data
2275
- - list: List of (shape, dtype) tuples for tensor data
2276
- metadata : dict, optional
2277
- Additional metadata dictionary containing framework info,
2278
- training details, performance metrics, etc.
2279
- input_features : FeatureReference, str, optional
2254
+ name
2255
+ Unique name for the model.
2256
+ aliases
2257
+ List of version aliases (e.g., `["v1.0", "latest"]`).
2258
+ model
2259
+ Python model object (for object-based registration).
2260
+ model_paths
2261
+ Paths to model files (for file-based registration).
2262
+ additional_files
2263
+ Additional files needed for inference (tokenizers, configs, etc.)
2264
+ model_type
2265
+ Type of model framework
2266
+ model_encoding
2267
+ Serialization format
2268
+ input_schema
2269
+ Definition of the input schema. Can be:
2270
+ - `dict`: Dictionary mapping column names to dtypes for tabular data
2271
+ - `list`: List of `(shape, dtype)` tuples for tensor data
2272
+ output_schema
2273
+ Definition of the output schema. Can be:
2274
+ - `dict`: Dictionary mapping column names to dtypes for tabular data
2275
+ - `list`: List of `(shape, dtype)` tuples for tensor data
2276
+ metadata
2277
+ Additional metadata dictionary containing framework info,
2278
+ training details, performance metrics, etc.
2279
+ input_features
2280
2280
  The features to be used as inputs to the model.
2281
2281
  For example, `[User.message]`. Features can also be expressed as snakecased strings,
2282
- e.g. `["user.message"]`
2283
- output_features : FeatureReference, str, optional
2282
+ e.g. `["user.message"]`.
2283
+ output_features
2284
2284
  The features to be used as outputs to the model.
2285
2285
  For example, `[User.is_spam]`. Features can also be expressed as snakecased strings,
2286
- e.g. `["user.is_spam"]`
2287
- source_config : LocalSourceConfig, S3SourceConfig, HFSourceConfig, optional
2286
+ e.g. `["user.is_spam"]`.
2287
+ source_config
2288
2288
  Config to pass credentials to access files from a remote source.
2289
- dependencies : List[str], optional
2289
+ dependencies
2290
2290
  List of package dependencies needed to run this model.
2291
- e.g. ["torch==2.7.1", "numpy==1.26.4"]
2291
+ e.g. `["torch==2.7.1", "numpy==1.26.4"]`.
2292
2292
 
2293
2293
  Returns
2294
2294
  -------
@@ -1652,48 +1652,48 @@ class ChalkGRPCClient:
1652
1652
  Parameters
1653
1653
  ----------
1654
1654
  name
1655
- Unique name for the model
1655
+ Unique name for the model.
1656
1656
  aliases
1657
- List of version aliases (e.g., `["v1.0", "latest"]`)
1657
+ List of version aliases (e.g., `["v1.0", "latest"]`).
1658
1658
  model
1659
- Python model object (for object-based registration)
1659
+ Python model object (for object-based registration).
1660
1660
  model_paths
1661
- Paths to model files (for file-based registration)
1661
+ Paths to model files (for file-based registration).
1662
1662
  additional_files
1663
1663
  Additional files needed for inference (tokenizers, configs, etc.)
1664
1664
  model_type
1665
- Type of model framework
1665
+ Type of model framework.
1666
1666
  model_encoding
1667
- Serialization format
1667
+ Serialization format.
1668
1668
  input_schema
1669
1669
  Definition of the input schema. Can be:
1670
- - dict: Dictionary mapping column names to dtypes for tabular data
1671
- - list: List of `(shape, dtype)` tuples for tensor data
1670
+ - `dict`: Dictionary mapping column names to dtypes for tabular data
1671
+ - `list`: List of `(shape, dtype)` tuples for tensor data
1672
1672
  output_schema
1673
1673
  Definition of the output schema. Can be:
1674
- - dict: Dictionary mapping column names to dtypes for tabular data
1675
- - list: List of `(shape, dtype)` tuples for tensor data
1674
+ - `dict`: Dictionary mapping column names to dtypes for tabular data
1675
+ - `list`: List of `(shape, dtype)` tuples for tensor data
1676
1676
  metadata
1677
1677
  Additional metadata dictionary containing framework info,
1678
1678
  training details, performance metrics, etc.
1679
1679
  input_features
1680
1680
  The features to be used as inputs to the model.
1681
1681
  For example, `[User.message]`. Features can also be expressed as snakecased strings,
1682
- e.g. `["user.message"]`
1682
+ e.g. `["user.message"]`.
1683
1683
  output_features
1684
1684
  The features to be used as outputs to the model.
1685
1685
  For example, `[User.is_spam]`. Features can also be expressed as snakecased strings,
1686
- e.g. `["user.is_spam"]`
1686
+ e.g. `["user.is_spam"]`.
1687
1687
  source_config
1688
1688
  Config to pass credentials to access files from a remote source.
1689
1689
  dependencies
1690
1690
  List of package dependencies needed to run this model.
1691
- e.g. `["torch==2.7.1", "numpy==1.26.4"]`
1691
+ e.g. `["torch==2.7.1", "numpy==1.26.4"]`.
1692
1692
 
1693
1693
  Returns
1694
1694
  -------
1695
1695
  ModelVersion
1696
- The registered model version object
1696
+ The registered model version object.
1697
1697
 
1698
1698
  Examples
1699
1699
  --------
@@ -292,8 +292,6 @@ class LazyFramePlaceholder:
292
292
  Region of the Glue catalog.
293
293
  aws_role_arn
294
294
  IAM role to assume for access.
295
- filter_predicate
296
- Optional filter applied during scan.
297
295
  parquet_scan_range_column
298
296
  Column used for range-based reads.
299
297
  custom_partitions
@@ -4052,7 +4052,6 @@ def array_reduce(
4052
4052
  ... class User:
4053
4053
  ... id: str
4054
4054
  ... scores: list[int]
4055
- ...
4056
4055
  ... total_score: int = F.array_reduce(
4057
4056
  ... arr=_.scores,
4058
4057
  ... initial_value=0,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: chalkpy
3
- Version: 2.95.0
3
+ Version: 2.95.1
4
4
  Summary: Python SDK for Chalk
5
5
  Author: Chalk AI, Inc.
6
6
  Project-URL: Homepage, https://chalk.ai
@@ -1,5 +1,5 @@
1
1
  chalk/__init__.py,sha256=vKsx9-cl5kImlVWGHVRYO6bweBm79NAzGs3l36u71wM,2657
2
- chalk/_version.py,sha256=nPueEJvOJo8doFt3yBuBxiqG9kwM0YZv7JzfMGc6-ww,23
2
+ chalk/_version.py,sha256=rk-4TApc5a3eBFZLyztEsm1bUXcfcBUXksYD8HUtU0k,23
3
3
  chalk/cli.py,sha256=ckqqfOI-A2mT23-rnZzDMmblYj-2x1VBX8ebHlIEn9A,5873
4
4
  chalk/importer.py,sha256=m4lMn1lSYj_euDq8CS7LYTBnek9JOcjGJf9-82dJHbA,64441
5
5
  chalk/prompts.py,sha256=2H9UomLAamdfRTNUdKs9i3VTpiossuyRhntqsAXUhhg,16117
@@ -603,10 +603,10 @@ chalk/_validation/validation.py,sha256=9cCMfZa9-1wxkXLme_ylmD5vIA1qExJD6aqbYvbmK
603
603
  chalk/byte_transmit/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
604
604
  chalk/byte_transmit/model.py,sha256=LFX8pj9X_CWXeap7fDnMl9YmXsYTgq7jBAbEWkxoYoE,13048
605
605
  chalk/client/__init__.py,sha256=wu3WQVzE5gRj6noQQDOdYJUgDaz_9QtbjXH4KuoIlXQ,1782
606
- chalk/client/client.py,sha256=8DWF2wmWTMMMJ0WtCu3d678NPUZuBZK-vviA9usOrf0,103653
606
+ chalk/client/client.py,sha256=fqw75x4yiAk3CXryGbuF_qg09WDIlluhYeFdQ-BfTG8,103337
607
607
  chalk/client/client_async.py,sha256=nFFTWJbdBlb7zksyjOMBY566tZTAyNXQhCnq06LHWl0,50803
608
608
  chalk/client/client_async_impl.py,sha256=ZphhgTB49JBWHCGXe-dI0wWWKc9zPcOczy02q_gFy50,6925
609
- chalk/client/client_grpc.py,sha256=3s7nkzGtK3ttPY7a_b168ehuq_XTNk4kfxW6B20dLN0,95424
609
+ chalk/client/client_grpc.py,sha256=zRqk6qV6UO-kHnn3Ann_ckva1MRf5YC1eDWxFO3x1Pc,95443
610
610
  chalk/client/client_impl.py,sha256=R2ZUiEQf662q3O1eo_NjzYqLGB71B5mWzcx8opC3Os0,211639
611
611
  chalk/client/dataset.py,sha256=LneWwaAOHCjtj7gaJjsSeVNruj-QJ51hjRi62zrFNVE,77561
612
612
  chalk/client/exc.py,sha256=kZJ80YbSeSRDmTLTh240j_eRdJFZBa7IaDsNSRoDroU,4145
@@ -627,7 +627,7 @@ chalk/config/_validator.py,sha256=QC1y52m704_bV_TYjq0sdZJ-km8iSkDX1V4sHgw4RJk,13
627
627
  chalk/config/auth_config.py,sha256=HAALkQrvDD0i7gaZK5iufS8vDDVbzLIpHLOpcJO1kmw,4498
628
628
  chalk/config/project_config.py,sha256=YHB3upvtBJu-tWfNOchBRSc9xGebDbrIpCVmKbBzJ8Q,7217
629
629
  chalk/df/ChalkDataFrameImpl.py,sha256=BRwnjQcie3gxaKhKau8HG17NWzS1zdr8SnNVurxF8QY,133
630
- chalk/df/LazyFramePlaceholder.py,sha256=Y9MQtBRMs-n2_N8UIs6LL-1gUWz2jsccDhDaWp2Ej7M,39185
630
+ chalk/df/LazyFramePlaceholder.py,sha256=uTinB2buEFBT8djBCqiPN2hKmr_nU7n4i_DcCLNLuWs,39111
631
631
  chalk/df/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
632
632
  chalk/df/ast_parser.py,sha256=t-DwUxd2hN8LECRSBx85DIv9FtILgMiHyGyCTINfgQw,11199
633
633
  chalk/features/__init__.py,sha256=5doD7bFwRthzwdmizbRaPVHiCABiNpiOiAJVFlwqNnA,6943
@@ -680,7 +680,7 @@ chalk/features/dataframe/__init__.py,sha256=h88XglttpuUBt0TDoltaxp-90jNtIVxZhKAp
680
680
  chalk/features/dataframe/_filters.py,sha256=F9c5wExtmO21zhn4HEWcM9t4qSpfIO9Z7ysvoeZRV0I,20034
681
681
  chalk/features/dataframe/_impl.py,sha256=6zrwip7jL4DjNDEzmXw3PdKzZ-RJZTFwafqBUdK_Toc,88131
682
682
  chalk/features/dataframe/_validation.py,sha256=PsseXqoTgmgqaYtr-sTJP0CzlTo2v2PezkF0A8Za-oo,11037
683
- chalk/functions/__init__.py,sha256=4RhPQMJ99Ua9HQWuY8JkLX08Ke5K6YkAuZQej5xCPOU,167797
683
+ chalk/functions/__init__.py,sha256=k3-saPn3SFVND55UabjGt2sYtJ32ZY9LQx5lfNIkTcM,167789
684
684
  chalk/functions/holidays.py,sha256=7yhLjH4E1nDNGA0cXnvRQl5_h_W6rFZfIGYEBa-WiM8,3444
685
685
  chalk/functions/http.py,sha256=f3UpokWnjLyo0A_zZoSDgfGgRWmLu639FkREi6p82b4,6653
686
686
  chalk/functions/proto.py,sha256=RpM4GIj0-hVTA8RcK_k_fQOz9hvidgFtAbtcmD5Y4K0,5749
@@ -818,8 +818,8 @@ chalk/utils/tracing.py,sha256=ye5z6UCEsrxXC3ofXUNCDdUCf8ydPahEO92qQTd0AIA,11383
818
818
  chalk/utils/weak_set_by_identity.py,sha256=VmikA_laYwFeOphCwXJIuyOIkrdlQe0bSzaXq7onoQw,953
819
819
  chalk/utils/pydanticutil/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
820
820
  chalk/utils/pydanticutil/pydantic_compat.py,sha256=O575lLYJ5GvZC4HMzR9yATxf9XwjC6NrDUXbNwZidlE,3031
821
- chalkpy-2.95.0.dist-info/METADATA,sha256=VT-20GaAV6DL4k5pT6MGzaGmzx_4OUJSR1cSa-5nKuw,27494
822
- chalkpy-2.95.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
823
- chalkpy-2.95.0.dist-info/entry_points.txt,sha256=Vg23sd8icwq-morJrljVFr-kQnMbm95rZfZj5wsZGis,42
824
- chalkpy-2.95.0.dist-info/top_level.txt,sha256=1Q6_19IGYfNxSw50W8tYKEJ2t5HKQ3W9Wiw4ia5yg2c,6
825
- chalkpy-2.95.0.dist-info/RECORD,,
821
+ chalkpy-2.95.1.dist-info/METADATA,sha256=nig-03oMLofMUVjgNSNjPMJA5q05ufTcKApOi-6eQwo,27494
822
+ chalkpy-2.95.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
823
+ chalkpy-2.95.1.dist-info/entry_points.txt,sha256=Vg23sd8icwq-morJrljVFr-kQnMbm95rZfZj5wsZGis,42
824
+ chalkpy-2.95.1.dist-info/top_level.txt,sha256=1Q6_19IGYfNxSw50W8tYKEJ2t5HKQ3W9Wiw4ia5yg2c,6
825
+ chalkpy-2.95.1.dist-info/RECORD,,