Skip to main content

workbox

The Python package for Workbox: GPU boxes with Jupyter, VS Code, a terminal and SSH, and training jobs that keep everything they make.

pip install workbox        # or: uv tool install workbox

It has no dependencies, and works on Python 3.10 and later.

SSH into your boxes

Sign in once on each computer. It opens your browser to approve the computer, makes a key for Workbox and adds Host *.workbox to ~/.ssh/config:

workbox login --url https://your-workbox

Then connect to a running box by its name, from the terminal or from your editor:

workbox boxes                # your boxes and their names
workbox ssh tinystories      # or: ssh tinystories.workbox
scp data.csv tinystories.workbox:~/work/

In VS Code or Cursor, use Remote-SSH and connect to tinystories.workbox. A running job's machine is <project>-job-<number>.workbox, for example workbox ssh tinystories-job-42.

Each connection gets a certificate for that one box, valid for 12 hours, and a one-use pass through the box's HTTPS port. No port is left open and no key stays on the box. workbox logout signs the computer out; you can also sign computers out from your account in Workbox. You need OpenSSH (ssh and ssh-keygen), which macOS, Linux and Windows 10 or later have.

Metrics and samples from your training code

import workbox

workbox.log(step=step, loss=loss, lr=lr)       # live charts on the job's page
workbox.sample(step=step, text=story)          # or image="plot.png", or a PIL image

Inside a Workbox job these are reported as the job runs. Anywhere else (your laptop, Colab) they do nothing, so the same code runs everywhere. They never raise: a training run never fails over a chart.

Describe the model

workbox.describe(model, context=1024, layers=12, tokenizer="GPT-2")

Its parameters are counted from the model (PyTorch, Keras or JAX), and shown on the job's page with the rest.

Serve what a job trained

import workbox

def generate(prompt, max_tokens, temperature, top_p, stop):
    yield from model.stream(prompt, max_tokens, temperature, top_p)

workbox.serve(generate, context=2048, count=tokenizer.count)

Name the script in workbox.yaml (serve: python serve.py), and the job's Chat talks to the model on the same GPU, with its conversations kept and their context managed for you.

What else is in it

The same package runs inside every Workbox image: workbox-runner runs a job and reports to Workbox, and workbox-box runs a box (its gateway, tools and SSH). You don't run those yourself.

Metadata

Release files for workbox 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for workbox 0.2.3
File Size Uploaded Provenance Actions
workbox-0.2.3.tar.gz 29.8 kB With provenance Details for workbox-0.2.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for workbox 0.2.3
File Interpreter ABI Platform Actions
workbox-0.2.3-py3-none-any.whl Python 3 none any Details for workbox-0.2.3-py3-none-any.whl

Total release size: 64.5 kB

Release files / workbox-0.2.3.tar.gz

Download URL workbox-0.2.3.tar.gz
Size 29.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d9526491b3bcbfa231fc4ce1b4356fcb427b8212d4c43cc1a2472c620cbddb42
BLAKE2b-256 checksum
How to use checksums
5b1dd006713524d1f08f6a9e0aacb97663f3e5a1ba038f009ed0b42e5702b86d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Release files / workbox-0.2.3-py3-none-any.whl

Download URL workbox-0.2.3-py3-none-any.whl
Size 34.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a67d2c9633ee56fb88784be4fa76f69cbbdb858080833d79dc212618f1c95c72
BLAKE2b-256 checksum
How to use checksums
936bb09f4ee8918aebf4754f87b4c4576dfd111f060b9a213d0cb9cc56b556f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Security for workbox 0.2.3

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for workbox-0.2.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page