CloudTab Python SDK
Python connectors for HMAC-signed remote Selenium and Playwright sessions.
Install
Install from PyPI:
python -m pip install cloudtab
For local development, install this source directory:
python -m pip install .
Use
import os
from cloudtab.selenium import connect
driver = connect(
os.environ["CLOUDTAB_BASE_URL"],
os.environ["CLOUDTAB_API_KEY"],
os.environ["CLOUDTAB_SESSION_ID"],
)
try:
driver.get("https://example.com")
finally:
driver.quit()
Recommended .env values:
CLOUDTAB_BASE_URL=https://api.solbounty.fun
CLOUDTAB_API_KEY=replace-with-account-bearer-token
CLOUDTAB_SESSION_ID=replace-with-session-id
The same bearer token can select any session owned by that CloudTab account; the session ID chooses which saved browser profile to open. Never commit bearer tokens or session IDs to source control.
Playwright
Playwright is included with the normal cloudtab installation.
import os
from cloudtab.playwright import connect
with connect(
os.environ["CLOUDTAB_BASE_URL"],
os.environ["CLOUDTAB_API_KEY"],
os.environ["CLOUDTAB_SESSION_ID"],
) as session:
page = session.browser.contexts[0].pages[0]
page.goto("https://example.com")
print(page.title())
This uses an authenticated, one-time CDP bridge. Closing the context manager detaches Playwright and closes the remote browser session.
One SDK, two automation engines
cloudtab is one package. Choose the engine through its module:
from cloudtab import connect_selenium, connect_playwright
Metadata
Release files for cloudtab 0.1.4
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 | |
|---|---|---|---|---|
| cloudtab-0.1.4.tar.gz | 7.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cloudtab-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.0 kB
Release files / cloudtab-0.1.4.tar.gz
| Download URL | cloudtab-0.1.4.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
83b33d8875731759417115e72ee85c6e88811f44b6950122e4e3c32d56e66b43
|
|
BLAKE2b-256 checksum How to use checksums |
27af0d9b216ee05b2a7d743484df8138f29f315bae079a3f47f4918223c83949
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Release files / cloudtab-0.1.4-py3-none-any.whl
| Download URL | cloudtab-0.1.4-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b1909356a7de145c0155b06837b5ca4b082c1e4c1bbc735462b7f11a311719b2
|
|
BLAKE2b-256 checksum How to use checksums |
12c54ef5b3e2a57204d22d4b0790bfd9eab746eac1d384c0f402cd4eb9121afa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Security for cloudtab 0.1.4
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.