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.0.dev20250425.tar.gz (67.5 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.0.dev20250425-py3-none-any.whl (76.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: beaker_py-2.0.0.dev20250425.tar.gz
  • Upload date:
  • Size: 67.5 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.0.dev20250425.tar.gz
Algorithm Hash digest
SHA256 f0eca3e7b1745cf2d2a1d0f26271be9731c30f0051f1786feaf293027f3b152f
MD5 51d927bb313699e9c69a164d0c5d8db0
BLAKE2b-256 e424a55630fa7031556a0c8dc9ad9c171de091d54f089837e8a5b466d7477067

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for beaker_py-2.0.0.dev20250425-py3-none-any.whl
Algorithm Hash digest
SHA256 aed12564c74318f8a6537f479f0ad1bce0db87b3e396458d5cf1dc4915791452
MD5 75483f056f223579a4a8366161e4b1c9
BLAKE2b-256 3a5904868e9be90ab8e31ad6ca86fab7d48aed2db0c5633bef2cc85f897c3c52

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