Skip to main content

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.

Metadata

Release files for async-url-caller-base 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for async-url-caller-base 1.0.0
File Size Uploaded Provenance Actions
async_url_caller_base-1.0.0.tar.gz 10.2 kB Without provenance Details for async_url_caller_base-1.0.0.tar.gz

Release files / async_url_caller_base-1.0.0.tar.gz

Download URL async_url_caller_base-1.0.0.tar.gz
Size 10.2 kB
Tags Source
SHA-256 checksum
How to use checksums
016d837b70caacae8975e42c9981e88417bff3fcc28fa96786345ccdafd7f8ab
BLAKE2b-256 checksum
How to use checksums
0ff6c8960894bd9988d6be5b5d0b492c8572510fe79f8cae6298526efc135aa6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for async-url-caller-base 1.0.0

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page