{ "info": { "author": "Achilleas Athanasiou Fragkoulis", "author_email": "achilleasatha@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "# PyQubole\nA watered down version of Qubole's Python connector providing a much simpler API to interact with for running streaming queries or submitting a job and rerieving its output at a later time (sync or async). Allowing for easy use in notebooks or integration in projects without much overhead. Based on Qubole QDS-SDK-Py https://github.com/qubole/qds-sdk-py\n\n## Installtion\n### From PyPI\nThe library is available on [PyPI - PyQubole](https://pypi.org/project/qubolepystream/).\n\n`$ pip install qubolepystream`\n\n### From Source\n\u2022Get source code: SSH `git@github.com:achilleasatha/PyQubole.git` or HTTPS `https://github.com/achilleasatha/PyQubole.git` \n\n\n\u2022Install by running `python setup.py install` \n\n## API\nYou can find an example application in [example/main.py](https://github.com/achilleasatha/PyQubole/blob/master/example/main.py)\n\nAn example application needs to do:\n 1. Import the lib `from qubolepystream.connector import QuboleConnector`\n 2. Set the api_token and instantiate the connection\n `con = QuboleConnector(api_token='api_token')`\n 3. Use the query data method to run a job, specifying the input query, engine and cluster (or just job_id):\n `data = con.query_data(sql_query=query, job_id=None, engine='Hive', cluster='Hive_cluster_name', verbose=False)`\n\n Note:\n\n a) Query can be passed as a raw string `query = r\"\"\"select * from table\"\"\"` or from a file: `query = open('query.sql').read()`\n\n b) If `job_id = None` the query will be executed on the engine specified ('Hive' or 'Presto')\n\n c) If `job_id = '123456'` then the results of the job will be retrieved (if job status is done)\n\n d) You can use the optional method `verbose = True / False` to get streaming output or only status updates\n\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://github.com/achilleasatha/PyQubole", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "qubolepystream", "package_url": "https://pypi.org/project/qubolepystream/", "platform": "", "project_url": "https://pypi.org/project/qubolepystream/", "project_urls": { "Homepage": "https://github.com/achilleasatha/PyQubole" }, "release_url": "https://pypi.org/project/qubolepystream/0.7.2/", "requires_dist": [ "qds-sdk" ], "requires_python": "", "summary": "Simple and easy to use Qubole connector", "version": "0.7.2" }, "last_serial": 5618753, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "d744ce4cdf41edb31c6959bfa6cd42e4", "sha256": "cf6fd07ef7b48573e0d981a070b95c667ccc04cf1f5c4cbb25bff2a9e98ace28" }, "downloads": -1, "filename": "qubolepystream-0.1.win-amd64.zip", "has_sig": false, "md5_digest": "d744ce4cdf41edb31c6959bfa6cd42e4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8998, "upload_time": "2019-07-19T16:20:38", "url": "https://files.pythonhosted.org/packages/5e/42/a30411469716dd6c7dc3041bbfeab7f95183dbe20fb7362a9dd345d9e5e7/qubolepystream-0.1.win-amd64.zip" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "e33a5f242fd7a6a4a99ee5d3218af0f4", "sha256": "81cb93580a686ceb1a80aca28d8459a831e9e7046c1b4c99ce5e68374f218825" }, "downloads": -1, "filename": "qubolepystream-0.2.win-amd64.zip", "has_sig": false, "md5_digest": "e33a5f242fd7a6a4a99ee5d3218af0f4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9855, "upload_time": "2019-07-19T16:29:00", "url": "https://files.pythonhosted.org/packages/c1/73/f767a8f4e2117e67ab05049d2997294d4b6d58538e07e58a23151b69b731/qubolepystream-0.2.win-amd64.zip" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "bc28a9e515e90d1620c59d48700e7b8b", "sha256": "a863dad378745c9528a324e937f2d9c4b0dc354a5afbaf99897b8edbe8dceb88" }, "downloads": -1, "filename": "qubolepystream-0.3.win-amd64.zip", "has_sig": false, "md5_digest": "bc28a9e515e90d1620c59d48700e7b8b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9861, "upload_time": "2019-07-19T16:33:49", "url": "https://files.pythonhosted.org/packages/4c/16/621d85518b2f8d7a310b1a89878c92a9ef728ce12afbfd580680af97fd85/qubolepystream-0.3.win-amd64.zip" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "369ced0f689288ca0e156247266dd038", "sha256": "4d113f4650ba6a8c4a81f0bf45743cfcad2bc868f1236130200ed9640457d508" }, "downloads": -1, "filename": "qubolepystream-0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "369ced0f689288ca0e156247266dd038", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3576, "upload_time": "2019-07-22T12:45:00", "url": "https://files.pythonhosted.org/packages/5e/19/c41577cc853e079c9fb312211c80134f1d2f25c8d3776171a8871f0f25fb/qubolepystream-0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "91c9cf6af3e492fbcf9ae7206bdff0b2", "sha256": "1e5227de03d9e0390b33aa063abd3faad730da0f7ede65888a8f4306b638371f" }, "downloads": -1, "filename": "qubolepystream-0.4.win-amd64.zip", "has_sig": false, "md5_digest": "91c9cf6af3e492fbcf9ae7206bdff0b2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9859, "upload_time": "2019-07-22T09:04:22", "url": "https://files.pythonhosted.org/packages/06/62/be9800af09836194a8902c5a24fa9e59115828d30b7f4def55df526f348e/qubolepystream-0.4.win-amd64.zip" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "a4a71c3b58b7e887b890d06b522ae851", "sha256": "8aaf0c2ccb04c88b3fa65d21995c82930029f000259ea95f13e782bb971d9181" }, "downloads": -1, "filename": "qubolepystream-0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "a4a71c3b58b7e887b890d06b522ae851", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3578, "upload_time": "2019-07-22T12:49:25", "url": "https://files.pythonhosted.org/packages/35/ea/2d277c1d2a56d359e1a68c5afea4c7172fa367e527ab7a12b59798a8acdb/qubolepystream-0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b09d8455b978f2db06af92d4df667d8e", "sha256": "c5e16c6457869e8e28163d7aadf12ee757a47fb1da9271fe6fff9e02525cae4e" }, "downloads": -1, "filename": "qubolepystream-0.5.tar.gz", "has_sig": false, "md5_digest": "b09d8455b978f2db06af92d4df667d8e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3476, "upload_time": "2019-07-22T12:49:26", "url": "https://files.pythonhosted.org/packages/07/ea/b0d096f5937d0ef84c68bd2ffcd90dc81930124bfcb4dcd0790ac4af350a/qubolepystream-0.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "bab19a5322849a766cb6a229634d69a9", "sha256": "77ef6a497670946c19edbc410f9ddb5aa7e6b205e2f7420c4fa9bd5030904d57" }, "downloads": -1, "filename": "qubolepystream-0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "bab19a5322849a766cb6a229634d69a9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3547, "upload_time": "2019-07-22T12:51:28", "url": "https://files.pythonhosted.org/packages/44/e3/39bdeab1b5f6c17b77207621077664de8c24dfacfde34464bca13912a747/qubolepystream-0.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0abbb30e1987e91708d34aefea8a1ccd", "sha256": "e8a93e734a41f5abea938e48aa61dd495efebe566dea3ccd8aac286de561ec85" }, "downloads": -1, "filename": "qubolepystream-0.6.tar.gz", "has_sig": false, "md5_digest": "0abbb30e1987e91708d34aefea8a1ccd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3425, "upload_time": "2019-07-22T12:51:29", "url": "https://files.pythonhosted.org/packages/31/c6/4b60730678aeef2f6e9b18bd50e5a9c1d8cd9e35be079eca1dc3d47d6132/qubolepystream-0.6.tar.gz" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "ed05136ca22006277bf918eb2f0a26bb", "sha256": "076cf3fdb15c0ea85b86eb34c913d9a07a4c86bfac9912e6d8c4044808f0b4a4" }, "downloads": -1, "filename": "qubolepystream-0.7-py3-none-any.whl", "has_sig": false, "md5_digest": "ed05136ca22006277bf918eb2f0a26bb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3545, "upload_time": "2019-07-22T12:53:16", "url": "https://files.pythonhosted.org/packages/1d/8c/9a8b040ebeaf3608f0f905f3cc6a1c2b7b91b58649386c31d09a75757c8c/qubolepystream-0.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bf8bc0109a594889b0db86c6c1a8d5d2", "sha256": "0aa3f0e83f5f1d1ce52576017c4a5ec59495c2514f10ce30042ee59f123c5730" }, "downloads": -1, "filename": "qubolepystream-0.7.tar.gz", "has_sig": false, "md5_digest": "bf8bc0109a594889b0db86c6c1a8d5d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3425, "upload_time": "2019-07-22T12:53:17", "url": "https://files.pythonhosted.org/packages/43/52/41fa08c3e1e48f02f306d742e6dd1474822e8fffa5d59ebf1cf273cc5de7/qubolepystream-0.7.tar.gz" } ], "0.7.1": [ { "comment_text": "", "digests": { "md5": "2e33cffaecd2ffbb51e3d66cafb34c50", "sha256": "199a42a4d3a938a89270f6169ee26c83815ffceb16748af4d193db9f53aaf472" }, "downloads": -1, "filename": "qubolepystream-0.7.1-py3-none-any.whl", "has_sig": false, "md5_digest": "2e33cffaecd2ffbb51e3d66cafb34c50", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3615, "upload_time": "2019-08-01T13:06:58", "url": "https://files.pythonhosted.org/packages/b8/a4/306bb0b79552f69a126c9a7f08f0c85c3529317a40630806b0dd5ff6e512/qubolepystream-0.7.1-py3-none-any.whl" } ], "0.7.2": [ { "comment_text": "", "digests": { "md5": "1b3a93bed106a77f97abda1a9ed33d6d", "sha256": "bef28505c8872b8ab54d9fef3d432579afc22165706f6c89d328335387c412d6" }, "downloads": -1, "filename": "qubolepystream-0.7.2-py3-none-any.whl", "has_sig": false, "md5_digest": "1b3a93bed106a77f97abda1a9ed33d6d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3589, "upload_time": "2019-08-01T13:14:55", "url": "https://files.pythonhosted.org/packages/3f/1a/1add69c301e23aa79dd46058457d000a0016bddf6a4a6c5ea987569676ff/qubolepystream-0.7.2-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1b3a93bed106a77f97abda1a9ed33d6d", "sha256": "bef28505c8872b8ab54d9fef3d432579afc22165706f6c89d328335387c412d6" }, "downloads": -1, "filename": "qubolepystream-0.7.2-py3-none-any.whl", "has_sig": false, "md5_digest": "1b3a93bed106a77f97abda1a9ed33d6d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3589, "upload_time": "2019-08-01T13:14:55", "url": "https://files.pythonhosted.org/packages/3f/1a/1add69c301e23aa79dd46058457d000a0016bddf6a4a6c5ea987569676ff/qubolepystream-0.7.2-py3-none-any.whl" } ] }