Metadata-Version: 2.4
Name: async-url-caller-base
Version: 1.0.0
Summary: python async base class for calling URLs
Author-email: "J. Arrizza" <cppgent0@gmail.com>
Maintainer-email: "J. Arrizza" <cppgent0@gmail.com>
License-Expression: MIT
Project-URL: Website, https://arrizza.com/async-url-caller-base
Project-URL: Source, https://bitbucket.org/arrizza-public/async-url-caller-base/src/master
Project-URL: Download, https://bitbucket.org/arrizza-public/async-url-caller-base/get/master.zip
Keywords: utilities,async,aiohttp
Classifier: Development Status :: 1 - Planning
Classifier: Environment :: Console
Classifier: Topic :: Utilities
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: falcon-logger
Dynamic: license-file

* website: [Website](https://arrizza.com/async-url-caller-base.html)
* copyright: [Copyright and License](https://arrizza.com/copyright-license.html)
* repo status: [Repo Information](https://arrizza.com/repo-information.html)
* installation: [Common Setup](https://arrizza.com/setup-common.html)

## Summary

A python base class for calling URLs on a web server in parallel.

I use this to double-check if my website's valid pages are accessible (e.g. check-valid-pages and check-sitemap).

I also use it to check for any incoming URLs are correctly handled by web-server's nginx. For example, in the last 15 days it had 33,000 calls, it tested all of those in 23 seconds.

* See `sample/app.py` for some code that you can run using ```zpm doit```. Note this uses the unit test server in `ut/helper/ut_server.py`.
* See `doc/usage-scenarios.md` for common scenarios
* See `doc/api.md` for a list of functions.

It can handle normal HTTP GET URLs and it can also handle, what I've called "raw" URLs e.g. those using "CONNECT", "PRI", "MKCOL", or those with other formats specific to your server.

## Why a Base Class?

In my experience, this kind of code is needed in a variety of scenarios. So a base class gives substantial flexibility in extending the behavior available.

Also, the behavior tends to be a part of a larger utility. A base class allows it to be embedded much easier into that larger code base.
