Python SDK support in teradataml | Teradata Package for Python - Python SDK support in teradataml - Teradata VantageCloud Lake

Lake - Analyze Your Data with ClearScape Analytics™

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Published
February 2025
ft:locale
en-US
ft:lastEdition
2026-02-20
dita:mapPath
tcl1683670667798.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
tcl1683670667798

teradataml exposes Python interfaces for all the REST APIs provided by different features offered in VantageCloud Lake. teradataml exposes Python classes and class methods for REST APIs provided by Teradata Vantage ModelOps.

As part of this, teradataml provided the following:
  • New client class, teradataml.sdk.Client, which can be used by classes of SDK to get responses from REST framework.
  • Different ways of authentication through Client:
    • Client credentials Authentication through ClientCredentialsAuth class.
    • Device code Authentication through DeviceCodeAuth class.
    • Bearer Authentication through BearerAuth class.
Every Python SDK, exposed through teradataml, has the following:
  • blueprint() function, which prints all available classes in that SDK.
  • Classes for every tag in OpenAPI specification. These classes are displayed by blueprint() method.
  • Functions grouped into classes based on tags attached to the functions in OpenAPI specification.
  • Classes for all schema references in OpenAPI specification.
  • Additional and optional client class, inherited from teradataml.sdk.Client, if additional features are needed compared to Client.
To use Python SDK from teradataml, install PyYAML using pip install PyYAML. Otherwise, importing required modules will fail with ImportError.