Lightweight client SDK for the Rayobrowse stealth browser platform
Project description
Rayobrowse SDK
Lightweight Python SDK for the Rayobrowse stealth browser platform. Works with both local self-hosted instances and the Rayobrowse cloud service.
Installation
pip install rayobrowse
Quick Start
from rayobrowse import Rayobrowse
from playwright.sync_api import sync_playwright
client = Rayobrowse(endpoint="wss://cloud.rayobrowse.com", api_key="your-key")
ws_url = client.connect_url(os="windows", proxy="http://user:pass@host:port")
with sync_playwright() as p:
browser = p.chromium.connect_over_cdp(ws_url)
page = browser.new_page()
page.goto("https://example.com")
print(page.title())
browser.close()
Local Usage (Docker)
from rayobrowse import Rayobrowse
from playwright.sync_api import sync_playwright
client = Rayobrowse() # defaults to ws://localhost:9222
ws_url = client.connect_url(os="windows")
with sync_playwright() as p:
browser = p.chromium.connect_over_cdp(ws_url)
page = browser.new_page()
page.goto("https://example.com")
browser.close()
Documentation
Full documentation, API reference, and integration guides are available at docs.rayobrowse.com.
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
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 rayobrowse-2.2.0-py3-none-any.whl.
File metadata
- Download URL: rayobrowse-2.2.0-py3-none-any.whl
- Upload date:
- Size: 12.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ff437fdcc3827fee2495c16810f13167494cdffb5499508cfb2893879c86fd2
|
|
| MD5 |
81719c8fe6589268b6b748436d34439b
|
|
| BLAKE2b-256 |
d2f243c308f3478ce51bb79df854a86caee10ddf49c9d4cd2a324f7bfa179064
|