sinergym.utils.gcloud.read_from_bucket

sinergym.utils.gcloud.read_from_bucket(client, src_path, ori_bucket_name, ori_path)

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

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

  • src_path – Path to the local file or directory you want to read and download data

  • ori_bucket_name – Origin bucket name where reading

  • ori_path – Path where you want to read data inner the bucket