Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Rclone | 40,516 | 35 | 10 hours ago | 263 | July 17, 2023 | 912 | mit | Go | ||
"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Yandex Files | ||||||||||
Analytics | 16,167 | 2 days ago | 34 | agpl-3.0 | Elixir | |||||
Simple, open source, lightweight (< 1 KB) and privacy-friendly web analytics alternative to Google Analytics. | ||||||||||
Awesome Kubernetes | 14,249 | 13 days ago | 7 | other | Shell | |||||
A curated list for awesome kubernetes sources :ship::tada: | ||||||||||
Xg2xg | 13,355 | a day ago | 48 | |||||||
by ex-googlers, for ex-googlers - a lookup table of similar tech & services | ||||||||||
Functions Samples | 11,834 | 13 hours ago | 153 | apache-2.0 | JavaScript | |||||
Collection of sample apps showcasing popular use cases using Cloud Functions for Firebase | ||||||||||
Infracost | 9,595 | 2 days ago | 144 | July 21, 2023 | 142 | apache-2.0 | Go | |||
Cloud cost estimates for Terraform in pull requests💰📉 Love your cloud bill! | ||||||||||
Training Data Analyst | 7,018 | 6 days ago | 394 | apache-2.0 | Jupyter Notebook | |||||
Labs and demos for courses for GCP Training (http://cloud.google.com/training). | ||||||||||
Python Docs Samples | 6,567 | 3 hours ago | 2 | May 24, 2021 | 143 | apache-2.0 | Jupyter Notebook | |||
Code samples used on cloud.google.com | ||||||||||
Google Cloud Python | 4,345 | 123 | a day ago | 38 | August 03, 2023 | 130 | apache-2.0 | Python | ||
Google Cloud Client Library for Python | ||||||||||
Apps Script Samples | 4,054 | 5 days ago | 47 | apache-2.0 | JavaScript | |||||
Apps Script samples for Google Workspace products. |
Python samples for Google Cloud Platform products.
Check out some of the samples found on this repository on the Google Cloud Samples page.
Install pip
and virtualenv
if you do not already have them.
Clone this repository:
git clone https://github.com/GoogleCloudPlatform/python-docs-samples.git
Obtain authentication credentials.
Create local credentials by running the following command and following the oauth2 flow (read more about the command here):
gcloud auth application-default login
Read more about Google Cloud Platform Authentication.
Change directory to one of the sample folders, e.g. logging/cloud-client
:
cd logging/cloud-client/
Create a virtualenv. Samples are compatible with Python 3.6+.
python3 -m venv env
source env/bin/activate
Install the dependencies needed to run the samples.
pip install -r requirements.txt
Run the sample:
python snippets.py
Contributions welcome! See the Contributing Guide.