S5.Weather.upload_file#

S5.Weather.upload_file(file_name, bucket_name: str = 'duscweather', object_name=None) bool[source]#

Upload a file to an S3 bucket

Parameters:
  • file_name – File to upload

  • bucket – Bucket to upload to

  • object_name – S3 object name. If not specified then file_name is used

Returns:

True if file was uploaded, else False