This package contains various helpers for developing bitbucket pipelines pipes
Project description
Bitbucket Pipes Toolkit
This package contains various tools and helpers to make it more fun and easy for people to develope pipes. This includes improved colorized logging, shared data interface, array variables helpers and more.
Installation
pip install bitbucket_pipes_toolkit
Examples
Simple pipe example
from bitbucket_pipes_toolkit import Pipe
class MyPipe(Pipe):
def run(self):
super().run()
print("I'm a simple little pipe")
# below is a simple schema for pipe variables.
schema = {'USERNAME': {'required': True, 'type': 'string'},
'PASSWORD': {'required': True, 'type': 'string'}}
pipe_metadata = {
'name': 'My Pipe',
'image': 'mydockerimage:latest'
}
my_pipe=MyPipe(pipe_metadata=pipe_metadata, schema=schema)
my_pipe=pipe.run()
Documentation
For more details have a look at the official documentation.
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
Close
Hashes for bitbucket-pipes-toolkit-1.7.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e02e603a1bc24b08db3d76da67d048156aba7f84c8e45ed97dfff3f8f88f406 |
|
MD5 | bd5b6dd28035deb7af39d4e9e6a59e84 |
|
BLAKE2b-256 | 367c77fa884843e02c7a46d5054c812e493912251e91a170c61c6028e71b7a03 |