3
3
Google Cloud Bigtable Python Samples
4
4
===============================================================================
5
5
6
+ .. image :: https://gstatic.com/cloudssh/images/open-btn.png
7
+ :target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=bigtable/hello_happybase/README.rst
8
+
9
+
6
10
This directory contains samples for Google Cloud Bigtable. `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.
7
11
8
12
@@ -61,6 +65,10 @@ Samples
61
65
Basic example
62
66
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
63
67
68
+ .. image :: https://gstatic.com/cloudssh/images/open-btn.png
69
+ :target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=bigtable/hello_happybase/main.py;bigtable/hello_happybase/README.rst
70
+
71
+
64
72
65
73
66
74
To run this sample:
@@ -70,25 +78,26 @@ To run this sample:
70
78
$ python main.py
71
79
72
80
usage: main.py [-h] [--table TABLE] project_id instance_id
73
-
81
+
74
82
Demonstrates how to connect to Cloud Bigtable and run some basic operations.
75
83
Prerequisites: - Create a Cloud Bigtable cluster.
76
84
https://cloud.google.com/bigtable/docs/creating-cluster - Set your Google
77
85
Application Default Credentials.
78
86
https://developers.google.com/identity/protocols/application-default-
79
87
credentials
80
-
88
+
81
89
positional arguments:
82
90
project_id Your Cloud Platform project ID.
83
91
instance_id ID of the Cloud Bigtable instance to connect to.
84
-
92
+
85
93
optional arguments:
86
94
-h, --help show this help message and exit
87
95
--table TABLE Table to create and destroy. (default: Hello-Bigtable)
88
96
89
97
90
98
91
99
100
+
92
101
The client library
93
102
-------------------------------------------------------------------------------
94
103
0 commit comments