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, Config
beaker = Beaker(Config(user_token="my beaker token", default_workspace="my_org/my_workspace"))
You can also create your client from a beaker config file or environment variables with:
beaker = Beaker.from_env()
Release files for beaker-py 0.2.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| beaker-py-0.2.8.tar.gz | 10.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| beaker_py-0.2.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.7 kB
Release files / beaker-py-0.2.8.tar.gz
| Download URL | beaker-py-0.2.8.tar.gz |
|---|---|
| Size | 10.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b97254f206dbbef4dd021ea32b6010daabd3c470a572b94f8429e2edd99fb99d
|
|
BLAKE2b-256 checksum How to use checksums |
dcb0a16acc4a9f32c8017da96abefc883c7807a74a0b00f6d06a3c055133fbb4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.7.12
|
Release files / beaker_py-0.2.8-py3-none-any.whl
| Download URL | beaker_py-0.2.8-py3-none-any.whl |
|---|---|
| Size | 11.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b062ee7f5a282a4df6ad8827f9cb66bcb88bc1df5095c9f8f98965dac666ba48
|
|
BLAKE2b-256 checksum How to use checksums |
608a979ded4b46e35aa0ad64f33310aa5670910ef6b97483b9eb1746a7ad6a4e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.7.12
|