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)
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.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9d1eeff22d8ebdcfa0bae4920a58fcc43fe4c49b06a3ebcfa81c59d885a0be8
|
|
| MD5 |
b13ee3edec112a063ac85e4ce1267876
|
|
| BLAKE2b-256 |
f970be63a62246d6b90f52b06c211cfa60f7de2a0a71b53172961e16f2b9d305
|
File details
Details for the file headless_engine-1.0.1-py3-none-any.whl.
File metadata
- Download URL: headless_engine-1.0.1-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.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b50c76e37a1cdc53b9a8f6d0e5e659025555881d7e09aee52497d67957fdce6
|
|
| MD5 |
5218862d90a1f7ae38b5307848d79ffe
|
|
| BLAKE2b-256 |
7c3289d0c08f8d9b45fb9cfd9b155b0c12f8a5894b7b2b7dbabf97a543d59d3f
|