sinergym.utils.gcloud.read_from_bucket

sinergym.utils.gcloud.read_from_bucket(client, bucket_name, blob_prefix)

Read a file or a directory (recursively) from specified bucket to local file system.

Parameters:
  • client – Google Cloud storage client object to ask resources.

  • bucket_name – Origin bucket name where reading.

  • blob_prefix – Path where you want to read data inner the bucket (excluding gs://<bucket_name>).