Skip to main content

web-capture-python-examples

Python HTTP client examples for web-capture. Python 3.14 or later is required. The first public version is 0.1.0; 0.0.0 was a development placeholder.

The package connects to a running JavaScript or Rust web-capture HTTP service. Start that service separately using the repository quick start.

After the first release is published:

python -m pip install web-capture-python-examples
python -m web_capture_python_examples.html_download https://example.com
python -m web_capture_python_examples.markdown_download https://example.com
python -m web_capture_python_examples.image_download https://example.com
python -m web_capture_python_examples.playwright_example https://example.com

Set WEB_CAPTURE_URL to override http://localhost:3000. Downloads are saved in the current directory (downloaded.html, downloaded.md, downloaded.png, or output/ for the Playwright example), so the installed package need not be writable. The Playwright example selects the server's browser engine; it needs no local browser. The source scripts in js/examples/python/ remain directly runnable.

The shared client is also importable:

from web_capture_python_examples import capture

response = capture('markdown', 'https://example.com')
print(response.text)

Requests have a 30-second timeout and propagate HTTP and connection errors. See the release instructions for pending-publisher configuration and publication status.

Metadata

Release files for web-capture-python-examples 0.1.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 web-capture-python-examples 0.1.0
File Size Uploaded Provenance Actions
web_capture_python_examples-0.1.0.tar.gz 10.0 kB With provenance Details for web_capture_python_examples-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for web-capture-python-examples 0.1.0
File Interpreter ABI Platform Actions
web_capture_python_examples-0.1.0-py3-none-any.whl Python 3 none any Details for web_capture_python_examples-0.1.0-py3-none-any.whl

Total release size: 15.7 kB

Release files / web_capture_python_examples-0.1.0.tar.gz

Download URL web_capture_python_examples-0.1.0.tar.gz
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c5f66805afabcb2b23d24393691af007a80329343365a438642c72a27a9dfae4
BLAKE2b-256 checksum
How to use checksums
0ee345958525cca2b9d3fc854cee5216720e0ca8beb8d5d4337f5a516af8d825
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Release files / web_capture_python_examples-0.1.0-py3-none-any.whl

Download URL web_capture_python_examples-0.1.0-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8de3383e6fcbb28cb37da47ef8c7c69563e9498a46d6e46fd7c4ff8f8995d4a3
BLAKE2b-256 checksum
How to use checksums
693e25b6594bec56338138b16c83b9def27d3420cece0839ae33c902dcb11db8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Security for web-capture-python-examples 0.1.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for web_capture_python_examples-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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