Python Client for Google Cloud Bigtable
Google Cloud Bigtable is Google’s NoSQL Big Data database service. It’s thesame database that powers many core Google services, including Search,Analytics, Maps, and Gmail.
Async Data Client
v2.23.0 includes a release of the newBigtableDataClientAsync client, accessible at the import pathgoogle.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 operationsremaining exclusively in the existing synchronous client.
Feedback and bug reports are welcome atcbt-python-client-v3-feedback@google.com,or through the Githubissue tracker.
NOTE: It is generally not recommended to use the async client in an otherwise synchronous codebase. To make use of asyncio’sperformance benefits, the codebase should be designed to be async from the ground up.
Quick Start
In order to use this library, you first need to go through the following steps:
Installation
Install this library in avirtualenv using pip.virtualenv is a tool tocreate isolated Python environments. The basic problem it addresses is one ofdependencies and versions, and indirectly permissions.
Withvirtualenv, it’s possible to install this library without needing systeminstall permissions, and without clashing with the installed systemdependencies.
Supported Python Versions
Python >= 3.7
Deprecated Python Versions
Python 2.7: the last released version which supported Python 2.7 wasversion 1.7.0, released 2021-02-09.
Python 3.5: the last released version which supported Python 3.5 wasversion 1.7.0, released 2021-02-09.
Python 3.6: the last released version which supported Python 3.6 wasversion v2.10.1, released 2022-06-03.
Mac/Linux
pip install virtualenvvirtualenv <your-env>source <your-env>/bin/activate<your-env>/bin/pip install google-cloud-bigtableWindows
pip install virtualenvvirtualenv <your-env><your-env>\Scripts\activate<your-env>\Scripts\pip.exe install google-cloud-bigtableNext Steps
Read theClient Library Documentation for Cloud Bigtable APIto see other available methods on the client.
Read theProduct documentation to learnmore about the product and see How-to Guides.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-18 UTC.