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.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.1.1.tar.gz.
File metadata
- Download URL: headless_engine-1.1.1.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 |
2fab702d2ad9240f568421402c0997dfc46473747dd30e9152e9101c3722965b
|
|
| MD5 |
2ae06ccccbe3227b8e5edbf494b136c0
|
|
| BLAKE2b-256 |
950ed2d60fa85ab405e24bcc7044a96e0d47b43a6143c386da9a67a282c41b08
|
File details
Details for the file headless_engine-1.1.1-py3-none-any.whl.
File metadata
- Download URL: headless_engine-1.1.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.12.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53f783536b2218cf6d74c03eb4677df401b6484838ba730fd9dd39627c19d4f8
|
|
| MD5 |
4fae75d2b609be58923411a6dde8e3cb
|
|
| BLAKE2b-256 |
380abea6970fbb83160f15abb49634e53d03de1bdb0995bb902f1aba5f0bfed6
|