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.8.0.tar.gz (6.6 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: bitbucket-pipes-toolkit-1.8.0.tar.gz
  • Upload date:
  • Size: 6.6 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.8.0.tar.gz
Algorithm Hash digest
SHA256 159175f3e9285fbfd46ebc7db45355109a4aec2bf095a5c105471e50fa42db9c
MD5 e47085b8015bbe320674d50fc94ca66f
BLAKE2b-256 a6301cdd3b3fd4f8bb68477b54221c032a204a729a8d2ff62cc7221feee0e618

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