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

Uploaded Source

File details

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

File metadata

  • Download URL: bitbucket-pipes-toolkit-3.0.0.tar.gz
  • Upload date:
  • Size: 9.5 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-3.0.0.tar.gz
Algorithm Hash digest
SHA256 8097a2d0966417a132e0553d76b25d175b52ca19d5c597f0d7a29418f6a97a64
MD5 765e852b7e5a0f11307e954e6654c668
BLAKE2b-256 907d7a3de831687700dd08ace6a2574baa66e85934ce179587a797564f16fd9b

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