Skip to main content

outcrawl-haystack

PyPI - Version PyPI - Python Version

Haystack components for Outcrawl, web infrastructure for AI agents: search the web and fetch pages as Markdown, as Haystack Documents.

  • OutcrawlWebSearch: runs a web search through the Outcrawl Search API and returns the results as documents, plus their links.
  • OutcrawlFetcher: loads each URL in a browser through the Outcrawl Scrape API, so JavaScript-rendered pages work, and returns the page as a Markdown document.

Installation

pip install outcrawl-haystack

You need an Outcrawl API key, which you create at outcrawl.ai/console. The free plan includes credits every month. Set it as the OUTCRAWL_API_KEY environment variable.

Usage

from haystack_integrations.components.fetchers.outcrawl import OutcrawlFetcher
from haystack_integrations.components.websearch.outcrawl import OutcrawlWebSearch

search = OutcrawlWebSearch(top_k=5)
found = search.run(query="What is Haystack by deepset?")
print(found["links"])

fetcher = OutcrawlFetcher()
pages = fetcher.run(urls=found["links"][:2])
for doc in pages["documents"]:
    print(doc.meta, doc.content[:200])

Both components also have run_async, and both accept extra request parameters (search_params and params); see the Outcrawl docs for the options.

Development

pip install hatch
hatch run fmt-check
hatch run test:unit

The integration tests need OUTCRAWL_API_KEY in the environment. Releases are published to PyPI by the Release workflow when a v<version> tag is pushed.

License

outcrawl-haystack is distributed under the terms of the Apache-2.0 license.

Metadata

Release files for outcrawl-haystack 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 outcrawl-haystack 0.1.0
File Size Uploaded Provenance Actions
outcrawl_haystack-0.1.0.tar.gz 15.2 kB Without provenance Details for outcrawl_haystack-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for outcrawl-haystack 0.1.0
File Interpreter ABI Platform Actions
outcrawl_haystack-0.1.0-py3-none-any.whl Python 3 none any Details for outcrawl_haystack-0.1.0-py3-none-any.whl

Total release size: 27.7 kB

Release files / outcrawl_haystack-0.1.0.tar.gz

Download URL outcrawl_haystack-0.1.0.tar.gz
Size 15.2 kB
Tags Source
SHA-256 checksum
How to use checksums
911ce36570744e714b05d843c5002cc45374a6d420a48d6b0ad5124b6a8d53fc
BLAKE2b-256 checksum
How to use checksums
618a1e37e021b7e620cb0503de56978d94fa3ca18ea171c06a69b87c7ae06f58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

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

Download URL outcrawl_haystack-0.1.0-py3-none-any.whl
Size 12.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aaa38e38445ef68b844d4030252c7298e4b1fb9b3f817408c78c82abdb286aba
BLAKE2b-256 checksum
How to use checksums
ad228a4ca2412d82fd914c5ac091d10c5b1a159d0af160a9ec1911f44621e746
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for outcrawl-haystack 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.

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 No 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