pyaws-s3 1.0.23__py3-none-any.whl → 1.0.24__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
pyaws_s3/s3.py CHANGED
@@ -178,18 +178,17 @@ class S3Client:
178
178
  Upload a Plotly Figure as a PNG image to an S3 bucket and generate a pre-signed URL.
179
179
 
180
180
  Args:
181
- fig (Figure): The Plotly Figure object to upload.
182
- bucket_name (str): The name of the S3 bucket.
181
+ bytes_data (bytes): The bytes data of the image to upload.
183
182
  object_name (str): The name of the S3 object.
183
+ format_file (str): Format of the image. Defaults to 'pdf' ["png", "jpeg", "svg", "html", "pdf"].
184
+ Raises:
185
+ Exception: If there is an error uploading the image.
184
186
 
185
187
  Keyword Args:
186
188
  format_file (str): Format of the image. Defaults to 'png'.
187
189
 
188
190
  Returns:
189
191
  str: Pre-signed URL for the uploaded image.
190
-
191
- Raises:
192
- Exception: If there is an error uploading the image.
193
192
  """
194
193
  try:
195
194
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyaws-s3
3
- Version: 1.0.23
3
+ Version: 1.0.24
4
4
  Summary: A Python package for AWS S3 utilities
5
5
  Author-email: Giuseppe Zileni <giuseppe.zileni@gmail.com>
6
6
  Keywords: aws,s3,utilities
@@ -0,0 +1,7 @@
1
+ pyaws_s3/__init__.py,sha256=Tr7xJiCKOMWYydOJ4kxHlA7AR1X3pRsJ8MjxJev2wsw,24
2
+ pyaws_s3/s3.py,sha256=OQ5z69f2n3JpayVhPg99J6weAaw0r0vI3gpqjZe3104,22707
3
+ pyaws_s3-1.0.24.dist-info/licenses/LICENSE.md,sha256=7WXohDebeZpcVn_nH2aIaLhFZRvZBdcPSqWsO12lhwM,1074
4
+ pyaws_s3-1.0.24.dist-info/METADATA,sha256=THZAeKqA7zEVk6cRZ5LQDV2tD22aHjQ2hHpACivKpys,5464
5
+ pyaws_s3-1.0.24.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
6
+ pyaws_s3-1.0.24.dist-info/top_level.txt,sha256=MxSSC4Q8Vr32wKgrUAlwT4BTXwqUaG_CAWoBuPeXYjQ,9
7
+ pyaws_s3-1.0.24.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- pyaws_s3/__init__.py,sha256=Tr7xJiCKOMWYydOJ4kxHlA7AR1X3pRsJ8MjxJev2wsw,24
2
- pyaws_s3/s3.py,sha256=EfbJUo2SwRszaJE-9I89yx5-5HoTgr8cI3-M6A6WUXE,22647
3
- pyaws_s3-1.0.23.dist-info/licenses/LICENSE.md,sha256=7WXohDebeZpcVn_nH2aIaLhFZRvZBdcPSqWsO12lhwM,1074
4
- pyaws_s3-1.0.23.dist-info/METADATA,sha256=0t90l4Zpe8B3NOCXyidsmBH_yQFJAIvFcCMWqcmsYV0,5464
5
- pyaws_s3-1.0.23.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
6
- pyaws_s3-1.0.23.dist-info/top_level.txt,sha256=MxSSC4Q8Vr32wKgrUAlwT4BTXwqUaG_CAWoBuPeXYjQ,9
7
- pyaws_s3-1.0.23.dist-info/RECORD,,