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.0.tar.gz
(4.9 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.0.tar.gz.
File metadata
- Download URL: headless_engine-1.0.0.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92142ffa9db3d13a4846ea0b352ddb85019779299615f80c955d15228022dbc4
|
|
| MD5 |
253aec75cd3d80c2f21aee3f23b816b4
|
|
| BLAKE2b-256 |
485bb820bcdaee93c33dbb21953f6fc94563d618c9b733298f1dc9f9b8819a23
|
File details
Details for the file headless_engine-1.0.0-py3-none-any.whl.
File metadata
- Download URL: headless_engine-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
470140379de54f4524c99ba8cd324214e22d1ffea73e08933d69f78735b0e984
|
|
| MD5 |
5c756f7d585f094dc4b0a89dc086a086
|
|
| BLAKE2b-256 |
7122d951927c96c83aca1e9b3464b4db25e15e1790fc8da4823966b626dc98a8
|