EasyBrowser local API SDK
Project description
EasyBrowser SDK
EasyBrowser SDK is a small Python client for the EasyBrowser local API.
Website: https://easybrowser.pages.dev/
Install
pip install easybrowser-sdk
For local development:
pip install -e .
Quick Start
from easybrowser_sdk import EasyBrowserAPI
api = EasyBrowserAPI()
api.ensure_local_api_available()
environment = api.ensure_container(
name="TestEnv",
defaultUrl="https://example.com",
)
print(environment["id"])
Requirements
- Python 3.10+
- EasyLauncher installed and running
- Chromium installed for Patchright automation
patchright install chromium
Publish
python -m pip install build twine
python -m build
python -m twine check dist/*
python -m twine upload dist/*
Use __token__ as the username and a PyPI API token as the password.
EasyBrowser SDK
EasyBrowser SDK 是一个用于 EasyBrowser 本地 API 的简洁 Python 客户端。
官网:https://easybrowser.pages.dev/
安装
pip install easybrowser-sdk
本地开发:
pip install -e .
快速开始
from easybrowser_sdk import EasyBrowserAPI
api = EasyBrowserAPI()
api.ensure_local_api_available()
environment = api.ensure_container(
name="TestEnv",
defaultUrl="https://example.com",
)
print(environment["id"])
运行要求
- Python 3.10 及以上
- 已安装并运行 EasyLauncher
- 使用 Patchright 自动化时安装 Chromium
patchright install chromium
发布
python -m pip install build twine
python -m build
python -m twine check dist/*
python -m twine upload dist/*
用户名使用 __token__,密码使用 PyPI API token。
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 Distribution
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 easybrowser_sdk-0.1.1.tar.gz.
File metadata
- Download URL: easybrowser_sdk-0.1.1.tar.gz
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f053b4ed0de4284998611fdd88aa4fcac7f8163c63de033730a0ef8db2eaa17
|
|
| MD5 |
b608a788f17ecef336fa6e2c1a1a286d
|
|
| BLAKE2b-256 |
0d0b9fd1fa276f8b25d85ea4d93c334547ea20986262e129529c055838d55811
|
File details
Details for the file easybrowser_sdk-0.1.1-py3-none-any.whl.
File metadata
- Download URL: easybrowser_sdk-0.1.1-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99c2302bcb54a3ec10baeba16954bf21a12a51835f0f44f2b331051252f81c0e
|
|
| MD5 |
a4fd780b3fa395c7d39810fc05af3315
|
|
| BLAKE2b-256 |
357bd5cb8af3531ef07fe9353e32d9635c4112a207fa2e68a9718edc18cd8d04
|