Database Types for Teradata
tdtypes is a Python library consisting of classes and functions that provide easy access to Teradata Database object metadata.
- I originally developed this library for my personal use. I am making these open-source in the hope that someone else might find them useful. This library does not come with any expressed or implied warranty.
- This library is not endorsed by Teradata Inc.
Latest version of Python3 series is recommended, however Python 3.4 and above should work.
Use Python’s pip utility to install tdtypes.
$ pip install tdtypes
C:\>python -m pip install tdtypes
Configuration and Customization
No configuration is required except setting up the needed ODBC connections.
tdtypes provides an easy way to accept a valid ODBC connection string from command line. If more flexibility is needed, for example, to use Teradata REST interface instead of ODBC, or automatically retrieve database connection information, create tdconn_site.py module and place it in your PYTHONPATH. The module must define two functions dbconn_args() and dbconnect(). Have a look at the default definitions of these functions in tdconn_default.py module to get an idea about the parameters and return values.
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.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size tdtypes-0.2.1-py3-none-any.whl (17.7 kB)||File type Wheel||Python version py3||Upload date||Hashes View hashes|