No project description provided
Project description
Quick links
See also
- Beaker dashboard
- Beaker command-line client
- GitHub Actions:
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
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")
See the API Docs to learn about the Beaker client's methods.
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.15.1.tar.gz
(47.2 kB
view hashes)
Built Distribution
beaker_py-0.15.1-py3-none-any.whl
(62.5 kB
view hashes)
Close
Hashes for beaker_py-0.15.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93a18e2af5a42dbdd0b6aedfc023b19d40dd0b6f2700ed8ade104be2537ab4e5 |
|
MD5 | 2835e6c451fc21f67ac0fc88ee1cc954 |
|
BLAKE2b-256 | 6db23b73d19c82ef5c93126532fedb1d2da2e819865d1ab250fd8ddc9ed0b0b3 |