boto3-refresh-session 0.0.7__tar.gz → 0.0.9__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {boto3_refresh_session-0.0.7 → boto3_refresh_session-0.0.9}/PKG-INFO +10 -5
- {boto3_refresh_session-0.0.7 → boto3_refresh_session-0.0.9}/README.md +9 -4
- {boto3_refresh_session-0.0.7 → boto3_refresh_session-0.0.9}/pyproject.toml +1 -1
- {boto3_refresh_session-0.0.7 → boto3_refresh_session-0.0.9}/LICENSE +0 -0
- {boto3_refresh_session-0.0.7 → boto3_refresh_session-0.0.9}/boto3_refresh_session/__init__.py +0 -0
- {boto3_refresh_session-0.0.7 → boto3_refresh_session-0.0.9}/boto3_refresh_session/session.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: boto3-refresh-session
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.9
|
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
|
@@ -32,7 +32,7 @@ Description-Content-Type: text/markdown
|
|
32
32
|
A simple Python package for refreshing boto3 sessions automatically.
|
33
33
|
|
34
34
|
## Features
|
35
|
-
- `boto3_refresh_session.AutoRefreshableSession` method for generating an automatically refreshing `
|
35
|
+
- `boto3_refresh_session.AutoRefreshableSession` method for generating an automatically refreshing `boto3.Session` object.
|
36
36
|
|
37
37
|
## Installation
|
38
38
|
|
@@ -42,7 +42,9 @@ To install the package using `pip`:
|
|
42
42
|
$ pip install boto3-refresh-session
|
43
43
|
```
|
44
44
|
|
45
|
-
|
45
|
+
**This package assumes that you have `~/.aws/config` or `~/.aws/credentials` files or `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` environment variables configured on your machine!**
|
46
|
+
|
47
|
+
Refer to the [boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html) for additional details about configuring those credentials on your machine.
|
46
48
|
|
47
49
|
## Directory
|
48
50
|
|
@@ -59,10 +61,13 @@ Here's how to initialize the `boto3.Client.S3` object:
|
|
59
61
|
```python
|
60
62
|
from boto3_refresh_session import AutoRefreshableSession
|
61
63
|
|
62
|
-
|
64
|
+
|
65
|
+
session = AutoRefreshableSession(
|
66
|
+
region="us-east-1", role_arn="<your-arn>", session_name="test"
|
67
|
+
)
|
63
68
|
s3_client = session.session.client(service_name="s3")
|
64
69
|
```
|
65
70
|
|
66
71
|
## Contributing
|
67
72
|
|
68
|
-
Refer to [this document](https://github.com/michaelthomasletts/boto3-refresh-session/blob/main/docs/contributing.md) for instructions.
|
73
|
+
Refer to [this document](https://github.com/michaelthomasletts/boto3-refresh-session/blob/main/docs/contributing.md) for step by step instructions.
|
@@ -8,7 +8,7 @@
|
|
8
8
|
A simple Python package for refreshing boto3 sessions automatically.
|
9
9
|
|
10
10
|
## Features
|
11
|
-
- `boto3_refresh_session.AutoRefreshableSession` method for generating an automatically refreshing `
|
11
|
+
- `boto3_refresh_session.AutoRefreshableSession` method for generating an automatically refreshing `boto3.Session` object.
|
12
12
|
|
13
13
|
## Installation
|
14
14
|
|
@@ -18,7 +18,9 @@ To install the package using `pip`:
|
|
18
18
|
$ pip install boto3-refresh-session
|
19
19
|
```
|
20
20
|
|
21
|
-
|
21
|
+
**This package assumes that you have `~/.aws/config` or `~/.aws/credentials` files or `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` environment variables configured on your machine!**
|
22
|
+
|
23
|
+
Refer to the [boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html) for additional details about configuring those credentials on your machine.
|
22
24
|
|
23
25
|
## Directory
|
24
26
|
|
@@ -35,10 +37,13 @@ Here's how to initialize the `boto3.Client.S3` object:
|
|
35
37
|
```python
|
36
38
|
from boto3_refresh_session import AutoRefreshableSession
|
37
39
|
|
38
|
-
|
40
|
+
|
41
|
+
session = AutoRefreshableSession(
|
42
|
+
region="us-east-1", role_arn="<your-arn>", session_name="test"
|
43
|
+
)
|
39
44
|
s3_client = session.session.client(service_name="s3")
|
40
45
|
```
|
41
46
|
|
42
47
|
## Contributing
|
43
48
|
|
44
|
-
Refer to [this document](https://github.com/michaelthomasletts/boto3-refresh-session/blob/main/docs/contributing.md) for instructions.
|
49
|
+
Refer to [this document](https://github.com/michaelthomasletts/boto3-refresh-session/blob/main/docs/contributing.md) for step by step instructions.
|
File without changes
|
{boto3_refresh_session-0.0.7 → boto3_refresh_session-0.0.9}/boto3_refresh_session/__init__.py
RENAMED
File without changes
|
{boto3_refresh_session-0.0.7 → boto3_refresh_session-0.0.9}/boto3_refresh_session/session.py
RENAMED
File without changes
|