Pfmsoft-Aiohttp-Queue 0.2.1
A library to support aiohttp requests in a Queue, with callbacks for success, failure, or retry.
License: MIT license
Keywords: Python pfmsoft_aiohttp_queue

=====================
Pfmsoft-Aiohttp-Queue
=====================


.. |PyPi-badge| image:: https://img.shields.io/pypi/v/pfmsoft_aiohttp_queue.svg
        :target: https://pypi.python.org/pypi/pfmsoft_aiohttp_queue

.. |travis-master| image:: https://travis-ci.com/DonalChilde/Pfmsoft-Aiohttp-Queue.svg?branch=master
        :target: https://travis-ci.com/DonalChilde/Pfmsoft-Aiohttp-Queue.svg?branch=master
        :alt: Master / Stable

.. |travis-dev| image:: https://travis-ci.com/DonalChilde/Pfmsoft-Aiohttp-Queue.svg?branch=dev
        :target: https://travis-ci.com/DonalChilde/Pfmsoft-Aiohttp-Queue.svg?branch=dev
        :alt: dev / Latest

.. |rtd-master| image:: https://readthedocs.org/projects/pfmsoft-aiohttp-queue/badge/?version=latest
        :target: https://pfmsoft-aiohttp-queue.readthedocs.io/en/latest/?version=latest
        :alt: Documentation Status


Stable / master branch:   |PyPi-badge| |travis-master| |rtd-master|

Latest / dev branch:   |travis-dev|

A library to support aiohttp requests in a Queue, with callbacks for success, failure, or retry.


* Free software: MIT license
* Documentation: https://pfmsoft-aiohttp-queue.readthedocs.io.


Features
--------

* TODO

Credits
-------

This package was created with Cookiecutter_ and the `donalchilde/cookiecutter-pypackage-click`_ project template, derived from the `audreyr/cookiecutter-pypackage`_ project template.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
.. _`donalchilde/cookiecutter-pypackage-click`: https://github.com/donalchilde/cookiecutter-pypackage-click

=======
History
=======

0.2.1 (2021-04-29)
------------------

* FIX Make file_path optional for file callbacks.
* CHANGE Make runners more clear. Single, Sequential, and Queue.

0.2.0 (2021-04-23)
------------------

* CHANGE Refactor AiohttpAction to separate more clearly the inputs passed to aiohttp.ClientSession.request.
* ADD AiohttpRequest object to hold request args.
* ADD yaml file output callback
* CHANGE file callbacks now have a file_path_template arg that can be evaluated with path_values. If file_path_template exists, it will overwrite file_path after template substitution.
* CHANGE removed unused arg and kwarg params in callbacks.

0.1.8 (2021-04-17)
------------------

* ADD add state and state message to callbacks, to allow more useful failure notifications.
* ADD add state to AiohttpAction
* ADD add observers to AiohttpAction, updated when action state is changed
* CHANGE retry_limit to max_atttempts
* CHANGE Simplify worker, add some stat reporting (log)


0.1.7 (2021-04-15)
------------------

* ADD repr to all classes
* ADD logging to action success, retry, fail
* CHANGE drop log callbacks as redundant
* FIXED csv callback not respecting path templates


0.1.6 (2021-04-06)
------------------

* changed file callback template args name to path_values

0.1.5 (2021-04-05)
------------------

* added pyyaml to requirements_dev.txt

0.1.4 (2021-04-05)
------------------

* added CheckForPages callback - If an action detects paged data, makes more actions to retieve that data and appends it to the parent action.result

0.1.3 (2021-04-01)
------------------

* fixed missing . in file_ending

0.1.2 (2021-04-01)
------------------

* added option to process file path as a string.Template, with provided arguments, to file saving callbacks.
* added SaveListOfDictResultToCSVFile callback.

0.1.1 (2021-03-29)
------------------

* Dropped ResponseMetaToJson callback, and added response_meta_to_json() to AiohttpAction in its stead.

0.1.0 (2021-03-29)
------------------

* First release on PyPI.