Skip to main content

scrapeowl

Python bindings for ScrapeOwl: a Rust-native, self-hosted scraping engine with a deterministic (LLM-free) path and schema-validated LLM extraction.

pip install scrapeowl
import scrapeowl

markdown = scrapeowl.fetch("https://example.com")
data = scrapeowl.fetch("https://example.com", format="json")

schema = {
    "type": "object",
    "required": ["title"],
    "properties": {"title": {"type": "string"}},
}
result = scrapeowl.extract(
    "https://example.com",
    schema,
    model="gpt-4o-mini",  # reads OPENAI_API_KEY by default
)

fetch never needs an LLM or credentials. extract supports provider="openai" (OpenAI-compatible /chat/completions) and provider="ollama" (/api/chat); output must parse as JSON and validate against the schema, with bounded repair.

Security defaults: private/loopback destinations are refused unless allow_private=True (needed for a local Ollama endpoint), redirects and response sizes are bounded, and API keys are read from environment variables or provider headers, never embedded in URLs.

Apache-2.0. Not affiliated with ScrapeGraphAI.

Metadata

Release files for scrapeowl 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 scrapeowl 0.1.0
File Size Uploaded Provenance
scrapeowl-0.1.0.tar.gz 63.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for scrapeowl 0.1.0
File Interpreter ABI Platform
scrapeowl-0.1.0-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details

Total release size: 6.2 MB

Release files / scrapeowl-0.1.0.tar.gz

Download URL scrapeowl-0.1.0.tar.gz
Size 63.6 kB
Tags Source
SHA-256 checksum
How to use checksums
cddc5256fc0e096fd035e5da9fd26d54e82c2330324f73a3d7202ee2433bf64f
BLAKE2b-256 checksum
How to use checksums
3fb2ab98e128adf32714b94dec9c85c856c17fd780902a9bdeee88b2444c7a43
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / scrapeowl-0.1.0-cp39-abi3-macosx_11_0_arm64.whl

Download URL scrapeowl-0.1.0-cp39-abi3-macosx_11_0_arm64.whl
Size 6.1 MB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
0059a9e71ed06b0989d15bfbfc2aca49a26da1d783132a2205806b16c56c6ef7
BLAKE2b-256 checksum
How to use checksums
3c1a7dc6d84ea6d854f236db05bccf0f2bb60cb9248cfb4228e98ce5eb5af812
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Security for scrapeowl 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.

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.

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