Skip to main content

No project description provided

Project description




beaker-py

A Beaker client for Python


CI PyPI Documentation Status License

Quick links

See also

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.9.0.tar.gz (41.7 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-0.9.0-py3-none-any.whl (52.3 kB view details)

Uploaded Python 3

File details

Details for the file beaker-py-0.9.0.tar.gz.

File metadata

  • Download URL: beaker-py-0.9.0.tar.gz
  • Upload date:
  • Size: 41.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.7.12

File hashes

Hashes for beaker-py-0.9.0.tar.gz
Algorithm Hash digest
SHA256 d5185c56fae2a445e5dafeb6fd46f1a44cde1a7e94969fdec2e82a9976513476
MD5 56eb9e5538e00d2a0af9ca57496f749d
BLAKE2b-256 d8b69c92b84f6146c76cf18b1558882a96e8a0b2c112d2959f2615c350d76ce7

See more details on using hashes here.

File details

Details for the file beaker_py-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: beaker_py-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 52.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.7.12

File hashes

Hashes for beaker_py-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6bf432b116bd1b20dc90f5bde8558af8e39972a9bd3abc335e73741c796359fd
MD5 6f813d3277936024e51bb03782a2d3bb
BLAKE2b-256 da29b9a3fcd68f79c3502aab85ab6774ebd4777ca1a619b6d9cd4eaea229093d

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