Metadata-Version: 2.4
Name: structured-data-models-client
Version: 2.0.0
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Typing :: Typed
Requires-Dist: structured-data-models-api==2.0.0
Requires-Dist: pandas>=2.2.2
Requires-Dist: numpy>=1.23.5
Requires-Dist: pyarrow>=14.0.1
Requires-Dist: tzdata>=2024.1
Requires-Dist: pydantic>=2.7
Requires-Dist: requests>=2.28
Requires-Dist: urllib3>=1.26
Requires-Dist: structured-data-models-client[relational,sqlite,duckdb,postgres,snowflake,databricks,lakebase,s3] ; extra == 'all'
Requires-Dist: structured-data-models-connectors[databricks]==2.0.0 ; extra == 'databricks'
Requires-Dist: databricks-sdk>=0.68.0,<1.0 ; extra == 'databricks-serving'
Requires-Dist: structured-data-models-connectors[duckdb]==2.0.0 ; extra == 'duckdb'
Requires-Dist: structured-data-models>=0.2.1,<0.3 ; python_full_version >= '3.11' and extra == 'in-process'
Requires-Dist: structured-data-models-connectors[lakebase]==2.0.0 ; extra == 'lakebase'
Requires-Dist: structured-data-models-connectors[postgres]==2.0.0 ; extra == 'postgres'
Requires-Dist: structured-data-models-connectors[s3]==2.0.0 ; extra == 's3'
Requires-Dist: structured-data-models-connectors[snowflake]==2.0.0 ; extra == 'snowflake'
Requires-Dist: structured-data-models-connectors[sqlite]==2.0.0 ; extra == 'sqlite'
Requires-Dist: psutil ; sys_platform == 'win32' and extra == 'test'
Requires-Dist: pytest ; extra == 'test'
Requires-Dist: pytest-xdist ; extra == 'test'
Requires-Dist: pytz ; extra == 'test'
Requires-Dist: requests-mock ; extra == 'test'
Requires-Dist: jsonschema>=4.18 ; extra == 'test'
Requires-Dist: pyyaml ; extra == 'test'
Provides-Extra: all
Provides-Extra: databricks
Provides-Extra: databricks-serving
Provides-Extra: duckdb
Provides-Extra: in-process
Provides-Extra: lakebase
Provides-Extra: postgres
Provides-Extra: relational
Provides-Extra: s3
Provides-Extra: snowflake
Provides-Extra: sqlite
Provides-Extra: test
License-File: LICENSE
License-File: NOTICE
License-File: THIRD-PARTY-NOTICES-RUST.txt
Summary: One Python client for NVIDIA's structured-data foundation model NIMs
Keywords: structured-data,foundation-model,tabular,relational
Author: NVIDIA
License-Expression: Apache-2.0
Requires-Python: >=3.10
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Changelog, https://github.com/NVIDIA/structured-data-models-client/blob/main/CHANGELOG.md
Project-URL: Homepage, https://github.com/NVIDIA/structured-data-models-client
Project-URL: Issues, https://github.com/NVIDIA/structured-data-models-client/issues
Project-URL: Source, https://github.com/NVIDIA/structured-data-models-client

# structured-data-models-client

One Python client for NVIDIA's structured-data foundation models. Ask a
predictive question of one table, or of a whole relational schema, without
training a model for each dataset.

```bash
pip install structured-data-models-client
```

Inference runs in a NIM, so this package downloads no weights and needs no GPU.

```python
import pandas as pd
from sdm_client import KumoTabular, Request, SDMClient

labelled = pd.DataFrame(
    {
        'age': [31.0, 44.5, 28.0, 51.0, 39.0],
        'spend': [120.0, 430.0, 90.0, 510.0, 260.0],
        'churn': [0, 1, 0, 1, 0],
    }
)
to_score = pd.DataFrame({'age': [33.0, 47.0], 'spend': [150.0, 480.0]})

request = Request(
    context=labelled, predict=to_score, target='churn', task='classification'
)

with SDMClient(url='http://localhost:8000') as client:
    print(client.predict(request, model=KumoTabular()).to_pandas())
```

The model is an argument, not a method name. For several related tables, ask in
the Predictive Query Language and pass `KumoRelational()` instead; the same
install covers it.

Documentation, the API and connector packages and the examples are in the repository:
<https://github.com/NVIDIA/structured-data-models-client>

Apache-2.0. Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES.

