Python wrapper for the Buildkite API
Project description
This is a WIP and not actually available yet
A Python library and client for the Buildkite API.
Usage
To get the package, execute:
pip install pybuildkite
Then set up an instance of the Buildkite object, set you access token, and make any available requests.
from pybuildkite.buildkite import BuildKite, BuildState
buildkite = BuildKite()
buildkite.set_access_token('YOUR_API_ACCESS_TOKEN_HERE')
# Get all info about particular org
buildkite.organizations().get_org('my-org')
# Get all running builds for a particular pipeline
buildkite.builds().list_all_for_pipeline('my-org', 'my-pipeline', state=BuildState.RUNNING)
# Create a build
buildkite.builds().create_build('my-org', 'my-pipeline', 'COMMITSHA', 'master', clean_checkout=True, message="My First Build!")
License
This library is distributed under the BSD-style license found in the LICENSE file.
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for pybuildkite-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e25be70355118d5da9b7b882377cc0b236ddcba81f248fc7539964e80510dee |
|
MD5 | 9c3f50d031799400eeec310093685354 |
|
BLAKE2b-256 | b26743970346a7d2c8cf974e113e1dffa862a40e1de8c490742e1f68bd1fff56 |