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.dev0.tar.gz
(4.7 kB
view hashes)
Built Distribution
Close
Hashes for botor-0.0.1.dev0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 604f294fff7668ee6eb049db590ffa99afa7f255d4bc1d0209f57c7e30ef0366 |
|
MD5 | cb11a40b2d87b5248f3b5c4578f3a778 |
|
BLAKE2b-256 | 46f8e0f7cd49f425bc67ef4e3c5c810982accaea7de2cfba4194eeb8dcfb5e46 |