%global _empty_manifest_terminate_build 0 Name: python-boto3-batch-utils Version: 5.1.0 Release: 1 Summary: A Client for managing batch interactions with AWS services License: GNU APGL v3 URL: https://g-farrow.github.io/boto3_batch_utils/ Source0: https://mirrors.nju.edu.cn/pypi/web/packages/cb/64/e785c8c12a0dd9632251cc849e5999f742769ff92dfcf9fd54d3192c1707/boto3_batch_utils-5.1.0.tar.gz BuildArch: noarch Requires: python3-boto3 %description 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 ~ ] %package -n python3-boto3-batch-utils Summary: A Client for managing batch interactions with AWS services Provides: python-boto3-batch-utils BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-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 ~ ] %package help Summary: Development documents and examples for boto3-batch-utils Provides: python3-boto3-batch-utils-doc %description help 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 ~ ] %prep %autosetup -n boto3-batch-utils-5.1.0 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-boto3-batch-utils -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Fri May 05 2023 Python_Bot - 5.1.0-1 - Package Spec generated