Skip to main content

This package contains various helpers for developing bitbucket pipelines pipes

Project description

Bitbucket Pipes Toolkit

Coverage

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bitbucket-pipes-toolkit-1.6.0.tar.gz (6.1 kB view details)

Uploaded Source

File details

Details for the file bitbucket-pipes-toolkit-1.6.0.tar.gz.

File metadata

  • Download URL: bitbucket-pipes-toolkit-1.6.0.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for bitbucket-pipes-toolkit-1.6.0.tar.gz
Algorithm Hash digest
SHA256 8d6d93eb1d7cf4cce9ae259b7c80a8335d9b71188cc5459ed91768916043f2b9
MD5 7072f58e9ca526f4e3aa8a538b9aeb8c
BLAKE2b-256 6f97c823d56302ac1adbd4b54e99c985c036778f9c6b451224f75cac6a78c9ef

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