Skip to main content

A Python Beaker client

Project description

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")

Project details


Release history Release notifications | RSS feed

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.dev20250426.tar.gz (67.9 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.dev20250426-py3-none-any.whl (76.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: beaker_py-2.0.1.dev20250426.tar.gz
  • Upload date:
  • Size: 67.9 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.dev20250426.tar.gz
Algorithm Hash digest
SHA256 591b54e23ab68caf3aad4d2354ae2fcc3b050e2058171618be83cfcc5b54d11b
MD5 29d235d646dd98ed5db20430f2f85210
BLAKE2b-256 d669e8bb94a4addbab4d6029a360e2ac43c42668c5581f51755741b3b608b02d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for beaker_py-2.0.1.dev20250426-py3-none-any.whl
Algorithm Hash digest
SHA256 d057d375e7d43e80a1aece955cc77fbd4ccf487b7ece0c40a858ab06189dcacf
MD5 b7391cf339384152cec61d16ab32b022
BLAKE2b-256 26179714e0b3f5c7b37c4c8d7c6a5343cd89c4747d90e5396592770ebe1c3f1a

See more details on using hashes here.

Supported by

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