Skip to main content

Database Types for Teradata

Project description

PyPi MIT License Python3.6+

tdtypes is a Python library built atop DB API compliant library that provides abstraction layer for Teradata Database objects and utilities.


  • This library was originally developed as a personal project. It is being made available as an open-source project in the hope that someone else might find it useful. This library does not come with any expressed or implied warranty.
  • Python2 series is no longer supported.
  • Use of older teradata and pyodbc modules has been deprecated.
  • This library is not endorsed by Teradata Inc.


Use Python’s pip utility to install tdtypes.

$ python -m pip install -U tdtypes


tdtypes module provides two ways to get connection information from end users. End users can supply connection information by either``–tdconn`` command-line option, or set TDCONN environment variable. Connection information consists of a valid JSON string as expected by teradatasql. See the supplied sample script.

It is possible to customize the way connection information is obtained. This can be helpful, for example, to use DB API modules other than the default teradatasql, or use LDAP or SSO authentication. This can be done by creating module and place it in your PYTHONPATH. Please consult the default module for guidance on creating your own custom module.


If you encounter an issue, report it using issue tracker. I’ll try to provide a fix as soon as I can. If you already have a fix, send me a pull request.


Feel free to fork this repository and enhance it in a way you see fit. If you think your changes will benefit more people, send me a pull request.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for tdtypes, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size tdtypes-0.3.0-py3-none-any.whl (22.5 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page