provcat.stores.gcs
Google Cloud Storage:
gs://bucket/key.It needs the gcs extra: pip install provcat[gcs].
Options, all optional:
project: the Google Cloud project. The default comes from the credentials.endpoint_url: another API endpoint, for example a local emulator.anonymous: true to send no credentials, for public buckets and emulators.
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.