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.1.2.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.1.2-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for headless_engine-1.1.2.tar.gz
Algorithm Hash digest
SHA256 6ea4cde469f73d61479ad33b78ca6fb0db0f6e22ec06830bd379b4baf6ce6a3c
MD5 ac62249c2364b8f707a546d8b8e5abde
BLAKE2b-256 d3e41a48a2a043be4da47471316246f050bed8ece86749ebbb02f828250a5261

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for headless_engine-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5b73c2bafcd117bfb341b1d7ec333d62b0603fd7819ea572e39cdf27c8fd924c
MD5 9575a43a78ee87cfd7c858abfa4cbeda
BLAKE2b-256 0d9e247c6bc0b0338a3ff7e2f87726ba019504ab5264f13a7ceb6448ebae4a52

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.1.2 This release

2 files

1.1.1

2 files

1.0.2

2 files

1.0.1

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