ScaleWoB Python SDK
Python SDK for evaluating in ScaleWoB: Scalable world-of-bit that revolutionizes the evaluation of Computer-Use Agents.
🔥 Use this SDK to plug your computer-use agent to our upcoming benchmark!
Installation
pip install scalewob
Discovering Tasks
ScaleWoB uses a two-step process to discover tasks:
- Fetch available environments
- Load each environment to get its tasks
from scalewob import ScaleWoBAutomation, fetch_environments
# Step 1: Fetch available environments
envs = fetch_environments()
print(f"Found {len(envs)} environments")
# Filter by difficulty
basic_envs = fetch_environments(difficulty="Basic")
# Filter by platform and tags
mobile_envs = fetch_environments(
platform="Mobile Interfaces",
tags=["Time Selection"]
)
# Step 2: For each environment, load it and work with its tasks
for env in basic_envs:
with ScaleWoBAutomation(env_id=env['id']) as auto: # the browser will show up
# Access tasks via the tasks property
print(f"Environment {env['name']} has {len(auto.tasks)} tasks")
# Work with each task
for idx, task in enumerate(auto.tasks):
auto.start_evaluation()
# ... perform actions based on task['description'] ...
# The task's params field (if present) is a JSON schema
# You need to provide actual parameter values that match this schema
if task.get('params'):
# Example: provide actual values matching the schema
# Validation is automatic when you call finish_evaluation
actual_params = {
"destination": "New York",
"check_in": "2024-01-15"
}
result = auto.finish_evaluation(
task_id=task['task_id'],
params=actual_params # Auto-validated against task['params']
)
else:
result = auto.finish_evaluation(task_id=task['task_id'])
Development
Setup
# Clone the repo and enter the directory first
uv sync
# Install pre-commit hooks
uv pre-commit install
Code Quality
# Format code
uv run poe format
# Run checks (format, lint, type checking)
uv run poe check
# Fix linting issues
uv run poe fix
License
MIT License - see LICENSE file for details.
Links
- Homepage: https://github.com/ScaleWoB/ScaleWoB.github.io
- Documentation: https://github.com/ScaleWoB/ScaleWoB#readme
- Bug Tracker: https://github.com/ScaleWoB/ScaleWoB/issues
Metadata
Release files for scalewob 0.12.1
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 | |
|---|---|---|---|---|
| scalewob-0.12.1.tar.gz | 17.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| scalewob-0.12.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 35.2 kB
Release files / scalewob-0.12.1.tar.gz
| Download URL | scalewob-0.12.1.tar.gz |
|---|---|
| Size | 17.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
533502e88c49abaccf3f21f3d4c3520cbae2bfb027006489386a955bbb06eb44
|
|
BLAKE2b-256 checksum How to use checksums |
a5ff281ad4b1b534aa1b72df415125dadffa2b4fd1d0df2941c18911aad9246a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.10.6 {"installer":{"name":"uv","version":"0.10.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / scalewob-0.12.1-py3-none-any.whl
| Download URL | scalewob-0.12.1-py3-none-any.whl |
|---|---|
| Size | 17.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fe442b28a77f206f06ba57be4d881619eac8856f8decb8cf8e3b226b4ad99880
|
|
BLAKE2b-256 checksum How to use checksums |
3a15a219295ea4cda1f4c8ff9074ba1579dfca004b8e70482c343e1c47304861
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.10.6 {"installer":{"name":"uv","version":"0.10.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for scalewob 0.12.1
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.