boto3-batch-utils-5.1.0
5.1.0
5.0.1
5.0.0
4.0.0
3.1.0
3.0.6
3.0.4
3.0.3
3.0.2
3.0.1
3.0.0
2.0.0
1.9.4
1.9.3
1.9.2
1.9.1
1.9.0
1.8.0
1.7.1
1.7.0
1.6.0
1.5.6
1.5.5
1.5.4
1.5.3
1.5.2
1.5.1
1.5.0
1.4.0
1.3.0
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.15.1
1.15.0
1.14.3
1.14.2
1.14.1
1.14.0
1.13.0
1.12.1
1.12.0
1.11.1
1.11.0
1.10.0
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.29
1.0.28
1.0.27
1.0.26
1.0.25
1.0.24
1.0.23
1.0.22
1.0.21
1.0.20
1.0.2
1.0.19
1.0.18
1.0.17
1.0.16
1.0.15
1.0.14
1.0.13
1.0.12
1.0.11
1.0.10
1.0.1
1.0.0
0.2.9
0.2.8
0.2.7
0.2.6
0.2.5
0.2.4
0.2.3
0.2.2
0.2.14
0.2.13
0.2.12
0.2.11
0.2.10
0.2.1
0.2.0
0.1.5
0.1.3
0.1.2
0.1.1
0.1.0
توضیحات
A Client for managing batch interactions with AWS services
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | boto3-batch-utils-5.1.0 |
| نام | boto3-batch-utils |
| نسخه کتابخانه | 5.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Greg Farrow |
| ایمیل نویسنده | greg.farrow1@gmail.com |
| آدرس صفحه اصلی | https://g-farrow.github.io/boto3_batch_utils/ |
| آدرس اینترنتی | https://pypi.org/project/boto3-batch-utils/ |
| مجوز | GNU APGL v3 |


[](https://pyup.io/repos/github/g-farrow/boto3_batch_utils/)
Boto3 Batch Utils
=================
This library offers some functionality to assist in writing records to AWS services in batches, where your data is not
naturally batched. This helps to achieve significant efficiencies when interacting with those AWS services as batch
writes are often much more efficient than individual writes.
[Documentation]()
# Installation
The package can be installed using `pip`:
```
pip install boto3-batch-utils
```
You may install a specific version of the package:
```
pip install boto3-batch-utils==3.0.0
```
### Boto3 and Configuration
Boto3 Batch Utils is an abstraction around AWS' Boto3 library. `boto3` is a dependency and will be installed
automatically, if it is not already present.
You will need to configure your AWS credentials and roles in exactly the same way as you would if using `boto3`
directly.
For more information on `boto3` configuration, refer to the AWS documentation
[here](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/quickstart.html).
# Concepts
The library is very simple to use. To use it, you must initialise a client, send it the payloads you want to transmit
and finally tell the client to clear down.
To use the package you do not need care how to batch up the payloads and send them into their target service. The
package will take care of this for you. This allows you to utilise the significant efficiencies of `boto3`'s batch
send/put/write methods, without the headaches of error handling and batch sizes.
Each of the supported services has it's own dispatcher client. Each has the same 2 methods with which to interact. So
interacting with each of the various service clients is similar and follows the same 3 steps:
* **Initialise**: Instantiate the batch dispatcher, passing in the required configuration.
* **submit_payload**: pass in a payload (e.g. a single message, metric etc).
* **flush_payloads**: send all payloads in the backlog.
> If you are using `boto3-batch-utils` in AWS Lambda, you should call `.flush_payloads()` at the end of every
invocation.
# Documentation
Full documentation is available here: [boto3-batch-utils Docs](https://g-farrow.github.io/boto3_batch_utils/)
# Contributing
For more information about contributing to this project, please refer to the
[Developer documentation](resources/developer_docs.md).
# Acknowledgements
[ ~ Dependencies scanned by PyUp.io ~ ]
نیازمندی
| مقدار | نام |
|---|---|
| >=1.11.13 | boto3 |
نحوه نصب
نصب پکیج whl boto3-batch-utils-5.1.0:
pip install boto3-batch-utils-5.1.0.whl
نصب پکیج tar.gz boto3-batch-utils-5.1.0:
pip install boto3-batch-utils-5.1.0.tar.gz