boto3-refresh-session 1.0.27__py3-none-any.whl → 1.0.29__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.27"
7
+ __version__ = "1.0.29"
8
8
  __author__ = "Mike Letts"
@@ -1,7 +1,7 @@
1
1
  from __future__ import annotations
2
2
 
3
3
  __doc__ = """
4
- A :class:`boto3.session.Session` object that automatically refreshes temporary
4
+ A :class:`boto3.session.Session` object that automatically refreshes temporary AWS
5
5
  credentials.
6
6
  """
7
7
  __all__ = ["RefreshableSession"]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: boto3-refresh-session
3
- Version: 1.0.27
3
+ Version: 1.0.29
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,19 +21,27 @@ 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
- # boto3-refresh-session
24
+ <p align="center">
25
+ <img src="https://raw.githubusercontent.com/michaelthomasletts/boto3-refresh-session/refs/heads/main/doc/brs.png" />
26
+ </p>
25
27
 
26
- ![PyPI - Version](https://img.shields.io/pypi/v/boto3-refresh-session)
27
- [![Workflow](https://img.shields.io/github/actions/workflow/status/michaelthomasletts/boto3-refresh-session/push.yml?logo=github)](https://github.com/michaelthomasletts/boto3-refresh-session/actions/workflows/push.yml)
28
- ![Python Version](https://img.shields.io/pypi/pyversions/boto3-refresh-session?style=pypi)
29
- ![GitHub last commit](https://img.shields.io/github/last-commit/michaelthomasletts/boto3-refresh-session?logo=github)
30
- [![PyPI Downloads](https://static.pepy.tech/badge/boto3-refresh-session)](https://pepy.tech/projects/boto3-refresh-session)
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>
31
31
 
32
32
  <p align="center">
33
- <img src="https://raw.githubusercontent.com/michaelthomasletts/boto3-refresh-session/refs/heads/main/doc/brs.png" />
33
+ <img src="https://img.shields.io/pypi/v/boto3-refresh-session?color=%23FF0000FF" alt="PyPI - Version"/>
34
+ <a href="https://github.com/michaelthomasletts/boto3-refresh-session/actions/workflows/push.yml">
35
+ <img src="https://img.shields.io/github/actions/workflow/status/michaelthomasletts/boto3-refresh-session/push.yml?logo=github&color=%23FF0000FF" alt="Workflow"/>
36
+ </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">
40
+ <img src="https://img.shields.io/badge/downloads-45.6K-red?logo=python&color=%23FF0000" alt="Downloads"/>
41
+ </a>
34
42
  </p>
35
43
 
36
- A simple Python package for refreshing the temporary security credentials in a `boto3.session.Session` object automatically.
44
+ ## Links
37
45
 
38
46
  - [Official Documentation](https://michaelthomasletts.github.io/boto3-refresh-session/index.html)
39
47
  - [Q&A](https://michaelthomasletts.github.io/boto3-refresh-session/qanda.html)
@@ -42,17 +50,17 @@ A simple Python package for refreshing the temporary security credentials in a `
42
50
  - [Contributing](https://michaelthomasletts.github.io/boto3-refresh-session/contributing.html)
43
51
  - [Authorization](https://michaelthomasletts.github.io/boto3-refresh-session/authorization.html)
44
52
 
45
- ### Testimonials
53
+ ## Testimonials
46
54
 
47
55
  _"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."_
48
56
 
49
- ### Installation
57
+ ## Installation
50
58
 
51
59
  ```bash
52
60
  pip install boto3-refresh-session
53
61
  ```
54
62
 
55
- ### Usage
63
+ ## Usage
56
64
 
57
65
  ```python
58
66
  import boto3_refresh_session as brs
@@ -91,7 +99,7 @@ s3 = session.client(service_name='s3')
91
99
  buckets = s3.list_buckets()
92
100
  ```
93
101
 
94
- ### Raison d'être
102
+ ## Raison d'être
95
103
 
96
104
  It is common for data pipelines and workflows that interact with the AWS API via
97
105
  `boto3` to run for a long time and, accordingly, for temporary credentials to
@@ -0,0 +1,7 @@
1
+ boto3_refresh_session/__init__.py,sha256=yMGFPNGjb28j-ARl6ZX6xHN7WJM2ZfkGMsnMQvI97W4,158
2
+ boto3_refresh_session/session.py,sha256=jDSjEHIZkGvMEOKzCtcOT7j41rOOoR_tei_dffS0Cww,5887
3
+ boto3_refresh_session-1.0.29.dist-info/LICENSE,sha256=I3ZYTXAjbIly6bm6J-TvFTuuHwTKws4h89QaY5c5HiY,1067
4
+ boto3_refresh_session-1.0.29.dist-info/METADATA,sha256=AIOyCKjilw5tiY1vWX02QtGGe6NVytCspghXNx6ny50,5575
5
+ boto3_refresh_session-1.0.29.dist-info/NOTICE,sha256=1s8r33qbl1z0YvPB942iWgvbkP94P_e8AnROr1qXXuw,939
6
+ boto3_refresh_session-1.0.29.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
7
+ boto3_refresh_session-1.0.29.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- boto3_refresh_session/__init__.py,sha256=u-yaYDY_nLxKdDRtq3AAiRc46PlFibCyp_3xOulKlTQ,158
2
- boto3_refresh_session/session.py,sha256=PyF7HD_K5-X8e2FR-CO-3rVRHpoe7tP5uF_vdia5Kt8,5883
3
- boto3_refresh_session-1.0.27.dist-info/LICENSE,sha256=I3ZYTXAjbIly6bm6J-TvFTuuHwTKws4h89QaY5c5HiY,1067
4
- boto3_refresh_session-1.0.27.dist-info/METADATA,sha256=_LUqRlicawI1x1pmL6gZ9vt7-ui-A23iUxKOJptiSmU,5308
5
- boto3_refresh_session-1.0.27.dist-info/NOTICE,sha256=1s8r33qbl1z0YvPB942iWgvbkP94P_e8AnROr1qXXuw,939
6
- boto3_refresh_session-1.0.27.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
7
- boto3_refresh_session-1.0.27.dist-info/RECORD,,