boto3-refresh-session 1.0.31__py3-none-any.whl → 1.0.33__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.
@@ -4,5 +4,5 @@ from . import session
4
4
  from .session import RefreshableSession
5
5
 
6
6
  __all__.extend(session.__all__)
7
- __version__ = "1.0.31"
7
+ __version__ = "1.0.33"
8
8
  __author__ = "Mike Letts"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: boto3-refresh-session
3
- Version: 1.0.31
3
+ Version: 1.0.33
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
@@ -21,25 +21,42 @@ Project-URL: Documentation, https://michaelthomasletts.github.io/boto3-refresh-s
21
21
  Project-URL: Repository, https://github.com/michaelthomasletts/boto3-refresh-session
22
22
  Description-Content-Type: text/markdown
23
23
 
24
- <p align="center">
24
+ <div align="center">
25
25
  <img src="https://raw.githubusercontent.com/michaelthomasletts/boto3-refresh-session/refs/heads/main/doc/brs.png" />
26
- </p>
26
+ </div>
27
27
 
28
- <p align="center">
29
- <em>A simple Python package for refreshing the temporary security credentials in a <code>boto3.session.Session</code> object automatically.</em>
30
- </p>
28
+ </br>
29
+
30
+ <div align="center"><em>
31
+ A simple Python package for refreshing the temporary security credentials in a <code>boto3.session.Session</code> object automatically.
32
+ </em></div>
33
+
34
+ </br>
35
+
36
+ <div align="center">
37
+
38
+ <a href="https://pypi.org/project/boto3-refresh-session/">
39
+ <img src="https://img.shields.io/pypi/v/boto3-refresh-session?color=%23FF0000FF" alt="PyPI - Version"/>
40
+ </a>
31
41
 
32
- <p align="center">
33
- <img src="https://img.shields.io/pypi/v/boto3-refresh-session?color=%23FF0000FF" alt="PyPI - Version"/>
34
42
  <a href="https://github.com/michaelthomasletts/boto3-refresh-session/actions/workflows/push.yml">
35
43
  <img src="https://img.shields.io/github/actions/workflow/status/michaelthomasletts/boto3-refresh-session/push.yml?logo=github&color=%23FF0000FF" alt="Workflow"/>
36
44
  </a>
37
- <img src="https://img.shields.io/pypi/pyversions/boto3-refresh-session?style=pypi&color=%23FF0000FF" alt="Python Version"/>
38
- <img src="https://img.shields.io/github/last-commit/michaelthomasletts/boto3-refresh-session?logo=github&color=%23FF0000FF" alt="GitHub last commit"/>
39
- <a href="https://pepy.tech/projects/boto3-refresh-session">
45
+
46
+ <a href="https://pypi.org/project/boto3-refresh-session/">
47
+ <img src="https://img.shields.io/pypi/pyversions/boto3-refresh-session?style=pypi&color=%23FF0000FF" alt="Python Version"/>
48
+ </a>
49
+
50
+ <a href="https://github.com/michaelthomasletts/boto3-refresh-session/commits/main">
51
+ <img src="https://img.shields.io/github/last-commit/michaelthomasletts/boto3-refresh-session?logo=github&color=%23FF0000FF" alt="GitHub last commit"/>
52
+ </a>
53
+
54
+ <a href="https://pepy.tech/project/boto3-refresh-session">
40
55
  <img src="https://img.shields.io/badge/downloads-45.6K-red?logo=python&color=%23FF0000" alt="Downloads"/>
41
56
  </a>
42
- </p>
57
+
58
+ </div>
59
+
43
60
 
44
61
  ## Links
45
62
 
@@ -62,6 +79,14 @@ From a Cyber Security Engineer at a FAANG company:
62
79
 
63
80
  > _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._
64
81
 
82
+ ## Features
83
+
84
+ - Auto-refreshing credentials for long-lived `boto3` sessions
85
+ - Drop-in replacement for `boto3.session.Session`
86
+ - Supports `assume_role`, custom STS clients, and profile/region configuration, as well as all other parameters supported by `boto3.session.Session`
87
+ - Tested, documented, and published to PyPI
88
+ - Used in production at major tech companies
89
+
65
90
  ## Installation
66
91
 
67
92
  ```bash
@@ -129,3 +154,7 @@ on my employer's open source policy, I may simply import this package instead of
129
154
  reproducing the code herein for the Nth time.
130
155
 
131
156
  If any of that sounds relatable, then `boto3-refresh-session` should help you.
157
+
158
+ ---
159
+
160
+ 📄 Licensed under the MIT License.
@@ -0,0 +1,7 @@
1
+ boto3_refresh_session/__init__.py,sha256=-cHFElXfk064g5Xdna5IyG7CuRv-nfjyoNnqnhA1IXw,158
2
+ boto3_refresh_session/session.py,sha256=jDSjEHIZkGvMEOKzCtcOT7j41rOOoR_tei_dffS0Cww,5887
3
+ boto3_refresh_session-1.0.33.dist-info/LICENSE,sha256=I3ZYTXAjbIly6bm6J-TvFTuuHwTKws4h89QaY5c5HiY,1067
4
+ boto3_refresh_session-1.0.33.dist-info/METADATA,sha256=2EA8_x2LVeBvtTzfMmgV5t6lmjssvePBKiFjIUAaF80,6462
5
+ boto3_refresh_session-1.0.33.dist-info/NOTICE,sha256=1s8r33qbl1z0YvPB942iWgvbkP94P_e8AnROr1qXXuw,939
6
+ boto3_refresh_session-1.0.33.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
7
+ boto3_refresh_session-1.0.33.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- boto3_refresh_session/__init__.py,sha256=MdX3r1hyUQjUNydGVsryl1iu__UoszYwWf5LazVBCBQ,158
2
- boto3_refresh_session/session.py,sha256=jDSjEHIZkGvMEOKzCtcOT7j41rOOoR_tei_dffS0Cww,5887
3
- boto3_refresh_session-1.0.31.dist-info/LICENSE,sha256=I3ZYTXAjbIly6bm6J-TvFTuuHwTKws4h89QaY5c5HiY,1067
4
- boto3_refresh_session-1.0.31.dist-info/METADATA,sha256=wRDtVdMl1_23PfKNhS521ZhkXnHtEjas-c2sIX2YNMA,5790
5
- boto3_refresh_session-1.0.31.dist-info/NOTICE,sha256=1s8r33qbl1z0YvPB942iWgvbkP94P_e8AnROr1qXXuw,939
6
- boto3_refresh_session-1.0.31.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
7
- boto3_refresh_session-1.0.31.dist-info/RECORD,,