boto3-refresh-session 1.0.40__py3-none-any.whl → 1.0.41__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_refresh_session/__init__.py +1 -1
- boto3_refresh_session/session.py +2 -2
- {boto3_refresh_session-1.0.40.dist-info → boto3_refresh_session-1.0.41.dist-info}/METADATA +10 -4
- boto3_refresh_session-1.0.41.dist-info/RECORD +7 -0
- boto3_refresh_session-1.0.40.dist-info/RECORD +0 -7
- {boto3_refresh_session-1.0.40.dist-info → boto3_refresh_session-1.0.41.dist-info}/LICENSE +0 -0
- {boto3_refresh_session-1.0.40.dist-info → boto3_refresh_session-1.0.41.dist-info}/NOTICE +0 -0
- {boto3_refresh_session-1.0.40.dist-info → boto3_refresh_session-1.0.41.dist-info}/WHEEL +0 -0
boto3_refresh_session/session.py
CHANGED
@@ -18,8 +18,8 @@ from botocore.credentials import (
|
|
18
18
|
|
19
19
|
|
20
20
|
class RefreshableSession(Session):
|
21
|
-
"""
|
22
|
-
|
21
|
+
"""A :class:`boto3.session.Session` object that automatically refreshes temporary AWS
|
22
|
+
credentials.
|
23
23
|
|
24
24
|
Parameters
|
25
25
|
----------
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: boto3-refresh-session
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.41
|
4
4
|
Summary: A simple Python package for refreshing the temporary security credentials in a boto3.session.Session object automatically.
|
5
5
|
License: MIT
|
6
6
|
Keywords: boto3,botocore,aws
|
@@ -56,7 +56,7 @@ Description-Content-Type: text/markdown
|
|
56
56
|
</a>
|
57
57
|
|
58
58
|
<a href="https://pepy.tech/project/boto3-refresh-session">
|
59
|
-
<img src="https://img.shields.io/badge/downloads-
|
59
|
+
<img src="https://img.shields.io/badge/downloads-56.7K-red?logo=python&color=%23FF0000&label=Downloads" alt="Downloads"/>
|
60
60
|
</a>
|
61
61
|
|
62
62
|
<a href="https://michaelthomasletts.github.io/boto3-refresh-session/index.html">
|
@@ -81,7 +81,13 @@ Description-Content-Type: text/markdown
|
|
81
81
|
- Tested, documented, and published to PyPI
|
82
82
|
- Used in production at major tech companies
|
83
83
|
|
84
|
-
## Adoption
|
84
|
+
## Adoption and Recognition
|
85
|
+
|
86
|
+
[Mentioned in TL;DR Sec](https://tldrsec.com/p/tldr-sec-282).
|
87
|
+
|
88
|
+
Received honorable mention during AWS Community Day Midwest on June 5th, 2025.
|
89
|
+
|
90
|
+
Used by multiple teams and large companies including FAANG.
|
85
91
|
|
86
92
|
The following line plot illustrates the adoption of BRS from the last three months in terms of average daily downloads over a rolling seven day window.
|
87
93
|
|
@@ -93,7 +99,7 @@ The following line plot illustrates the adoption of BRS from the last three mont
|
|
93
99
|
|
94
100
|
From a Cyber Security Engineer at a FAANG company:
|
95
101
|
|
96
|
-
> _Most of my work is on tooling related to AWS security, so I'm pretty choosy about boto3 credentials-adjacent code. I often opt to just write this sort of thing myself so I at least know that I can reason about it. But I found boto3-refresh-session to be very clean and intuitive
|
102
|
+
> _Most of my work is on tooling related to AWS security, so I'm pretty choosy about boto3 credentials-adjacent code. I often opt to just write this sort of thing myself so I at least know that I can reason about it. But I found boto3-refresh-session to be very clean and intuitive [...] We're using the RefreshableSession class as part of a client cache construct [...] We're using AWS Lambda to perform lots of operations across several regions in hundreds of accounts, over and over again, all day every day. And it turns out that there's a surprising amount of overhead to creating boto3 clients (mostly deserializing service definition json), so we can run MUCH more efficiently if we keep a cache of clients, all equipped with automatically refreshing sessions._
|
97
103
|
|
98
104
|
## Installation
|
99
105
|
|
@@ -0,0 +1,7 @@
|
|
1
|
+
boto3_refresh_session/__init__.py,sha256=NryXLl4sSu3AO_-yrcFsiWU09XnHr-ap4-qr39btGLI,158
|
2
|
+
boto3_refresh_session/session.py,sha256=ZB1X0ajFZSpuRKi4N3KGg56Y7ZJPMN3jwjMh-6grbvo,5881
|
3
|
+
boto3_refresh_session-1.0.41.dist-info/LICENSE,sha256=I3ZYTXAjbIly6bm6J-TvFTuuHwTKws4h89QaY5c5HiY,1067
|
4
|
+
boto3_refresh_session-1.0.41.dist-info/METADATA,sha256=GJZhfPAymeIm1kWAzY4GDrvO_biuYWVMgp4ep28qclA,7406
|
5
|
+
boto3_refresh_session-1.0.41.dist-info/NOTICE,sha256=1s8r33qbl1z0YvPB942iWgvbkP94P_e8AnROr1qXXuw,939
|
6
|
+
boto3_refresh_session-1.0.41.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
7
|
+
boto3_refresh_session-1.0.41.dist-info/RECORD,,
|
@@ -1,7 +0,0 @@
|
|
1
|
-
boto3_refresh_session/__init__.py,sha256=m70rlTNpK-BXw8whPanITj5QFQ_sr8Yh55wtsMOGnaw,158
|
2
|
-
boto3_refresh_session/session.py,sha256=jDSjEHIZkGvMEOKzCtcOT7j41rOOoR_tei_dffS0Cww,5887
|
3
|
-
boto3_refresh_session-1.0.40.dist-info/LICENSE,sha256=I3ZYTXAjbIly6bm6J-TvFTuuHwTKws4h89QaY5c5HiY,1067
|
4
|
-
boto3_refresh_session-1.0.40.dist-info/METADATA,sha256=ca_k31-xDbE3eeKHpOnCP1xVscbG_EmH53zd7dFQOj4,7186
|
5
|
-
boto3_refresh_session-1.0.40.dist-info/NOTICE,sha256=1s8r33qbl1z0YvPB942iWgvbkP94P_e8AnROr1qXXuw,939
|
6
|
-
boto3_refresh_session-1.0.40.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
7
|
-
boto3_refresh_session-1.0.40.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|