boto3-refresh-session 0.0.17__py3-none-any.whl → 0.0.20__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.
@@ -10,10 +10,11 @@ object.
10
10
  objects! There are optional ``session_kwargs`` and ``client_kwargs``
11
11
  parameters available for passing hard-coded account credentials, which
12
12
  should work; however, that cannot be guaranteed! In any case, the ``boto3``
13
- documentation strongly urges against passing hard-coded account credentials
13
+ documentation generally recommends against passing hard-coded account credentials
14
14
  as parameters; it is for that reason the documentation below, and everywhere
15
15
  else, only mentions ``~/.aws/config`` and ``~/.aws/credentials`` for
16
- authorization.
16
+ authorization. Since the ``session_kwargs`` and ``client_kwargs`` parameters
17
+ were not tested, you will need to use those parameters at your own discretion.
17
18
  """
18
19
  __all__ = ["AutoRefreshableSession"]
19
20
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: boto3-refresh-session
3
- Version: 0.0.17
3
+ Version: 0.0.20
4
4
  Summary: A simple Python package for refreshing boto3 sessions automatically.
5
5
  Home-page: https://github.com/michaelthomasletts/boto3-refresh-session
6
6
  License: MIT
@@ -28,7 +28,7 @@ Description-Content-Type: text/markdown
28
28
  [![Workflow](https://img.shields.io/github/actions/workflow/status/michaelthomasletts/boto3-refresh-session/push_pullrequest.yml?logo=github)](https://github.com/michaelthomasletts/boto3-refresh-session/actions/workflows/push_pullrequest.yml)
29
29
  ![Python Version](https://img.shields.io/pypi/pyversions/boto3-refresh-session?style=pypi)
30
30
 
31
- ![BRS Image](doc/brs.png)
31
+ ![BRS Image](https://raw.githubusercontent.com/michaelthomasletts/boto3-refresh-session/refs/heads/main/doc/brs.png)
32
32
 
33
33
  A simple Python package for refreshing boto3 sessions automatically.
34
34
 
@@ -73,7 +73,10 @@ To use this package, your machine must be configured with AWS
73
73
  credentials. To learn more about how `boto3` searches for credentials on a
74
74
  machine, check [this documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html).
75
75
 
76
- ```
76
+ ```python
77
+ from boto3_refresh_session import AutoRefreshableSession
78
+
79
+
77
80
  sess = AutoRefreshableSession(
78
81
  region="<your-region>",
79
82
  role_arn="<your-role-arn>",
@@ -82,6 +85,12 @@ sess = AutoRefreshableSession(
82
85
  s3_client = sess.session.client(service_name="s3")
83
86
  ```
84
87
 
88
+ ### Installation
89
+
90
+ ```bash
91
+ pip install boto3-refresh-session
92
+ ```
93
+
85
94
  ### Authors
86
95
 
87
96
  - [Michael Letts](https://michaelthomasletts.github.io/)
@@ -0,0 +1,6 @@
1
+ boto3_refresh_session/__init__.py,sha256=OMY8el4qROyEvo0vr1Kv8rtFU7g3xnjHuBss54XRTEA,135
2
+ boto3_refresh_session/session.py,sha256=monPRTlarzX-26Uv5scAbGWCkUxDzuKecdb_GAZhZM4,4697
3
+ boto3_refresh_session-0.0.20.dist-info/LICENSE,sha256=I3ZYTXAjbIly6bm6J-TvFTuuHwTKws4h89QaY5c5HiY,1067
4
+ boto3_refresh_session-0.0.20.dist-info/METADATA,sha256=BX-rw5oHCv8CTVnYQthlHr3MJzg6n83z4GcsSE4fvvQ,4007
5
+ boto3_refresh_session-0.0.20.dist-info/WHEEL,sha256=RaoafKOydTQ7I_I3JTrPCg6kUmTgtm4BornzOqyEfJ8,88
6
+ boto3_refresh_session-0.0.20.dist-info/RECORD,,
@@ -1,6 +0,0 @@
1
- boto3_refresh_session/__init__.py,sha256=OMY8el4qROyEvo0vr1Kv8rtFU7g3xnjHuBss54XRTEA,135
2
- boto3_refresh_session/session.py,sha256=KeaQ7kfIZtJqF5rdZNJu7ASvxWX03oRDwjFyw82haeA,4545
3
- boto3_refresh_session-0.0.17.dist-info/LICENSE,sha256=I3ZYTXAjbIly6bm6J-TvFTuuHwTKws4h89QaY5c5HiY,1067
4
- boto3_refresh_session-0.0.17.dist-info/METADATA,sha256=wYkaofq71Ko7BArTokYc7O8Imi3GXcqXVUBc_McYPwg,3786
5
- boto3_refresh_session-0.0.17.dist-info/WHEEL,sha256=RaoafKOydTQ7I_I3JTrPCg6kUmTgtm4BornzOqyEfJ8,88
6
- boto3_refresh_session-0.0.17.dist-info/RECORD,,