This directory contains code samples for Cloud Bigtable, which may be used as a reference for using this product.
-
If this is your first time working with GCP products, you will need to set up the Cloud SDK or utilize Google Cloud Shell. This sample may require authentication and you will need to enable billing.
-
Set your environment variables:
export GOOGLE_CLOUD_PROJECT="your-project-id" export BIGTABLE_INSTANCE="your-instance-id"
-
Install dependencies for the sample module you want to run:
pip install -r requirements.txt
-
Run sample scripts directly:
python main.py $GOOGLE_CLOUD_PROJECT $BIGTABLE_INSTANCE
-
To run sample tests using Nox:
nox -s py-3.14
You can read the documentation for more details on API usage and use GitHub to browse the source and report issues.
View the contributing guidelines and the Python style guide for more information.