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
Metadata
Release files for headless-engine 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| headless_engine-1.1.2.tar.gz | 5.2 kB | Without provenance | Details for headless_engine-1.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| headless_engine-1.1.2-py3-none-any.whl | Python 3 | none | any | Details for headless_engine-1.1.2-py3-none-any.whl |
Total release size: 10.5 kB
Release files / headless_engine-1.1.2.tar.gz
| Download URL | headless_engine-1.1.2.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6ea4cde469f73d61479ad33b78ca6fb0db0f6e22ec06830bd379b4baf6ce6a3c
|
|
BLAKE2b-256 checksum How to use checksums |
d3e41a48a2a043be4da47471316246f050bed8ece86749ebbb02f828250a5261
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Release files / headless_engine-1.1.2-py3-none-any.whl
| Download URL | headless_engine-1.1.2-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5b73c2bafcd117bfb341b1d7ec333d62b0603fd7819ea572e39cdf27c8fd924c
|
|
BLAKE2b-256 checksum How to use checksums |
0d9e247c6bc0b0338a3ff7e2f87726ba019504ab5264f13a7ceb6448ebae4a52
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Security for headless-engine 1.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.