teradatasql
Teradata SQL Driver for Python
Decision gist · record as of 2026-08-14
Yes, if you need to connect Python to a Teradata Database. The driver is actively maintained, has low install friction, supports current Python versions, and implements the standard PEP-249 interface. However, review the proprietary Teradata License Agreement before use in commercial or open-source redistribution contexts, and note that beta features carry no functional guarantees.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires 64-bit Python 3.7 or later; 32-bit Python is not supported.
- Teradata Database server must be accessible at the specified host.
- Low install friction; single runtime dependency (pycryptodome) is optional for core driver functionality.
License · maintenance · safety
Teradata License Agreement (unclear) — Licensed under Teradata License Agreement (proprietary, not SPDX-identified). License treatment is unclear; review the LICENSE file bundled with installation before use in commercial or redistributed contexts. Beta features are provided as-is without functional guarantees.
last release 2026-08-12 (2 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 10,430,380 downloads/mo, #1,454 on PyPI
Alternatives
Verify before relying
pip install teradatasql
import teradatasql
connection = teradatasql.connect(host='teradata-host', user='username', password='password')
cursor = connection.cursor()
cursor.execute('SELECT * FROM table')
results = cursor.fetchall()- Whether the proprietary Teradata License Agreement permits use in open-source or commercial projects without additional licensing.
- Performance characteristics and connection pooling capabilities compared to other Teradata client libraries.
- Whether beta/preview features are documented and which features carry that designation.
What it is and what it does
teradatasql is the official Teradata SQL Driver for Python, implementing the PEP-249 database API specification. It allows Python applications to establish connections to Teradata Database systems and execute SQL queries, handling authentication, query execution, and result retrieval through a standard database interface.
The driver depends on pycryptodome, though that dependency is only required for running the included TJEncryptPassword.py sample program; the driver core does not use it. The package is actively maintained, supports modern Python versions (3.7 through 3.11), and runs on Windows, macOS, and Linux across multiple processor architectures (x64 Intel/AMD, ARM, and Power). Installation is straightforward via pip, with optional dependency skipping available if you do not need the sample encryption utility.
Use it for
- Connect Python applications to Teradata data warehouses for ETL, reporting, or analytics workflows.
- Execute parameterized SQL queries and retrieve results in a standard Python database interface.
- Migrate or integrate legacy Teradata systems with modern Python data pipelines.
- Encrypt database passwords for secure credential management using the bundled TJEncryptPassword utility.
- Build cross-platform Python services that query Teradata on Windows, macOS, or Linux infrastructure.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to connect Python to a Teradata Database.
The driver is actively maintained, has low install friction, supports current Python versions, and implements the standard PEP-249 interface. However, review the proprietary Teradata License Agreement before use in commercial or open-source redistribution contexts, and note that beta features carry no functional guarantees.
Install
teradatasql on PyPI
Before you install
Low install friction; single runtime dependency (pycryptodome) is optional for core driver functionality. Active maintenance with a release 2 days old. Supports Python 3.7 through 3.11 on Windows, macOS, and Linux across multiple processor architectures.
Requires 64-bit Python 3.7 or later; 32-bit Python is not supported. Teradata Database server must be accessible at the specified host.
License in practice
Licensed under Teradata License Agreement (proprietary, not SPDX-identified). License treatment is unclear; review the LICENSE file bundled with installation before use in commercial or redistributed contexts. Beta features are provided as-is without functional guarantees.
Quickstart
pip install teradatasql
import teradatasql
connection = teradatasql.connect(host='teradata-host', user='username', password='password')
cursor = connection.cursor()
cursor.execute('SELECT * FROM table')
results = cursor.fetchall()
Verify before relying
- Whether the proprietary Teradata License Agreement permits use in open-source or commercial projects without additional licensing.
- Performance characteristics and connection pooling capabilities compared to other Teradata client libraries.
- Whether beta/preview features are documented and which features carry that designation.
Package facts
| License | Teradata License Agreement unclear |
| Python support | Supports the current Python release >=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagepycryptodome |
| Maintenance | Actively maintained 2 days since the last release |
| First released | |
| Downloads | 10,430,380 / month, #1,454 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableLicense :: Other/Proprietary LicenseOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Database :: Front-Ends |
Evidence: teradatasql-20.0.0.65-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “teradata database connection”
- teradatasqlA PEP-249 compliant Python database driver that enables applications…
- apache-airflow-providers-teradataIntegrates Apache Airflow with Teradata databases, providing…
- teradatasqlalchemyProvides a SQLAlchemy dialect that enables Python applications to…
Give your agent the search over MCP, or paste the wish link into any chat.
More Front-Ends packages
SQLAlchemy is a Python SQL toolkit and Object Relational Mapper (ORM) that provides both a high-level ORM layer for declarative object persistence and a Core SQL construction system for direct database abstraction and query building.
psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.
Alembic generates and manages database schema migrations for SQLAlchemy applications, handling version control of database structure changes with support for upgrades, downgrades, and auto-generation from model changes.
Install it if you use SQLAlchemy and need to version-control schema changes; skip it only if you manage migrations manually or use a different ORM entirely.
A Python client library for connecting to and querying Weaviate, a vector database that enables semantic search and AI-powered data retrieval.
A Python client library that connects to Databricks clusters and SQL warehouses using a Thrift-based protocol, conforming to the Python DB API 2.0 specification and supporting Arrow-based data exchange.
Install it if you need to query Databricks clusters or SQL warehouses from Python.
Psycopg 3 is a PostgreSQL database adapter for Python that enables applications to connect to, query, and manage PostgreSQL databases using Python code.
Install it if you need to connect Python to PostgreSQL.
See also teradata · teradatasqlalchemy · teradataml · mysql-connector-python-rf · hdbcli · pymssql · apache-airflow-providers-teradata · mariadb · pyodbc · ibm-db