{ "info": { "author": "Vathsala Achar", "author_email": "vathsala@atheon.co.uk", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 2.7" ], "description": ".. image:: https://travis-ci.org/AtheonAnalytics/trext.svg?branch=master\r\n :target: https://travis-ci.org/AtheonAnalytics/trext\r\n\r\n.. image:: https://badge.fury.io/py/TRExt.svg\r\n :target: https://badge.fury.io/py/TRExt\r\n\r\n.. image:: https://coveralls.io/repos/github/AtheonAnalytics/trext/badge.svg?branch=master\r\n :target: https://coveralls.io/github/AtheonAnalytics/trext?branch=master\r\n\r\n.. image:: https://readthedocs.org/projects/trext/badge/?version=latest\r\n :target: http://trext.readthedocs.io/en/latest/?badge=latest\r\n :alt: Documentation Status\r\n \r\n\r\nTRExt\r\n=====\r\n\r\nTRExt is short for Tableau Refresh Extract (Externally).\r\n\r\nTRExt is a means to refresh a Tableau Extract (.tde files) externally so the Tableau Server can \r\nserve visual content without having to compete for resources while refreshing extracts internally.\r\n\r\n\r\nDependencies\r\n````````````\r\n\r\nThe main dependencies are:\r\n\r\n- `Tableau SDK `_\r\n- pyodbc\r\n\r\nThe repo also supports\r\n\r\n- pyodbc wrapper such as `EXASol Python SDK `_\r\n\r\n\r\n.. _install:\r\n\r\nInstallation\r\n````````````\r\n\r\nYou need `pip` to install TRExt.\r\n\r\nYou can install the latest version of the package straight from PyPI using:\r\n\r\n.. code-block:: bash\r\n\r\n $ pip install trext\r\n\r\n\r\nYou can also directly install from GitHub directly using:\r\n\r\n.. code-block:: bash\r\n\r\n $ pip install git+git@github.com:AtheonAnalytics/trext.git\r\n\r\nor\r\n\r\n.. code-block:: bash\r\n\r\n $ pip install git+https://github.com/AtheonAnalytics/trext.git\r\n\r\n\r\nUsage\r\n`````\r\n\r\nCreate an extract\r\n\r\n.. code-block:: python\r\n\r\n >>> import trext\r\n >>> tde = trext.Extract()\r\n >>> connection_string = \"appropriate db connection string\"\r\n >>> tde.create(\"db.schema.table\", conn_string=connection_string, dbtype='exasol')\r\n Created!\r\n >>> tde.location\r\n /temp/extract.tde\r\n\r\n\r\nPublish to Tableau Server (overwrites existing extract)\r\n\r\n.. code-block:: python\r\n\r\n >>> tableau_auth_details = (\"username\", \"password\")\r\n >>> publish_details = (\"site_content_url\", \"project_name\")\r\n >>> tde.publish(\"tableau server address\", auth=tableau_auth_details, params=publish_details)\r\n Published!\r\n\r\nRefreshing an extract is now replaced with creating and publishing an extract.\r\nYou can use this is conjunction with TabAuto (not yet open source) or with Tableau's\r\n`server-client-python `_ library to get the datasource names that need refreshing.\r\n\r\n------------------\r\n\r\nDocumentation\r\n`````````````\r\n\r\nMore detailed documentation is available at `http://trext.rtfd.io `_\r\n\r\n\r\n-------------------\r\n\r\n\r\nDisclaimer\r\n``````````\r\n\r\n**TRExt is still a Work-in-Progress** \r\n\r\nI wrote most of this codebase when Tableau SDK was released for Tableau 8 and never got around to\r\nmoving it from a POC/local copy to open source, so this a rough-and-ready type of library.\r\n \r\nThis is fair warning to anyone who uses this library: there will be bugs, bad documentation and no\r\ntests for a short while till I fix it up. So *please use with care* and if you find issues submit\r\na bug report or a PR.\r\n\r\nIf you want to contribute and add tests, better documentation, new connectors, cleaner \r\ninterface etc, *please do* and submit a PR.\r\n \r\nOh and don't forget to add yourself to AUTHORS_\r\n \r\n .. _AUTHORS: https://github.com/AtheonAnalytics/trext/blob/master/AUTHORS.rst\r\n\r\n**Note**: I have tested TRExt only on a Linux distro, so if you find any issues on other\r\nOperating Systems please do create a bug report and I can try to fix it, but if you do know how\r\nto fix it please also submit a PR.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/AtheonAnalytics/trext", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "TRExt", "package_url": "https://pypi.org/project/TRExt/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/TRExt/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/AtheonAnalytics/trext" }, "release_url": "https://pypi.org/project/TRExt/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "TRExt - Tableau Refresh Extract (Externally)", "version": "0.2.1" }, "last_serial": 2900767, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "a7d68778f740417c2de278dfc6afa9a2", "sha256": "005ff5b45b36ec9c1e6ae989fc91c58c088335caf86ebcc0893babd66ca326a8" }, "downloads": -1, "filename": "TRExt-0.2.0-py2-none-any.whl", "has_sig": false, "md5_digest": "a7d68778f740417c2de278dfc6afa9a2", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 11282, "upload_time": "2017-05-24T17:45:41", "url": "https://files.pythonhosted.org/packages/00/39/65ecdb418378346e4fb145e888993f1bc50f32f48a569b6ffb3ba3b186ed/TRExt-0.2.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "95445b0ff06e4476382e59e32647527e", "sha256": "6c9edf06e98af94ec0ae7d0e581ae56d9303f2a786d1f3472c79a45d5dec3780" }, "downloads": -1, "filename": "TRExt-0.2.0.tar.gz", "has_sig": false, "md5_digest": "95445b0ff06e4476382e59e32647527e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9016, "upload_time": "2017-05-24T17:40:22", "url": "https://files.pythonhosted.org/packages/11/93/51228bf52b6feb6179a4495d2d891886465ce41122fff08d9744da3ce7db/TRExt-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "0d160383e839e3f3b3b55c1e6659f7f3", "sha256": "da1057078ad2b25e825d69629025bdd5f36ec57a74eaab82cc887da3d0ad7b46" }, "downloads": -1, "filename": "TRExt-0.2.1-py2-none-any.whl", "has_sig": false, "md5_digest": "0d160383e839e3f3b3b55c1e6659f7f3", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 11286, "upload_time": "2017-05-25T14:59:27", "url": "https://files.pythonhosted.org/packages/b0/f8/a0d08f4f1c1160eaebd37ebbbc95c089c798d08b8cd03dbfa0ed3bf6e40c/TRExt-0.2.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ac296c20e2149e0f029677347dfc0b4f", "sha256": "dacd2f28f13d4e2f451068e2437956ea49cc7222f9aae9872feb0f786fee110a" }, "downloads": -1, "filename": "TRExt-0.2.1.tar.gz", "has_sig": false, "md5_digest": "ac296c20e2149e0f029677347dfc0b4f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9275, "upload_time": "2017-05-25T14:59:10", "url": "https://files.pythonhosted.org/packages/20/40/c8bfa2444cb223b37f7ecea78070a718bb913280751342df592540e4fcd3/TRExt-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0d160383e839e3f3b3b55c1e6659f7f3", "sha256": "da1057078ad2b25e825d69629025bdd5f36ec57a74eaab82cc887da3d0ad7b46" }, "downloads": -1, "filename": "TRExt-0.2.1-py2-none-any.whl", "has_sig": false, "md5_digest": "0d160383e839e3f3b3b55c1e6659f7f3", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 11286, "upload_time": "2017-05-25T14:59:27", "url": "https://files.pythonhosted.org/packages/b0/f8/a0d08f4f1c1160eaebd37ebbbc95c089c798d08b8cd03dbfa0ed3bf6e40c/TRExt-0.2.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ac296c20e2149e0f029677347dfc0b4f", "sha256": "dacd2f28f13d4e2f451068e2437956ea49cc7222f9aae9872feb0f786fee110a" }, "downloads": -1, "filename": "TRExt-0.2.1.tar.gz", "has_sig": false, "md5_digest": "ac296c20e2149e0f029677347dfc0b4f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9275, "upload_time": "2017-05-25T14:59:10", "url": "https://files.pythonhosted.org/packages/20/40/c8bfa2444cb223b37f7ecea78070a718bb913280751342df592540e4fcd3/TRExt-0.2.1.tar.gz" } ] }