boto3-refresh-session 0.0.7__tar.gz → 0.0.9__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: boto3-refresh-session
3
- Version: 0.0.7
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 `boto.Session` object.
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
- Refer to the [boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html) for configuring credentials on your machine.
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
- session = AutoRefreshableSession(region="us-east-1", role_arn="<your-arn>", session_name="test")
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 `boto.Session` object.
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
- Refer to the [boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html) for configuring credentials on your machine.
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
- session = AutoRefreshableSession(region="us-east-1", role_arn="<your-arn>", session_name="test")
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.
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "boto3-refresh-session"
3
- version = "0.0.7"
3
+ version = "0.0.9"
4
4
  description = "A simple Python package for refreshing boto3 sessions automatically."
5
5
  authors = [
6
6
  {name = "Mike Letts",email = "michaelthomasletts@gmail.com"}