{"id":18395198,"url":"https://github.com/mariogarcia/hbase_python_clients","last_synced_at":"2025-04-12T13:43:16.196Z","repository":{"id":146680817,"uuid":"397887111","full_name":"mariogarcia/hbase_python_clients","owner":"mariogarcia","description":"Happybase and AIOhappybase examples","archived":false,"fork":false,"pushed_at":"2021-08-19T10:13:09.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-16T02:17:41.472Z","etag":null,"topics":["examples","hbase","hbase-client","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mariogarcia.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-19T09:25:32.000Z","updated_at":"2021-08-19T10:49:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"a58f4239-a07b-4261-b230-315c5dac9887","html_url":"https://github.com/mariogarcia/hbase_python_clients","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mariogarcia%2Fhbase_python_clients","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mariogarcia%2Fhbase_python_clients/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mariogarcia%2Fhbase_python_clients/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mariogarcia%2Fhbase_python_clients/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mariogarcia","download_url":"https://codeload.github.com/mariogarcia/hbase_python_clients/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248574707,"owners_count":21127055,"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":["examples","hbase","hbase-client","python3"],"created_at":"2024-11-06T02:08:28.798Z","updated_at":"2025-04-12T13:43:16.158Z","avatar_url":"https://github.com/mariogarcia.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HappyBase and AIOHappyBase\n\n[HappyBase](https://happybase.readthedocs.io/en/latest/) and [AIOHappyBase](https://aiohappybase.readthedocs.io/en/latest/user.html) are two Python Hbase clients. \n\n## To execute the examples\n\n- **Startup Hbase and Thrift server**\n\nHappyBase and AIOHappyBase require the Hbase Thrift server to be up and running:\n\n```\n\u003e cd hbase-installation\n\u003e ./bin/start-hbase.sh\n\u003e ./bin/hbase-daemon.sh start thrift\n```\n\n- **Install poetry**\n\nThe project uses [Poetry](https://python-poetry.org/) to manage the virtual environment and the project dependencies so it's recommended to install Poetry\n\n- **Update dependencies**\n\nTo download the dependencies declared in `pyproject.toml` execute:\n\n```\npoetry update\n```\n\n- **Start shell**\n\nTo create or use a virtualenv execute:\n\n```\npoetry shell\n```\n\nNow you can start opening a Python shell or executing the Poetry scripts.\n\n- **Execute Poetry scripts**\n\nCheck [script] section in pyproject.toml\n\n```toml\n[tool.poetry.scripts]\ncreate = \"hbasegs.synchronous:hbase_create\"\ninsert = \"hbasegs.synchronous:hbase_put\"\nsearch = \"hbasegs.synchronous:hbase_scan\"\nsearch_more_filters = \"hbasegs.synchronous:hbase_scan_more_filters\"\nasync_insert = \"hbasegs.asynchronous:hbase_put\"\nasync_search = \"hbasegs.asynchronous:hbase_aio_use_case_main\"\n```\n\nThese are the scripts you can execute directly from command line, for instance, to create the examples table in Hbase:\n\n```\npoetry run create\n```\n\nor insert 5M rows in your local standalone Hbase:\n\n```\npoetry run insert\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmariogarcia%2Fhbase_python_clients","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmariogarcia%2Fhbase_python_clients","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmariogarcia%2Fhbase_python_clients/lists"}