basic-app-frame-xethhung12 0.0.2__tar.gz → 0.0.4__tar.gz

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.
Files changed (17) hide show
  1. {basic_app_frame_xethhung12-0.0.2 → basic_app_frame_xethhung12-0.0.4}/PKG-INFO +1 -1
  2. {basic_app_frame_xethhung12-0.0.2 → basic_app_frame_xethhung12-0.0.4}/pyproject.toml +1 -1
  3. {basic_app_frame_xethhung12-0.0.2 → basic_app_frame_xethhung12-0.0.4}/src/basic_app_frame_xethhung12/connectors/s3.py +1 -9
  4. {basic_app_frame_xethhung12-0.0.2 → basic_app_frame_xethhung12-0.0.4}/.gitignore +0 -0
  5. {basic_app_frame_xethhung12-0.0.2 → basic_app_frame_xethhung12-0.0.4}/LICENSE +0 -0
  6. {basic_app_frame_xethhung12-0.0.2 → basic_app_frame_xethhung12-0.0.4}/README.md +0 -0
  7. {basic_app_frame_xethhung12-0.0.2 → basic_app_frame_xethhung12-0.0.4}/build-and-deploy.sh +0 -0
  8. {basic_app_frame_xethhung12-0.0.2 → basic_app_frame_xethhung12-0.0.4}/build.sh +0 -0
  9. {basic_app_frame_xethhung12-0.0.2 → basic_app_frame_xethhung12-0.0.4}/dev-requirements.txt +0 -0
  10. {basic_app_frame_xethhung12-0.0.2 → basic_app_frame_xethhung12-0.0.4}/install-dependencies.sh +0 -0
  11. {basic_app_frame_xethhung12-0.0.2 → basic_app_frame_xethhung12-0.0.4}/requirements.txt +0 -0
  12. {basic_app_frame_xethhung12-0.0.2 → basic_app_frame_xethhung12-0.0.4}/src/basic_app_frame_xethhung12/__init__.py +0 -0
  13. {basic_app_frame_xethhung12-0.0.2 → basic_app_frame_xethhung12-0.0.4}/src/basic_app_frame_xethhung12/__main__.py +0 -0
  14. {basic_app_frame_xethhung12-0.0.2 → basic_app_frame_xethhung12-0.0.4}/src/basic_app_frame_xethhung12/_cmd/run.py +0 -0
  15. {basic_app_frame_xethhung12-0.0.2 → basic_app_frame_xethhung12-0.0.4}/src/basic_app_frame_xethhung12/_module_helloworld.py +0 -0
  16. {basic_app_frame_xethhung12-0.0.2 → basic_app_frame_xethhung12-0.0.4}/src/basic_app_frame_xethhung12/connectors/mongo_db.py +0 -0
  17. {basic_app_frame_xethhung12-0.0.2 → basic_app_frame_xethhung12-0.0.4}/src/basic_app_frame_xethhung12/encryptions.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: basic_app_frame_xethhung12
3
- Version: 0.0.2
3
+ Version: 0.0.4
4
4
  Summary: A small package targeting to help on python project packaging process
5
5
  Project-URL: Homepage, https://github.com/pypa/sampleproject
6
6
  Project-URL: Issues, https://github.com/pypa/sampleproject/issues
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "basic_app_frame_xethhung12"
7
- version = "0.0.2"
7
+ version = "0.0.4"
8
8
  description = "A small package targeting to help on python project packaging process"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
@@ -18,7 +18,6 @@ class S3Context:
18
18
  self,
19
19
  aws_access_key_id: str,
20
20
  aws_secret_access_key: str,
21
- aws_session_token: str,
22
21
  region_name: str,
23
22
  endpoint_url: str,
24
23
  bucket_name: str,
@@ -27,7 +26,6 @@ class S3Context:
27
26
  ):
28
27
  self.aws_access_key_id = aws_access_key_id
29
28
  self.aws_secret_access_key = aws_secret_access_key
30
- self.aws_session_token = aws_session_token
31
29
  self.region_name = region_name
32
30
  self.endpoint_url = endpoint_url
33
31
  self.bucket_name = bucket_name
@@ -38,7 +36,6 @@ class S3Context:
38
36
  self.session = boto3.Session(
39
37
  aws_access_key_id=self.aws_access_key_id,
40
38
  aws_secret_access_key=self.aws_secret_access_key,
41
- aws_session_token=self.aws_session_token,
42
39
  region_name=self.region_name,
43
40
  )
44
41
 
@@ -275,7 +272,6 @@ class S3Connector:
275
272
  self,
276
273
  aws_access_key_id: str,
277
274
  aws_secret_access_key: str,
278
- aws_session_token: str,
279
275
  region_name: str,
280
276
  endpoint_url: str,
281
277
  bucket_name: str,
@@ -285,7 +281,6 @@ class S3Connector:
285
281
  # Store configuration parameters lazily, loading defaults from environment if needed
286
282
  self.aws_access_key_id = aws_access_key_id
287
283
  self.aws_secret_access_key = aws_secret_access_key
288
- self.aws_session_token = aws_session_token
289
284
  self.region_name = region_name
290
285
  self.endpoint_url = endpoint_url
291
286
  self.bucket_name = bucket_name
@@ -299,7 +294,6 @@ class S3Connector:
299
294
  return S3Context(
300
295
  aws_access_key_id=self.aws_access_key_id,
301
296
  aws_secret_access_key=self.aws_secret_access_key,
302
- aws_session_token=self.aws_session_token,
303
297
  region_name=self.region_name,
304
298
  endpoint_url=self.endpoint_url,
305
299
  bucket_name=self.bucket_name,
@@ -307,10 +301,9 @@ class S3Connector:
307
301
  config=self.config,
308
302
  )
309
303
 
310
- def Connecor(
304
+ def connect(
311
305
  aws_access_key_id: str,
312
306
  aws_secret_access_key: str,
313
- aws_session_token: str,
314
307
  region_name: str,
315
308
  endpoint_url: str,
316
309
  bucket_name: str,
@@ -323,7 +316,6 @@ def Connecor(
323
316
  return S3Connector(
324
317
  aws_access_key_id=aws_access_key_id,
325
318
  aws_secret_access_key=aws_secret_access_key,
326
- aws_session_token=aws_session_token,
327
319
  region_name=region_name,
328
320
  endpoint_url=endpoint_url,
329
321
  bucket_name=bucket_name,