Skip to main content
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")

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

beaker_py-2.0.1.dev20250425.tar.gz (67.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

beaker_py-2.0.1.dev20250425-py3-none-any.whl (76.3 kB view details)

Uploaded Python 3

File details

Details for the file beaker_py-2.0.1.dev20250425.tar.gz.

File metadata

  • Download URL: beaker_py-2.0.1.dev20250425.tar.gz
  • Upload date:
  • Size: 67.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.13

File hashes

Hashes for beaker_py-2.0.1.dev20250425.tar.gz
Algorithm Hash digest
SHA256 104921c8612e613d0bd1838659f23227eb7763f95606feb3f5cae090afb82c87
MD5 a9bef59d0536e83f73b5f9df5cd8a8f4
BLAKE2b-256 8a116eda572e813cab758406d673249c5061d174260aa2019c905d79041c89e5

See more details on using hashes here.

File details

Details for the file beaker_py-2.0.1.dev20250425-py3-none-any.whl.

File metadata

File hashes

Hashes for beaker_py-2.0.1.dev20250425-py3-none-any.whl
Algorithm Hash digest
SHA256 beb3a19278a98d02cfc0053bd82094153b6b5549f4ff50212db8c69f86b704fc
MD5 5bfcf283cf2a82aaefe72622a3b6fe82
BLAKE2b-256 24cc9ec99798c3c0d702edeea6b84d67611cba33dda4ab254fefd8592feb2c0e

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page