Skip to main content

headless-engine

Ultra-lightweight (<30MB RAM), detection-free pure-Rust headless browser engine for AI agents, web scraping, and MCP servers.

Installation

pip install headless-engine

The first run automatically downloads the precompiled headless-engine binary for your platform from GitHub Releases. No manual setup required.

Usage

from headless_engine import HeadlessBrowser

with HeadlessBrowser() as browser:
    report = browser.navigate("https://en.wikipedia.org/wiki/Artificial_intelligence")
    markdown = browser.extract_markdown()
    print(markdown)

Environment Variables

Variable Description
HEADLESS_ENGINE_BIN Override the path to the headless-engine binary

Links

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

headless_engine-1.0.1.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

headless_engine-1.0.1-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file headless_engine-1.0.1.tar.gz.

File metadata

  • Download URL: headless_engine-1.0.1.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.7

File hashes

Hashes for headless_engine-1.0.1.tar.gz
Algorithm Hash digest
SHA256 d9d1eeff22d8ebdcfa0bae4920a58fcc43fe4c49b06a3ebcfa81c59d885a0be8
MD5 b13ee3edec112a063ac85e4ce1267876
BLAKE2b-256 f970be63a62246d6b90f52b06c211cfa60f7de2a0a71b53172961e16f2b9d305

See more details on using hashes here.

File details

Details for the file headless_engine-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for headless_engine-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4b50c76e37a1cdc53b9a8f6d0e5e659025555881d7e09aee52497d67957fdce6
MD5 5218862d90a1f7ae38b5307848d79ffe
BLAKE2b-256 7c3289d0c08f8d9b45fb9cfd9b155b0c12f8a5894b7b2b7dbabf97a543d59d3f

See more details on using hashes here.

Release history Release notifications | RSS feed

1.1.2

2 files

1.1.1

2 files

1.0.2

2 files

This release

1.0.1 This release

2 files

1.0.0

2 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