provcat.stores.gcs

Google Cloud Storage: gs://bucket/key.

It needs the gcs extra: pip install provcat[gcs].

Options, all optional:

Credentials come from Application Default Credentials: the environment variable GOOGLE_APPLICATION_CREDENTIALS, gcloud auth application-default login, or the service account of the machine. Do not put keys in the provcat configuration.

The version of a file is its generation, a number that GCS changes on every write. The download reads the generation of the bytes it got from the reply, so the cached bytes always match the version recorded. ObjectStore in objects.py holds the rest.