This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Pyppo is a simple flow base programming micro framework for Python.


Simple pipeline

This is an example of a very simple pipeline. Simply pass a list functions to be executed at the pipeline execution.

obj = []

def do_something(obj):
    return obj

def do_something_else(obj):
    return obj

consume(pipeline([obj], [do_something, do_something_else]))

[1, 2]

Fork pipeline

This example shows a fork of a pipeline. fork is essentially another pipeline steps except it acceptes a list of function branches.

obj = []
def first_step(obj):
    return obj

def branch_add_two(obj):
    return obj

def branch_add_four(obj):
    return obj

pipeline([obj], first_step, fork([branch_add_two], [branch_add_four]))

Validate pipeline steps

You can also validate pipeline steps by providing a validate function to the validate_with decorator as shown on the following example

validation = lambda entry: 'x' in entry

def add_x_to_entry(entry):
    # should add 'x' key to entry dictionary but didn't
    return entry

def increment_1_on_x_key(entry):
    entry['x'] += 1
    return entry

entry = {}
# consume will saise a StepValidationError
consume(pipeline([entry], [add_x_to_entry, increment_1_on_x_key]))
Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
Pyppo-0.1.tar.gz (3.0 kB) Copy SHA256 Checksum SHA256 Source Nov 4, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting