Skip to main content

octocrawl-client (Python)

Python client for the Octocrawl API: web pages as Markdown, tables and JSON, each page with its Evidence Record (final URL, fetch time, HTTP status, robots.txt decision, hashes of what was read and delivered), into pandas.

pip install 'octocrawl-client[pandas]'
npx octocrawl serve       # a local Octocrawl API on http://127.0.0.1:8787
import octocrawl_client

result = octocrawl_client.batch(
    ["https://books.toscrape.com/", "https://quotes.toscrape.com/"],
    formats=["markdown", "tables"],
)
df = result.to_pandas()          # one row per page
df[["url", "status", "fetched_at", "http_status", "raw_sha256"]]
result.report["succeeded"], result.report["failed"]

to_pandas() has one row per page, failed pages included, with these columns: url, status, reason, final_url, fetched_at, http_status, lane, robots_decision, raw_sha256, markdown_sha256, extractor, source_commit, cache_state, cached_at and markdown. A value Octocrawl did not observe is missing (None, or <NA> for http_status), never 0. result.items keeps each page as the API answered it, its tables (formats=["tables"]) and full evidenceRecord included.

Options take the API's names in snake_case or camelCase: max_age=3_600_000, only_main_content=False, include_tags=["main"], parsers=[{"type": "pdf", "maxPages": 5}]. W2L(base_url=..., token=...) names another API (default W2L_API_URL, else http://127.0.0.1:8787; W2L_API_TOKEN). A batch takes up to 1,000 URLs; octocrawl_client.scrape, octocrawl_client.map and octocrawl_client.crawl work the same way. (The name octocrawl on PyPI belongs to another project.)

Licence: MIT. Website and docs: https://octocrawl.dev/?utm_source=pypi&utm_medium=readme. Source and the API reference: https://github.com/77777R7/Octocrawl

Metadata

Release files for octocrawl-client 0.8.11

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

Source distribution (sdist)

Source distribution for octocrawl-client 0.8.11
File Size Uploaded Provenance Actions
octocrawl_client-0.8.11.tar.gz 9.3 kB With provenance Details for octocrawl_client-0.8.11.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for octocrawl-client 0.8.11
File Interpreter ABI Platform Actions
octocrawl_client-0.8.11-py3-none-any.whl Python 3 none any Details for octocrawl_client-0.8.11-py3-none-any.whl

Total release size: 18.1 kB

Release files / octocrawl_client-0.8.11.tar.gz

Download URL octocrawl_client-0.8.11.tar.gz
Size 9.3 kB
Tags Source
SHA-256 checksum
How to use checksums
088506e1f562338867d4bf9daadbb4b79a6689bd68fb0d23ac95780739c09826
BLAKE2b-256 checksum
How to use checksums
57337942fd5765e9b3b1fa069df369aee0e2abd94986d8f31e101fc4ebe1d4b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 9, 2026.

Transparency log

Release files / octocrawl_client-0.8.11-py3-none-any.whl

Download URL octocrawl_client-0.8.11-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a3c569f25f1b2963fcf5dae678c4941a67724b3d56d6916716ce7f73deca5c1d
BLAKE2b-256 checksum
How to use checksums
99d50e3f7b4223e9a74be5e6c9bdf0d6a792b7ee6bac5a649ab284d8e1bd808a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 9, 2026.

Transparency log

Security for octocrawl-client 0.8.11

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 octocrawl_client-0.8.11.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 9, 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.

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