boto3-assist 0.2.4__py3-none-any.whl → 0.2.6__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.
boto3_assist/s3/s3.py CHANGED
@@ -51,7 +51,7 @@ class S3(S3Connection):
51
51
  aws_secret_access_key=aws_secret_access_key,
52
52
  )
53
53
 
54
- def create_bucket(self, bucket_name: str) -> None:
54
+ def create_bucket(self, *, bucket_name: str) -> None:
55
55
  """
56
56
  Create an S3 bucket
57
57
  :param bucket_name: Bucket to create
@@ -66,6 +66,7 @@ class S3(S3Connection):
66
66
 
67
67
  def generate_presigned_url(
68
68
  self,
69
+ *,
69
70
  bucket_name: str,
70
71
  key_path: str,
71
72
  user_id: str,
@@ -153,7 +154,7 @@ class S3(S3Connection):
153
154
 
154
155
  return response
155
156
 
156
- def upload_file_obj(self, bucket: str, key: str, file_obj: bytes | str) -> str:
157
+ def upload_file_obj(self, *, bucket: str, key: str, file_obj: bytes | str) -> str:
157
158
  """
158
159
  Uploads a file object to s3. Returns the full s3 path s3://<bucket>/<key>
159
160
  """
@@ -192,6 +193,7 @@ class S3(S3Connection):
192
193
 
193
194
  def upload_file(
194
195
  self,
196
+ *,
195
197
  bucket: str,
196
198
  key: str,
197
199
  local_file_path: str,
@@ -238,6 +240,7 @@ class S3(S3Connection):
238
240
 
239
241
  def download_file(
240
242
  self,
243
+ *,
241
244
  bucket: str,
242
245
  key: str,
243
246
  local_directory: str | None = None,
boto3_assist/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = '0.2.4'
1
+ __version__ = '0.2.6'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: boto3_assist
3
- Version: 0.2.4
3
+ Version: 0.2.6
4
4
  Summary: Additional boto3 wrappers to make your life a little easier
5
5
  Author-email: Eric Wilson <boto3-assist@geekcafe.com>
6
6
  Classifier: License :: Other/Proprietary License
@@ -2,7 +2,7 @@ boto3_assist/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  boto3_assist/boto3session.py,sha256=NWhWtYR3143thEbTpoklkwdz77-fTMs-QsoQdqfRm6E,6430
3
3
  boto3_assist/connection.py,sha256=EJlGueLIYqMSKs7aQlThK1S0Zkb8dOYBWch1iRZdgUI,3233
4
4
  boto3_assist/connection_tracker.py,sha256=_s1t7h2DOi3CCIHIr_HIKyGjku65WR-HJ_v8vJHDvO0,2977
5
- boto3_assist/version.py,sha256=N5-p8dQB8uwuCMpS1ADLf_E6rvWovtRRp3vY9Cq2gw4,22
5
+ boto3_assist/version.py,sha256=T150U4daRZ7ULOwxGUzzoBDAqm3bW9UydvCf0KJii9I,22
6
6
  boto3_assist/cloudwatch/cloudwatch_connection.py,sha256=mnGWaLSQpHh5EeY7Ek_2o9JKHJxOELIYtQVMX1IaHn4,2480
7
7
  boto3_assist/cloudwatch/cloudwatch_connection_tracker.py,sha256=mzRtO1uHrcfJNh1XrGEiXdTqxwEP8d1RqJkraMNkgK0,410
8
8
  boto3_assist/cloudwatch/cloudwatch_log_connection.py,sha256=qQMZHjUJ6gA8wU9utjQhOURXNSPH2RjxSoAy83bvoCs,1737
@@ -28,7 +28,7 @@ boto3_assist/environment_services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeR
28
28
  boto3_assist/environment_services/environment_loader.py,sha256=jvG1xwMtgkZqu70NbjG1b1IefKiWgaidjZZoqsSfULk,3370
29
29
  boto3_assist/environment_services/environment_variables.py,sha256=4ccBKdPt6O7hcRT3zBHd8vqu8yQU8udmoD5RLAT3iMs,6801
30
30
  boto3_assist/errors/custom_exceptions.py,sha256=zC2V2Y4PUtKj3uLPn8mB-JessksKWJWvKM9kp1dmvt8,760
31
- boto3_assist/s3/s3.py,sha256=NdfoU_vcg8ypyC2iYKm236zYTB3V7ave5vc_6Mdscxc,17065
31
+ boto3_assist/s3/s3.py,sha256=DFCJs5z1mMIT8nZfnqPyr_cvhi9-FePuYH--tzD7b5E,17104
32
32
  boto3_assist/s3/s3_connection.py,sha256=fMD1FxQazJ9gSFDrRmrv7YJE5QnCesGoWC1b5Dba_Jo,3774
33
33
  boto3_assist/utilities/datetime_utility.py,sha256=TbqGQkJDTahqvaZAIV550nhYnW1Bsq0Hdu3Go6P4RRs,10282
34
34
  boto3_assist/utilities/file_operations.py,sha256=Zy8fu8fpuVNf7U9NimrLdy5FRF71XSI159cnRdzmzGY,3411
@@ -36,8 +36,8 @@ boto3_assist/utilities/http_utility.py,sha256=koFv7Va-8ng-47Nt1K2Sh7Ti95e62IYs9V
36
36
  boto3_assist/utilities/logging_utility.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
37
37
  boto3_assist/utilities/serialization_utility.py,sha256=s_QQRIhtwIE7xN5nU13mNk2wtWyErBX_Sg7n0gbHj-M,4308
38
38
  boto3_assist/utilities/string_utility.py,sha256=w8l063UT3GE48tuJopETyZrjG4CgAzWkyDWMAYMg5Og,7432
39
- boto3_assist-0.2.4.dist-info/METADATA,sha256=6-R1661w1pMbKim2BiW3_Fq_rdVte73z5FM9oTmgyI4,1742
40
- boto3_assist-0.2.4.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
41
- boto3_assist-0.2.4.dist-info/licenses/LICENSE-EXPLAINED.txt,sha256=WFREvTpfTjPjDHpOLADxJpCKpIla3Ht87RUUGii4ODU,606
42
- boto3_assist-0.2.4.dist-info/licenses/LICENSE.txt,sha256=PXDhFWS5L5aOTkVhNvoitHKbAkgxqMI2uUPQyrnXGiI,1105
43
- boto3_assist-0.2.4.dist-info/RECORD,,
39
+ boto3_assist-0.2.6.dist-info/METADATA,sha256=FJ86DSqnjwXzrU_hBg9rdb3-tJgi6kiaVmTDkbiv3dU,1742
40
+ boto3_assist-0.2.6.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
41
+ boto3_assist-0.2.6.dist-info/licenses/LICENSE-EXPLAINED.txt,sha256=WFREvTpfTjPjDHpOLADxJpCKpIla3Ht87RUUGii4ODU,606
42
+ boto3_assist-0.2.6.dist-info/licenses/LICENSE.txt,sha256=PXDhFWS5L5aOTkVhNvoitHKbAkgxqMI2uUPQyrnXGiI,1105
43
+ boto3_assist-0.2.6.dist-info/RECORD,,