hyperbrowser
Python SDK for hyperbrowser
What it is and what it does
Hyperbrowser is a Python SDK that provides programmatic control over remote browser sessions and isolated sandbox environments through a cloud API. It offers both synchronous and asynchronous clients, allowing developers to create browser sessions with configurable network policies, stealth modes, and screen dimensions, then control them via Playwright's CDP connection protocol.
The package wraps the Hyperbrowser service API with type-hinted request dictionaries and Pydantic response models. Beyond browser automation, it exposes sandbox management (creating, listing, and configuring containerized environments), volume management for persistent storage, and terminal access. Configuration is flexible—API keys can be passed directly, read from environment variables, or loaded from saved OAuth profiles. The SDK normalizes base URLs and supports both plain dictionaries and legacy Pydantic classes for backward compatibility.
Use it for:
- Automate web scraping or testing workflows by launching remote browser sessions with network isolation and stealth mode enabled.
- Run isolated Node.js or containerized applications in sandboxes with managed CPU, memory, and disk resources.
- Create temporary development environments with exposed ports and persistent volumes for multi-step CI/CD or testing pipelines.
- Control headless browsers programmatically from Python using Playwright, connecting over CDP to remote sessions.
- Manage browser session lifecycle and network policies (allow/deny domain lists, CIDR ranges) for security-sensitive automation.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Python SDK for controlling remote browser sessions and sandboxed environments via the Hyperbrowser API, supporting both sync and async clients with Playwright integration.
Yes, if you need remote browser automation or sandbox management via the Hyperbrowser service. The SDK is actively maintained, has no known vulnerabilities, and low install friction. Verify that the Hyperbrowser backend service meets your availability and latency requirements, and that its pricing aligns with your usage volume before committing.
Install
hyperbrowser on PyPI
pip
pip install hyperbrowseruv
uv add hyperbrowserpoetry
poetry add hyperbrowserInstalling hyperbrowser
Before you install
Low install friction with a pure-Python wheel and five well-established runtime dependencies. Package is actively maintained with a recent release and no known vulnerabilities.
License in practice
MIT license permits unrestricted use, modification, and distribution with minimal obligations—suitable for commercial and private projects.
Quickstart
pip install hyperbrowser
from hyperbrowser import Hyperbrowser
client = Hyperbrowser(api_key="your-api-key")
session = client.sessions.create({"use_stealth": True})
print(session.ws_endpoint)
Requires a valid Hyperbrowser API key (via constructor, HYPERBROWSER_API_KEY environment variable, or OAuth session at ~/.hx_config/auth/default.json). Browser control examples also require Playwright to be installed separately.
Verify before relying
- Whether the Hyperbrowser service itself (backend) is production-ready and what its uptime SLA is
- Pricing model and rate limits for the Hyperbrowser API service
- Performance characteristics and latency of remote browser sessions
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (<4.0,>=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 5 — httpx, jsonref, pydantic, typing-extensions, websockets |
| Maintenance | actively maintained — 10 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 370,298/month — #7,179 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: hyperbrowser-1.2.0-py3-none-any.whl
Tags
More WWW/HTTP packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
h11h11 is a pure-Python HTTP/1.1 protocol…
permissive · top 100 on PyPI
httpxHTTPX is a fully featured HTTP client library…
permissive · top 100 on PyPI
httpcoreA minimal low-level HTTP client library that…
permissive · top 100 on PyPI
aiohttpaiohttp is an async HTTP client and server…
permissive · top 100 on PyPI
browserbaseBrowserbase is a Python client library for the…
permissive · top 5,000 on PyPI
playwrightAutomate Chromium, Firefox, and WebKit browsers…
permissive · top 1,000 on PyPI
robotframework-browserBrowser automation library for Robot Framework…
permissive · top 5,000 on PyPI
install-playwrightProvides a Python function to execute the…
permissive · top 15,000 on PyPI
robocorp-browserA wrapper around Playwright that automates…
permissive · top 15,000 on PyPI
playwright-stealthApplies evasion techniques to Playwright…
permissive · top 5,000 on PyPI
tf-playwright-stealthPatches Playwright to evade bot-detection…
permissive · top 15,000 on PyPI
pytest-playwright-asyncioA pytest plugin that integrates Playwright…
permissive · top 15,000 on PyPI
scrapy-playwrightIntegrates Playwright browser automation into…
permissive · top 5,000 on PyPI
pytest-playwrightA pytest plugin that integrates Playwright…
permissive · top 5,000 on PyPI