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.2.tar.gz
(5.3 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.2.tar.gz.
File metadata
- Download URL: headless_engine-1.0.2.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3b96753d1cc94b2713c244fc9d0e2f071275e952fa3b3363b31802ff51388f1d
|
|
| MD5 |
d5fda27b27b8a7b8e6f1ccc99b3c6eef
|
|
| BLAKE2b-256 |
e864cefce68ed45a91e155190f1d8ca7e2bda9a5023b662b3823845253455512
|
File details
Details for the file headless_engine-1.0.2-py3-none-any.whl.
File metadata
- Download URL: headless_engine-1.0.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.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0186801678f6eb60df38b62cdacd7802c97f4d5c217ff0677c1030f77f2d0973
|
|
| MD5 |
11df5bdbaa914a3717ecce3b132d6dd9
|
|
| BLAKE2b-256 |
16cd69360c4ce884418985b85724b0a811ac9244c0a117f70aa73c0faa11d792
|