scrapeowl
Python bindings for ScrapeOwl: a Rust-native, self-hosted scraping engine with a deterministic (LLM-free) path, bounded crawling 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
)
report = scrapeowl.crawl(
"https://example.com",
max_depth=2,
max_pages=25,
respect_robots=True,
)
for page in report["pages"]:
print(page["url"], page["content"]["metadata"]["title"])
fetch never needs an LLM or credentials. crawl is breadth-first,
same-origin by default, deduplicates URLs and returns per-page failures without
aborting the job. 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.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| scrapeowl-0.2.0.tar.gz | 72.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| scrapeowl-0.2.0-cp39-abi3-macosx_11_0_arm64.whl | CPython 3.9 | abi3 | macOS 11.0+ ARM64 | Details |
Total release size: 6.3 MB
Release files / scrapeowl-0.2.0.tar.gz
| Download URL | scrapeowl-0.2.0.tar.gz |
|---|---|
| Size | 72.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c6818fa3c2e775abd47089623088838d0871c9aae06db60bcf80d9e583f7a48d
|
|
BLAKE2b-256 checksum How to use checksums |
053a3b0c1de740c9db7d94c8b32af51f52299ed7e1fbd9ec43b53d835a68cf04
|
| 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.2.0-cp39-abi3-macosx_11_0_arm64.whl
| Download URL | scrapeowl-0.2.0-cp39-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 6.3 MB |
| Tags | CPython 3.9 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
87b47827999777e45c87937b6f47ca3461c88c708b6d63c3678e3be1b4f5bb74
|
|
BLAKE2b-256 checksum How to use checksums |
d088a350b357064725c8a63427e98e0ae4eb7399aba81465c8899ebb4faf453a
|
| 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.2.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.