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.dev20250428
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.dev20250428.tar.gz | 68.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| beaker_py-2.0.1.dev20250428-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 145.4 kB
Release files / beaker_py-2.0.1.dev20250428.tar.gz
| Download URL | beaker_py-2.0.1.dev20250428.tar.gz |
|---|---|
| Size | 68.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
72935a1102be451a1a880fbddf470f57e6ca1d021cbe0e260bfc72ed08065ae0
|
|
BLAKE2b-256 checksum How to use checksums |
26a3d64cbb47348ad49415ca116c8efeb16f71466e982e110cd501621922bb0e
|
| 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.dev20250428-py3-none-any.whl
| Download URL | beaker_py-2.0.1.dev20250428-py3-none-any.whl |
|---|---|
| Size | 77.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3afc1074c787b853a6ac55e06c254d83d14a3f5f187975bbe9d9a7e3eceb53f6
|
|
BLAKE2b-256 checksum How to use checksums |
e5b6be22d8b469a4dd848aa733b519a58df1d781d8f8123d285b0067dcb261e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.13
|