beaker-py is a lightweight, standalone, pure Python client for the Beaker platform, which is a machine learning experiment and dataset management system. It provides an RPC-based client to interact with Beaker servers. The library is actively maintained, with its latest version being 2.6.0, and follows a continuous release cadence.
pip install beaker-pyVerified import paths — ran on the pinned version, not inferred.
The quickstart demonstrates initializing the Beaker client using `Beaker.from_env()`, which automatically picks up configuration from `~/.beaker/config.yml` or the `BEAKER_TOKEN` environment variable. It then attempts to list datasets within a specified workspace.
Consult the official v1 -> v2 migration guide (beaker-py-docs.allen.ai) for detailed steps. Ensure your `pip install` command is specific if you need version 1, e.g., `pip install 'beaker-py<2.0'`.
Set the `BEAKER_TOKEN` environment variable to your Beaker user token or configure `~/.beaker/config.yml` as per Beaker CLI instructions. Use `Beaker.from_env()` for automatic configuration loading.
Always use `pip install beaker-py` and `from beaker import Beaker` when targeting the Beaker platform client. Verify the GitHub repository (allenai/beaker) if in doubt.
Check the permissions for your Beaker user token or the configured user within the Beaker platform. Ensure the default workspace specified has the correct access rights for your user.
Set the `BEAKER_TOKEN` environment variable, e.g., `export BEAKER_TOKEN="your_token"`, or ensure a valid `~/.beaker/config.yml` file exists with your Beaker configuration.
Verify the exact name or ID of the workspace in the Beaker UI or CLI. Ensure your `BEAKER_TOKEN` grants access to this specific workspace.
No dependency data recorded yet.