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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ea4cde469f73d61479ad33b78ca6fb0db0f6e22ec06830bd379b4baf6ce6a3c
|
|
| MD5 |
ac62249c2364b8f707a546d8b8e5abde
|
|
| BLAKE2b-256 |
d3e41a48a2a043be4da47471316246f050bed8ece86749ebbb02f828250a5261
|
File details
Details for the file headless_engine-1.1.2-py3-none-any.whl.
File metadata
- Download URL: headless_engine-1.1.2-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b73c2bafcd117bfb341b1d7ec333d62b0603fd7819ea572e39cdf27c8fd924c
|
|
| MD5 |
9575a43a78ee87cfd7c858abfa4cbeda
|
|
| BLAKE2b-256 |
0d9e247c6bc0b0338a3ff7e2f87726ba019504ab5264f13a7ceb6448ebae4a52
|