{ "info": { "author": "Paresh Adhia", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: End Users/Desktop", "Intended Audience :: System Administrators", "License :: OSI Approved :: GNU General Public License (GPL)", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3 :: Only", "Topic :: Database", "Topic :: Utilities" ], "description": "tdtools\n=======\n\n[![PyPi](https://img.shields.io/pypi/v/tdtools.svg)](https://pypi.python.org/pypi/tdtools) [![License](https://img.shields.io/badge/License-GPL%20-blue.svg)](http://www.gnu.org/licenses/gpl) ![Python3.6+](https://img.shields.io/pypi/pyversions/tdtypes.svg)\n\n[tdtools](https://bitbucket.org/padhia/tdtools) is a collection of POSIX style command-line tools that provide an alternate way to access system information (metadata) from Teradata. Of course, most of the information can be accessed by writing SQL quries against Teradata's Dictionary tables and views (`DBC.%`).\n\n*NOTES:*\n\n- I originally developed these tools for my personal use. I am making these open-source in the hope that someone else might find them useful. These tools do not come with any expressed or implied warranty.\n- These tools are not endorsed by [Teradata Inc](http://www.teradata.com/).\n\nRequirements\n------------\n\nLatest version of *Python3* series is recommended. However, at least one previous version of Python will be supported.\n\n**tdtools** depends on [tdtypes](https://pypi.python.org/pypi/tdtypes/) (for Teradata metadata information) and [yappt](https://pypi.python.org/pypi/yappt/) (for formatting output). These packages and their dependencies will be downloaded and installed automatically if you use the standard python installer `pip` to install **tdtools**.\n\nInstallation\n------------\n\nUse Python's `pip` utility to install `tdtools`.\n\n $ pip install -U tdtools\n\nOr\n\n C:\\>python -m pip install -U tdtools\n\nTools\n-----\n\nAll tools are command-line utilities that are generated automatically and installed (if installed using *pip*).\n\nFollowing is a brief description of each tool. Use `--help` command-line option to show detailed description of all supported options.\n\nCommand |Purpose\n--------------|---------------------------------------------------\n`dbtree` |Print Teradata database hierarchy.\n`vwtree` |Print Teradata View hierarchy.\n`tbtree` |Print Teradata Tree hierarchy (reverse View hierarchy)\n`updviewrefs` |Maintain View hierarchy as static data in a table (needed for `tbtree`)\n`tptload` |Generate (and optionally run) TPT load script.\n`helpstats` |Print current statistics for any Teradata objects.\n`tdrights` |Print Teradata permissions *on* objects or *to* users or roles\n\nAll **show\\*** utilities generate DDLs for different types of Teradata objects.\n\nCommand |Objects\n-------------|----------------------------------------------\n`showdb` |Database or user\n`showgrant` |Grants to user/role\n`showprof` |Profile\n`showrole` |Role\n`showstats` |Statistics definition\n`showtvm` |Wrapper for Teradata `SHOW ` command\n`showzone` |Zone\n\nAll **ls\\*** utilities print Teradata object information from DBC tables. Currently supported commands are:\n\nCommand |Objects\n--------|-------------------\n`lstb` |Tables\n`lsvw` |Views\n`lsmc` |Macros\n`lspr` |Stored Procedures\n`lsfn` |Functions\n`lsji` |Join Indexes\n`lsdb` |Databases\n`lsus` |Users\n`lspf` |Profiles\n`lsrl` |Roles\n`lsrm` |Role Members\n\nCustomization\n-------------\n\nYou can optionally supply `tdconn_site.py` module to allow adding custom command-line option(s) to be added to all tools and then make use of these command-line options to customize how a Teradata connection is obtained. This feature builds on customization offered by **tdtypes** module (see **tdtypes** documentation for details).\n\nThis customization involves coding a custom `tdconn_site.py` module which supplies at least two functions.\n\n1. `dbconn_args(parser)` which should accept [ArgumentParser](https://docs.python.org/3/library/argparse.html#argumentparser-objects) object and add any custom command-line options to the `parser` object.\n2. `dbconnect(args)`which overrides the default function with the same name that is provided by **tdtypes** package, but must accept an argument which will be the result of `ArgumentParser.parse_args()`.\n\nKnown Issues\n------------\n\n- There was a defect in certain earlier releases of Teradata Database that caused views based on NOPI tables to be not detected correctly. A patch is available from Teradata that fixes this defect.\n\nSupport\n-------\n\nReport bugs using [issue tracker](https://bitbucket.org/padhia/tdtools/issues?status=new&status=open). I'll try to provide a fix as soon as I can. If you already have a fix, send me a pull request.\n\nContributions\n-------------\n\nFeel free to fork this repository and enhance it in a way you see fit. If you feel your changes will benefit more people, send me a pull request.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/padhia/tdtools", "keywords": "teradata", "license": "GPL", "maintainer": "", "maintainer_email": "", "name": "tdtools", "package_url": "https://pypi.org/project/tdtools/", "platform": "", "project_url": "https://pypi.org/project/tdtools/", "project_urls": { "Homepage": "https://bitbucket.org/padhia/tdtools" }, "release_url": "https://pypi.org/project/tdtools/0.7.0/", "requires_dist": [ "tdtypes", "yappt", "lazy" ], "requires_python": ">=3.6", "summary": "A Collection of assorted Teradata Tools", "version": "0.7.0" }, "last_serial": 5404734, "releases": { "0.3.1": [], "0.3.2": [ { "comment_text": "", "digests": { "md5": "2d77c399d71f89aa08d85d2b631d00d1", "sha256": "2121ff0928f9e643b6debe7cc840b1fae5249a228a5bbaf987563256883d6e34" }, "downloads": -1, "filename": "tdtools-0.3.2-py3-none-any.whl", "has_sig": false, "md5_digest": "2d77c399d71f89aa08d85d2b631d00d1", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 37279, "upload_time": "2016-10-05T18:39:09", "url": "https://files.pythonhosted.org/packages/f7/65/a709d46d2daea5eb34565ff42d6ed26afde914bacd9a255842ce97554efa/tdtools-0.3.2-py3-none-any.whl" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "665632ada2ccbbd72aa8773ecc322807", "sha256": "552de70c0daa09d4879ef7fe302ad52bd62840913189ef06d9c0da984ad87e48" }, "downloads": -1, "filename": "tdtools-0.3.3-py3-none-any.whl", "has_sig": false, "md5_digest": "665632ada2ccbbd72aa8773ecc322807", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 37348, "upload_time": "2016-10-05T18:58:40", "url": "https://files.pythonhosted.org/packages/20/c8/f119280c82e92f7a39b0a1252e1e07a293f82a5dd1122b2f9bc30a98931c/tdtools-0.3.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "61bb15ac9d949e6637c2c4fbcb8d8bcb", "sha256": "1b5961b90691635f2e5234a031c9129ecc28be5243b385bde7d5eef57ec462c4" }, "downloads": -1, "filename": "tdtools-0.3.3.tar.gz", "has_sig": false, "md5_digest": "61bb15ac9d949e6637c2c4fbcb8d8bcb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 35470, "upload_time": "2016-10-05T18:58:15", "url": "https://files.pythonhosted.org/packages/3c/de/1dcc17ee088385bab0baf3519bc1e701b88f200b574f1814e5a281a2b012/tdtools-0.3.3.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "064de931d2479607c987656cdeefb225", "sha256": "83dfff729e763c5a2bf7b8c56158486aec2684069d92b332a6dce3c6979638f8" }, "downloads": -1, "filename": "tdtools-0.4.0-py3-none-any.whl", "has_sig": false, "md5_digest": "064de931d2479607c987656cdeefb225", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 42175, "upload_time": "2016-12-04T20:47:46", "url": "https://files.pythonhosted.org/packages/c0/b5/3f24353aa43ce5a7ebb0797690e06424be7336e9a0e16b168d9c4bccfe54/tdtools-0.4.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fd3020e295e08e4001fdfba61cbdb237", "sha256": "0e666c47845b06b07b9ea4c34f570c9d07a79b98ea098d4afa72aff3166b39ed" }, "downloads": -1, "filename": "tdtools-0.4.0.tar.gz", "has_sig": false, "md5_digest": "fd3020e295e08e4001fdfba61cbdb237", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38215, "upload_time": "2016-12-04T20:47:47", "url": "https://files.pythonhosted.org/packages/e3/50/cdfe0a233b48ff7c99f065a4090c8919d65a7ad4c448b84f40956f53f0d8/tdtools-0.4.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "f1264050f3dd28451a7a48d22d6dd860", "sha256": "66f2dcc34e0c38d43a1d40af54190b0fd325d8318f11b83f3732f65eeac12850" }, "downloads": -1, "filename": "tdtools-0.4.1-py3-none-any.whl", "has_sig": false, "md5_digest": "f1264050f3dd28451a7a48d22d6dd860", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 42399, "upload_time": "2016-12-20T03:19:08", "url": "https://files.pythonhosted.org/packages/60/5a/8ad633cf6bec633cf7989e06b3b8aa09322b17bad42a1a6a0bd87991db22/tdtools-0.4.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5c7e59caa71f136ff1879464a987de5f", "sha256": "a64ee414a41cf4304d078b7c3678dfd7b5cd334e51a0b30504dc419551932d8b" }, "downloads": -1, "filename": "tdtools-0.4.1.tar.gz", "has_sig": false, "md5_digest": "5c7e59caa71f136ff1879464a987de5f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38515, "upload_time": "2016-12-20T03:19:09", "url": "https://files.pythonhosted.org/packages/e5/03/c7c34f22645f8246a900e7463c8d357cef747c23aecbbce99c5794a1bc7c/tdtools-0.4.1.tar.gz" } ], "0.4.2": [ { "comment_text": "", "digests": { "md5": "320223a6ccbbcac336e4a5330eb4989d", "sha256": "7b3cc757e91e5fcd96163396673fe5d21ade124b5fca1ce8c338241cd17f48f5" }, "downloads": -1, "filename": "tdtools-0.4.2-py3-none-any.whl", "has_sig": false, "md5_digest": "320223a6ccbbcac336e4a5330eb4989d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 42979, "upload_time": "2016-12-28T16:02:42", "url": "https://files.pythonhosted.org/packages/db/2d/c4ba2e03db8aed0d6a9b302b939dab3a66701b7943941fe51d64bd9f17e0/tdtools-0.4.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b8de2f4d8a13db617b1c57c1b384dd44", "sha256": "75bbfb88e07ec618870253e8d2cd6e39e86f1405871d83ec32c8e2b4a574ea20" }, "downloads": -1, "filename": "tdtools-0.4.2.tar.gz", "has_sig": false, "md5_digest": "b8de2f4d8a13db617b1c57c1b384dd44", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 27942, "upload_time": "2016-12-28T16:02:44", "url": "https://files.pythonhosted.org/packages/08/5e/037170122a7d151b2718067633c1266d1bbd60333d9edbe1f2bc34d50738/tdtools-0.4.2.tar.gz" } ], "0.6.1": [ { "comment_text": "", "digests": { "md5": "bb652e8bb369823d66ae70ca8bd753e3", "sha256": "b0723b0a0829d4d7353ecc88c66b8865630908e74a2f67c37af546e38fda0694" }, "downloads": -1, "filename": "tdtools-0.6.1-py3-none-any.whl", "has_sig": false, "md5_digest": "bb652e8bb369823d66ae70ca8bd753e3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 51284, "upload_time": "2018-09-02T12:12:30", "url": "https://files.pythonhosted.org/packages/ea/32/1711d33e8e2446311c8ecec2738abcdc7f36f006878f2b91fa981e5ccee1/tdtools-0.6.1-py3-none-any.whl" } ], "0.6.2": [ { "comment_text": "", "digests": { "md5": "6bd7ad350f1c8be7d3ee0886ad0155ec", "sha256": "951d9c2ee315ff840008b37498531f5301faf43415c824fe974b069d487ce068" }, "downloads": -1, "filename": "tdtools-0.6.2-py3-none-any.whl", "has_sig": false, "md5_digest": "6bd7ad350f1c8be7d3ee0886ad0155ec", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 54114, "upload_time": "2018-12-31T01:55:49", "url": "https://files.pythonhosted.org/packages/68/69/135600fa08b10b5f24844c177cad522f1ad95d1374fa51afda652371a2c6/tdtools-0.6.2-py3-none-any.whl" } ], "0.7.0": [ { "comment_text": "", "digests": { "md5": "de6bc551391909c23c0a973a9224f258", "sha256": "7e7aae27be5d7d87935e4299aed977ab771267eee8ccd37cdfa5459ce55354a4" }, "downloads": -1, "filename": "tdtools-0.7.0-py3-none-any.whl", "has_sig": false, "md5_digest": "de6bc551391909c23c0a973a9224f258", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 57596, "upload_time": "2019-06-15T20:05:22", "url": "https://files.pythonhosted.org/packages/cd/5d/3ab7210ac26c936fb0e840eff6813c244d975edca31f35ae231b35805ff5/tdtools-0.7.0-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "de6bc551391909c23c0a973a9224f258", "sha256": "7e7aae27be5d7d87935e4299aed977ab771267eee8ccd37cdfa5459ce55354a4" }, "downloads": -1, "filename": "tdtools-0.7.0-py3-none-any.whl", "has_sig": false, "md5_digest": "de6bc551391909c23c0a973a9224f258", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 57596, "upload_time": "2019-06-15T20:05:22", "url": "https://files.pythonhosted.org/packages/cd/5d/3ab7210ac26c936fb0e840eff6813c244d975edca31f35ae231b35805ff5/tdtools-0.7.0-py3-none-any.whl" } ] }