Pfmsoft-Aiohttp-Queue 0.2.1

Creator: railscoderz

Last updated:

Add to Cart

Description:

PfmsoftAiohttpQueue 0.2.1

Pfmsoft-Aiohttp-Queue
Stable / master branch:
Latest / dev branch:
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.



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.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.