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.dev2.tar.gz
(8.9 kB
view hashes)
Built Distribution
Close
Hashes for botor-0.0.1.dev2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ae517296c7d64be5358ee921baee21e94fd8f36e5334b3d0fe6bc9460fcde39 |
|
MD5 | b06466170e6cd225b04d64d6d1faa9c6 |
|
BLAKE2b-256 | b84719ac61af601600a2bf107f01fd3964dd8fb3dbb2444c9e6c551ab51b19a0 |