Google Cloud Bigtable is Google's NoSQL Big Data database service. It's the same database that powers many core Google services, including Search, Analytics, Maps, and Gmail.
v2.23.0
includes a release of the new BigtableDataClientAsync
client, accessible at the import path
google.cloud.bigtable.data
.
The new client brings a simplified API and increased performance using asyncio. The new client is focused on the data API (i.e. reading and writing Bigtable data), with admin operations remaining exclusively in the existing synchronous client.
Feedback and bug reports are welcome at [email protected], or through the Github issue tracker.
Note
It is generally not recommended to use the async client in an otherwise synchronous codebase. To make use of asyncio's performance benefits, the codebase should be designed to be async from the ground up.
In order to use this library, you first need to go through the following steps:
- Select or create a Cloud Platform project.
- Enable billing for your project.
- Enable the Cloud Bigtable API.
- Setup Authentication.
Install this library in a virtualenv using pip. virtualenv is a tool to create isolated Python environments. The basic problem it addresses is one of dependencies and versions, and indirectly permissions.
With virtualenv, it's possible to install this library without needing system install permissions, and without clashing with the installed system dependencies.
Python >= 3.7
- Python 2.7: the last released version which supported Python 2.7 was version 1.7.0, released 2021-02-09.
- Python 3.5: the last released version which supported Python 3.5 was version 1.7.0, released 2021-02-09.
- Python 3.6: the last released version which supported Python 3.6 was version v2.10.1, released 2022-06-03.
pip install virtualenv
virtualenv <your-env>
source <your-env>/bin/activate
<your-env>/bin/pip install google-cloud-bigtable
pip install virtualenv
virtualenv <your-env>
<your-env>\Scripts\activate
<your-env>\Scripts\pip.exe install google-cloud-bigtable
- Read the Client Library Documentation for Cloud Bigtable API to see other available methods on the client.
- Read the Product documentation to learn more about the product and see How-to Guides.