A thin wrapper around boto3
Project description
# botor
A thin wrapper around boto3
## features
- intelligent connection caching.
- rate limit handling, with exponential backoff.
- multi-account sts:assumerole abstraction.
## Example
from botor.aws.sqs import get_queue, get_messages
conn_details = {
'account_number': '111111111111',
'assume_role': 'MyRole',
'session_name': 'MySession',
'region': 'us-east-1'
}
queue = get_queue(queue_name='MyQueue', **conn_details)
messages = get_messages(queue=queue)
A thin wrapper around boto3
## features
- intelligent connection caching.
- rate limit handling, with exponential backoff.
- multi-account sts:assumerole abstraction.
## Example
from botor.aws.sqs import get_queue, get_messages
conn_details = {
'account_number': '111111111111',
'assume_role': 'MyRole',
'session_name': 'MySession',
'region': 'us-east-1'
}
queue = get_queue(queue_name='MyQueue', **conn_details)
messages = get_messages(queue=queue)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
botor-0.0.1.dev1.tar.gz
(8.9 kB
view hashes)
Built Distribution
Close
Hashes for botor-0.0.1.dev1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbb5e2748ee4e0eda2eea21081e7a2c05d9f7c22d1dc571487b0f465b22fcdb7 |
|
MD5 | 0ebab16e6381dfa3c699cf8f4e44728a |
|
BLAKE2b-256 | 55616fed87287494ca9618e476ea0d3a49b46a03f4c79cf776bd08bfa682f505 |