skillfed

teradatasql

Teradata SQL Driver for Python

teradatasql v20.0.0.65 10.4M downloads/30d#1,454 on PyPI
License unclear Teradata License Agreement Active released

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

A PEP-249 compliant Python database driver that enables applications to connect to and query Teradata Database systems.

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

pip

pip install teradatasql

uv

uv add teradatasql

poetry

poetry add teradatasql

Installing teradatasql

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.

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()

Requires 64-bit Python 3.7 or later; 32-bit Python is not supported. Teradata Database server must be accessible at the specified host.

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 — pycryptodome
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)

Evidence: teradatasql-20.0.0.65-py3-none-any.whl

Keywords: Teradata

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

Tags

teradata database connectionpython teradata driverteradata sql clientdatabase api pep 249teradata query executionpython database adapter
database-driverteradatapep-249

More Front-Ends packages