Pre-release
This release is a pre-release and may not be stable for production use.
Beaker-py
A lightweight pure-Python client for Beaker.
Installing
Installing with pip
beaker-py is available on PyPI. Just run
pip install beaker-py
Installing from source
To install beaker-py from source, first clone the repository:
git clone https://github.com/allenai/beaker.git
cd beaker/bindings/python
Then run:
make dev-install
Quick start
If you've already configured the Beaker command-line client, beaker-py will
find and use the existing configuration file (usually located at $HOME/.beaker/config.yml).
Otherwise just set the environment variable BEAKER_TOKEN to your Beaker user token.
Either way, you should then instantiate the Beaker client with .from_env():
from beaker import Beaker
beaker = Beaker.from_env(default_workspace="my_org/my_workspace")
Metadata
Release files for beaker-py 2.0.1.dev20250426
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| beaker_py-2.0.1.dev20250426.tar.gz | 67.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| beaker_py-2.0.1.dev20250426-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 144.7 kB
Release files / beaker_py-2.0.1.dev20250426.tar.gz
| Download URL | beaker_py-2.0.1.dev20250426.tar.gz |
|---|---|
| Size | 67.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
591b54e23ab68caf3aad4d2354ae2fcc3b050e2058171618be83cfcc5b54d11b
|
|
BLAKE2b-256 checksum How to use checksums |
d669e8bb94a4addbab4d6029a360e2ac43c42668c5581f51755741b3b608b02d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.13
|
Release files / beaker_py-2.0.1.dev20250426-py3-none-any.whl
| Download URL | beaker_py-2.0.1.dev20250426-py3-none-any.whl |
|---|---|
| Size | 76.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d057d375e7d43e80a1aece955cc77fbd4ccf487b7ece0c40a858ab06189dcacf
|
|
BLAKE2b-256 checksum How to use checksums |
26179714e0b3f5c7b37c4c8d7c6a5343cd89c4747d90e5396592770ebe1c3f1a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.13
|