skillfed

teradataml

Teradata Vantage Python package for Advanced Analytics

teradataml v20.0.0.11 485.5K downloads/30d#6,398 on PyPI
License unclear Teradata License Agreement Active released

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 teradataml

uv

uv add teradataml

poetry

poetry add teradataml

Installing 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

License :: Other/Proprietary LicenseOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Database :: Front-Ends

Tags

teradata python analyticsvantage machine learningsql-free data analysisteradata automlfeature store pythonteradata dataframe operationsin-database analytics
in-database-analyticsautomlfeature-store

More Front-Ends packages

SQLAlchemy

SQLAlchemy is a Python SQL toolkit and Object…

permissive · top 100 on PyPI

psycopg2-binary

psycopg2-binary is a PostgreSQL database…

copyleft · top 1,000 on PyPI

alembic

Alembic generates and manages database schema…

permissive · top 1,000 on PyPI

weaviate-client

A Python client library for connecting to and…

permissive · top 1,000 on PyPI

databricks-sql-connector

A Python client library that connects to…

permissive · top 1,000 on PyPI

psycopg

Psycopg 3 is a PostgreSQL database adapter for…

copyleft · top 1,000 on PyPI

teradatamodelops

Teradata ModelOps Client provides a CLI and SDK…

unclear · top 15,000 on PyPI

teradatasqlalchemy

Provides a SQLAlchemy dialect that enables…

unclear · top 5,000 on PyPI

teradatasql

A PEP-249 compliant Python database driver that…

unclear · top 5,000 on PyPI

apache-airflow-providers-teradata

Integrates Apache Airflow with Teradata…

permissive · top 15,000 on PyPI

teradata

Provides Python bindings to execute SQL scripts…

permissive · top 15,000 on PyPI

sagemaker-feature-store-pyspark-3.1

Connects Apache Spark DataFrames to Amazon…

permissive · top 15,000 on PyPI

alpha-vantage

Fetches real-time and historical stock,…

permissive · top 15,000 on PyPI

montecarlodata

A command-line interface for interacting with…

permissive · top 15,000 on PyPI

sklearn-pandas

Bridges pandas DataFrames and scikit-learn by…

permissive · top 15,000 on PyPI

dbt-core

dbt-core transforms raw data in a warehouse…

permissive · top 1,000 on PyPI