teradataml
Teradata Vantage Python package for Advanced Analytics
What it is and what it does
teradataml is a Python interface to Teradata Vantage's in-database analytics engine. It lets you perform machine learning, data transformation, and statistical analysis directly on Teradata without writing SQL—operations execute server-side on Vantage and results return to Python. The library includes AutoML functions (clustering, classification, regression, fraud detection, churn prediction), a feature store for managing ML features, data manipulation via DataFrame-like objects, and integration with pandas and other open-source libraries.
The package depends on teradatasql and teradatasqlalchemy for database connectivity, plus standard Python libraries like SQLAlchemy, pandas, requests, and cryptography. It supports OAuth 2.0 authentication (including Device Code Grant for PING and KEYCLOAK IDPs) and optional extras for visualization and EDA. Recent releases added array operations, cross-validation support in hyperparameter tuning, and FilterManager for feature processing workflows.
Use it for:
- Build and deploy machine learning models (classification, regression, clustering) directly on Teradata without exporting data.
- Perform feature engineering and feature store management for ML pipelines using Teradata as the compute backend.
- Run AutoML workflows to automatically select algorithms, tune hyperparameters, and generate SHAP explanations on large datasets.
- Transform and filter data at scale using DataFrame operations and array functions without SQL coding.
- Integrate Teradata analytics into Python data science workflows alongside pandas and scikit-learn.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
teradataml provides Python access to analytic functions running on Teradata Vantage, enabling data analysis, machine learning, and data transformation without writing SQL.
Yes, if you have a Teradata Vantage instance and need Python-native analytics without SQL. The package is actively maintained, has low install friction, and offers a broad feature set (AutoML, feature store, data manipulation). However, verify the Teradata License Agreement terms for your use case first, and confirm that optional dependencies (scikit-learn, lightgbm) are available if you need AutoML or visualization features.
Install
teradataml on PyPI
pip
pip install teradatamluv
uv add teradatamlpoetry
poetry add teradatamlInstalling teradataml
Before you install
Low install friction with a pure-wheel distribution. Active maintenance with a recent release (63 days old). Depends on 13 runtime packages including SQLAlchemy, pandas, and OAuth libraries, which are stable and widely used.
License in practice
Licensed under Teradata License Agreement with unclear treatment—not an open-source SPDX identifier. Verify licensing terms with Teradata before use in commercial or redistributed contexts.
Quickstart
pip install teradataml
from teradataml import create_context
from teradataml import DataFrame
ctx = create_context(host='vantage_host', username='user', password='pass')
df = DataFrame(table_name='my_table')
Requires a Teradata Vantage instance to connect to; local-only use is not supported. Requires Python 3.8 or later.
Verify before relying
- Whether the unclear license permits use in proprietary or commercial applications without explicit Teradata agreement.
- Whether optional dependencies (scikit-learn, lightgbm, matplotlib, seaborn) are required for core functionality or only for specific features.
- Performance and scalability limits when working with large datasets on Teradata Vantage.
Package facts
| License | Teradata License Agreement (unclear) |
| Python support | supports the current Python release (>=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 13 — teradatasql, teradatasqlalchemy, pandas, psutil, requests, pyjwt, cryptography, sqlalchemy, python-dotenv, oauthlib, requests-oauthlib, pydantic, PyYAML |
| Maintenance | actively maintained — 63 days since the last release |
| First released | |
| Downloads | 485,500/month — #6,398 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: teradataml-20.0.0.11-py3-none-any.whl
Keywords: Teradata
Tags
More Front-Ends packages
SQLAlchemy is a Python SQL toolkit and Object…
permissive · top 100 on PyPI
psycopg2-binarypsycopg2-binary is a PostgreSQL database…
copyleft · top 1,000 on PyPI
alembicAlembic generates and manages database schema…
permissive · top 1,000 on PyPI
weaviate-clientA Python client library for connecting to and…
permissive · top 1,000 on PyPI
databricks-sql-connectorA Python client library that connects to…
permissive · top 1,000 on PyPI
psycopgPsycopg 3 is a PostgreSQL database adapter for…
copyleft · top 1,000 on PyPI
teradatamodelopsTeradata ModelOps Client provides a CLI and SDK…
unclear · top 15,000 on PyPI
teradatasqlalchemyProvides a SQLAlchemy dialect that enables…
unclear · top 5,000 on PyPI
teradatasqlA PEP-249 compliant Python database driver that…
unclear · top 5,000 on PyPI
apache-airflow-providers-teradataIntegrates Apache Airflow with Teradata…
permissive · top 15,000 on PyPI
teradataProvides Python bindings to execute SQL scripts…
permissive · top 15,000 on PyPI
sagemaker-feature-store-pyspark-3.1Connects Apache Spark DataFrames to Amazon…
permissive · top 15,000 on PyPI
alpha-vantageFetches real-time and historical stock,…
permissive · top 15,000 on PyPI
montecarlodataA command-line interface for interacting with…
permissive · top 15,000 on PyPI
sklearn-pandasBridges pandas DataFrames and scikit-learn by…
permissive · top 15,000 on PyPI
dbt-coredbt-core transforms raw data in a warehouse…
permissive · top 1,000 on PyPI