Two samples:
list_objects.pylists objects in a bucket.compose_objects.pycomposes objects together to create another.
See the docstring for each sample for usage, or run the sample for the help text.
Before running the samples, you'll need the Google Cloud SDK in order to setup authentication.
-
Install the Google Cloud SDK, including the gcloud tool, and gcloud app component.
-
Setup the gcloud tool.
gcloud components update app gcloud auth login gcloud config set project <your-app-id>
You will also need to install the dependencies using pip:
pip install -r requirements.txt