boto3-refresh-session 1.0.32__py3-none-any.whl → 1.0.34__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.32"
7
+ __version__ = "1.0.34"
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.32
3
+ Version: 1.0.34
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,37 +21,70 @@ 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&logo=python" 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&logo=python" 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>
43
57
 
58
+ <a href="https://michaelthomasletts.github.io/boto3-refresh-session/index.html">
59
+ <img src="https://img.shields.io/badge/official%20documentation-📘-FF0000?style=flat&labelColor=555&logo=readthedocs" alt="Documentation Badge"/>
60
+ </a>
61
+
62
+ <a href="https://github.com/michaelthomasletts/boto3-refresh-session">
63
+ <img src="https://img.shields.io/badge/source%20code-💻-FF0000?style=flat&labelColor=555&logo=github" alt="Source Code Badge"/>
64
+ </a>
65
+
66
+ <a href="https://michaelthomasletts.github.io/boto3-refresh-session/qanda.html">
67
+ <img src="https://img.shields.io/badge/Q%26A-❓-FF0000?style=flat&labelColor=555&logo=vercel" alt="Q&A Badge"/>
68
+ </a>
69
+
70
+ <<<<<<< HEAD
71
+ </div>
72
+
73
+ ## Features
74
+ =======
44
75
  ## Links
76
+ >>>>>>> 99cccbb7b40cf444acdf7867555042c72dec2ee2
45
77
 
46
- - [Official Documentation](https://michaelthomasletts.github.io/boto3-refresh-session/index.html)
47
- - [Q&A](https://michaelthomasletts.github.io/boto3-refresh-session/qanda.html)
48
- - [Source Code](https://github.com/michaelthomasletts/boto3-refresh-session)
49
- - [PyPI](https://pypi.org/project/boto3-refresh-session/)
50
- - [Contributing](https://michaelthomasletts.github.io/boto3-refresh-session/contributing.html)
51
- - [Authorization](https://michaelthomasletts.github.io/boto3-refresh-session/authorization.html)
78
+ - Auto-refreshing credentials for long-lived `boto3` sessions
79
+ - Drop-in replacement for `boto3.session.Session`
80
+ - Supports `assume_role` configuration, custom STS clients, and profile/region configuration, as well as all other parameters supported by `boto3.session.Session`
81
+ - Tested, documented, and published to PyPI
82
+ - Used in production at major tech companies
52
83
 
53
84
  ## Adoption
54
85
 
86
+ The following line plot illustrates the adoption of BRS in terms of total downloads over a rolling seven day window since the inception of BRS.
87
+
55
88
  <p align="center">
56
89
  <img src="https://raw.githubusercontent.com/michaelthomasletts/boto3-refresh-session/refs/heads/main/doc/downloads.png" />
57
90
  </p>
@@ -62,14 +95,6 @@ From a Cyber Security Engineer at a FAANG company:
62
95
 
63
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 . . . 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
97
 
65
- ## Features
66
-
67
- - Auto-refreshing credentials for long-lived `boto3` sessions
68
- - Drop-in replacement for `boto3.session.Session`
69
- - Supports `assume_role`, custom STS clients, and profile/region configuration, as well as all other parameters supported by `boto3.session.Session`
70
- - Tested, documented, and published to PyPI
71
- - Used in production at major tech companies
72
-
73
98
  ## Installation
74
99
 
75
100
  ```bash
@@ -0,0 +1,7 @@
1
+ boto3_refresh_session/__init__.py,sha256=IQUoxaK37fIiFaGr7QnVWQEoFlZxJWuod0uoo_XtdRY,158
2
+ boto3_refresh_session/session.py,sha256=jDSjEHIZkGvMEOKzCtcOT7j41rOOoR_tei_dffS0Cww,5887
3
+ boto3_refresh_session-1.0.34.dist-info/LICENSE,sha256=I3ZYTXAjbIly6bm6J-TvFTuuHwTKws4h89QaY5c5HiY,1067
4
+ boto3_refresh_session-1.0.34.dist-info/METADATA,sha256=Aa9BWJjZbWS1ack8U7Dn-BIS-4A8sakbRbz1v9IjPlM,6874
5
+ boto3_refresh_session-1.0.34.dist-info/NOTICE,sha256=1s8r33qbl1z0YvPB942iWgvbkP94P_e8AnROr1qXXuw,939
6
+ boto3_refresh_session-1.0.34.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
7
+ boto3_refresh_session-1.0.34.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- boto3_refresh_session/__init__.py,sha256=zhOwJQy_xTG_6tMnKgL7p63pDQ5OnS7xPLIb0VWU4dM,158
2
- boto3_refresh_session/session.py,sha256=jDSjEHIZkGvMEOKzCtcOT7j41rOOoR_tei_dffS0Cww,5887
3
- boto3_refresh_session-1.0.32.dist-info/LICENSE,sha256=I3ZYTXAjbIly6bm6J-TvFTuuHwTKws4h89QaY5c5HiY,1067
4
- boto3_refresh_session-1.0.32.dist-info/METADATA,sha256=zFfCr4JI6B89yuafUHA0DRhfwyllOJ0E90Vf4X3BA2Q,6197
5
- boto3_refresh_session-1.0.32.dist-info/NOTICE,sha256=1s8r33qbl1z0YvPB942iWgvbkP94P_e8AnROr1qXXuw,939
6
- boto3_refresh_session-1.0.32.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
7
- boto3_refresh_session-1.0.32.dist-info/RECORD,,