{"id":16949616,"url":"https://github.com/tailhook/aio-hs2","last_synced_at":"2025-04-14T01:31:53.488Z","repository":{"id":17051396,"uuid":"19815866","full_name":"tailhook/aio-hs2","owner":"tailhook","description":"Hiveserver2 (sharkserver2) client for asyncio (abandoned due to death of shark project)","archived":false,"fork":false,"pushed_at":"2014-05-23T08:59:36.000Z","size":228,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T15:47:42.813Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"jenkinsci/embeddable-build-status-plugin","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tailhook.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-15T10:50:43.000Z","updated_at":"2014-07-07T13:28:39.000Z","dependencies_parsed_at":"2022-08-19T14:01:29.339Z","dependency_job_id":null,"html_url":"https://github.com/tailhook/aio-hs2","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailhook%2Faio-hs2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailhook%2Faio-hs2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailhook%2Faio-hs2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailhook%2Faio-hs2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tailhook","download_url":"https://codeload.github.com/tailhook/aio-hs2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248524191,"owners_count":21118609,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T21:55:38.624Z","updated_at":"2025-04-14T01:31:53.450Z","avatar_url":"https://github.com/tailhook.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"===============================\nAsyncio-base Hiveserver2 Client\n===============================\n\nThis client can connect both hiveserver2 from hive and sharkserver2 for shark\n(because latter have same protocol and semantics)\n\nPackage contains:\n\n* ``thrift/`` -- a copy of thrift python library adapted for python3.\n  The code originally in https://github.com/tailhook/thrift/tree/asyncio\n* ``aiohs2/lowlevel`` -- python files generated for ``TCLIService.thrift`` from\n  hive.  To regenerate bindings run ``./genbindings.sh`` (you need to build\n  thrift from aformentioned branch and you need hive sources, script will not\n  do that for you)\n\nTo use a library you just install it with ``pip`` or ``setup.py``.\n\n\nBasic Usage\n-----------\n\n.. code-block:: python\n\n    cli = Client('localhost', 10000)\n    with (yield from cli.cursor()) as cur:\n        yield from cur.execute(\"SELECT * FROM table LIMIT 10\")\n        rows = yield from cur.fetch()\n        print(\"ROWS\", rows)\n\n\nUpgrade Notes\n-------------\n\nIn version 0.1 client was connected by ``Client.connect`` and cursor was\ncreated by a plain function (not coroutine). It's changed to support\ntransparent reconnection.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftailhook%2Faio-hs2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftailhook%2Faio-hs2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftailhook%2Faio-hs2/lists"}