This project has been archived by its maintainers, and is no longer receiving any updates.
Pfmsoft-Aiohttp-Queue
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.
Metadata
Release files for Pfmsoft-Aiohttp-Queue 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| Pfmsoft-Aiohttp-Queue-0.2.1.tar.gz | 27.3 kB | Without provenance | Details for Pfmsoft-Aiohttp-Queue-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| Pfmsoft_Aiohttp_Queue-0.2.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for Pfmsoft_Aiohttp_Queue-0.2.1-py2.py3-none-any.whl |
Total release size: 39.4 kB
Release files / Pfmsoft-Aiohttp-Queue-0.2.1.tar.gz
| Download URL | Pfmsoft-Aiohttp-Queue-0.2.1.tar.gz |
|---|---|
| Size | 27.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e107e4ea18fd0df56c948252a657739001a32ad047531bcc3ee0d55123eb327f
|
|
BLAKE2b-256 checksum How to use checksums |
bdfda28afc46ebcd6809a1dfc4935cb433b5fba0d1f55f984cd8133843ee9fa6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.9.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.0+
|
Release files / Pfmsoft_Aiohttp_Queue-0.2.1-py2.py3-none-any.whl
| Download URL | Pfmsoft_Aiohttp_Queue-0.2.1-py2.py3-none-any.whl |
|---|---|
| Size | 12.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
405bdcabb0ca517bd333d460f0a04f203274386e0685ee1090afd3936a8587c2
|
|
BLAKE2b-256 checksum How to use checksums |
79315fc2f0cf35d47341c500173b7ea967716395a54a1e6ea758d6d5362b4064
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.9.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.0+
|
Security for Pfmsoft-Aiohttp-Queue 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.