Skip to main content

BotBrowser (Python)

Token-efficient web content extraction for LLM agents.

Install

pip install botbrowser

Usage

from botbrowser import extract

result = extract("https://example.com")

print(result.content)                          # clean markdown
print(result.metadata.token_savings_percent)   # e.g. 94
print(result.title)                            # page title
print(result.links)                            # extracted links

Options

result = extract(
    "https://example.com",
    format="text",          # "markdown" (default) or "text"
    timeout=10000,          # request timeout in ms (default: 15000)
    include_links=False,    # extract links (default: True)
)

Client Mode

If you're running the BotBrowser REST API server, you can use the client:

from botbrowser import BotBrowserClient

client = BotBrowserClient("http://localhost:3000")
result = client.extract("https://example.com")

License

MIT

Metadata

Release files for botbrowser 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 botbrowser 0.1.0
File Size Uploaded
botbrowser-0.1.0.tar.gz 7.9 kB Details

Built distribution (wheel)

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

Total release size: 16.5 kB

Release files / botbrowser-0.1.0.tar.gz

Download URL botbrowser-0.1.0.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0912fc894ec41b8012a149f8a48f62e84958392ff48e66762907b27f3d283ec9
BLAKE2b-256 checksum
How to use checksums
2256682bf1199e9d10249e299ab014a39b6e9ec3621193a71a41d495c23e81cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Feb 27, 2026.

Transparency log

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

Download URL botbrowser-0.1.0-py3-none-any.whl
Size 8.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7b6a366bcf68375ca5805a46d9827b65669308b6f4c09e7222a121843a8358bc
BLAKE2b-256 checksum
How to use checksums
726313df11ded116765e08a267f88a25757fa2e94b673b66a6dfd8fa4ce30c4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Feb 27, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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