Skip to main content

BeeCrawl Python SDK

The BeeCrawl SDK is a thin Python client for the BeeCrawl HTTP API. It does not embed a browser or scraper; rendering, caching, and workers stay on the BeeCrawl server.

Install

uv add beecrawl-py

For local development:

uv pip install -e apps/sdk/python

Usage

from beecrawl_sdk import BeeCrawlClient

client = BeeCrawlClient(
    api_key="your-key",
    base_url="https://api.beecrawl.dev",
)
page = client.scrape(
    "https://example.com",
    formats=["markdown", "html", "links"],
    use_browser="auto",
)
mapped = client.map("https://example.com", limit=100)
extracted = client.extract(
    "https://example.com",
    {"title": "Page title", "email": "Contact email"},
)

For local development, use base_url="http://127.0.0.1:8000".

Asynchronous jobs can be submitted and polled through the same client:

job = client.crawl("https://example.com", limit=100, maxDepth=2)
result = client.poll_crawl(job["id"], interval=2)

batch = client.batch_scrape(["https://example.com", "https://example.org"])
result = client.poll_batch_scrape(batch["id"])

An async client with the same API is available as AsyncBeeCrawlClient.

The v2_*, browser, Agent, and Monitor methods cover the complete public v2 surface, including document upload/reference flows, job errors and cancellation, replay, scrape interaction handoff, monitor updates and checks. Request option dictionaries are passed through so server additions remain forward-compatible.

Metadata

Release files for beecrawl-py 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 beecrawl-py 0.1.0
File Size Uploaded Provenance Actions
beecrawl_py-0.1.0.tar.gz 5.9 kB Without provenance Details for beecrawl_py-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for beecrawl-py 0.1.0
File Interpreter ABI Platform Actions
beecrawl_py-0.1.0-py3-none-any.whl Python 3 none any Details for beecrawl_py-0.1.0-py3-none-any.whl

Total release size: 11.1 kB

Release files / beecrawl_py-0.1.0.tar.gz

Download URL beecrawl_py-0.1.0.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d9ee7b55363bfe81ac096cae092177d97dc2a65891400ed828fed20069254c73
BLAKE2b-256 checksum
How to use checksums
04151d1689c9eca3a4ffd54afb57f09328dab8a84654f16678cc6f58660ce736
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.6

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

Download URL beecrawl_py-0.1.0-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ba82f9cb3ef55085d5f954d891738fac41c02cdb9fa12e1340f3c6f6c9e4d835
BLAKE2b-256 checksum
How to use checksums
2c24d2a72a5bcea4b6da01b0efe437c1d3b77934e1b984d64b2055dd60f6d986
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.6

Security for beecrawl-py 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