No project description provided
Project description
beaker-py
A Beaker client for Python.
Quick links
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-py.git
cd beaker-py
Then run
pip install -e .
Quick start
Create a Beaker client with your Beaker user token:
from beaker import Beaker
beaker = Beaker("my beaker token", workspace="my_org/my_workspace")
You can also create your client from environment variables with:
# Assumes your user token is set as the environment variable `BEAKER_TOKEN`.
beaker = Beaker.from_env()
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-0.1.0.tar.gz
(8.6 kB
view hashes)
Built Distribution
Close
Hashes for beaker_py-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a837e13b07e1f14269c486a3d102e90fd80faf1e50785597999151eae1afc74c |
|
MD5 | 98104a886565a7c24300a84bbaf18209 |
|
BLAKE2b-256 | f64906b1824de9fde69688c3d86f03c9ab5010f89b3a30a80c21e30be2a87e0c |