def pipe_e519dd393f943315f7e4128d19db2eac(context=None, _INPUT=None, conf=None, **kwargs):
    # todo: insert pipeline description here
    conf = conf or {}

    if context and context.describe_input:
        return [(u'', u'q', u'Search term:', u'text', u'enterprise mashup')]

    if context and context.describe_dependencies:
        return [u'pipefetch', u'pipeoutput', u'pipetextinput', u'pipeurlbuilder']

    forever = pipe_forever()

    sw_552 = pipe_textinput(
        context, forever, conf={'debug': {'type': 'text', 'value': ''}, 'default': {'type': 'text', 'value': 'enterprise mashup'}, 'prompt': {'type': 'text', 'value': 'Search term:'}, 'name': {'type': 'text', 'value': 'q'}, 'position': {'type': 'number', 'value': ''}})
    
    sw_492 = pipe_urlbuilder(
        context, forever, PARAM_5_value=sw_552, conf={'PATH': {'type': 'text', 'value': ''}, 'BASE': {'type': 'text', 'value': 'http://news.google.com/news'}, 'PARAM': [{'value': {'type': 'text', 'value': '1'}, 'key': {'type': 'text', 'value': 'pz'}}, {'value': {'type': 'text', 'value': 'all'}, 'key': {'type': 'text', 'value': 'cf'}}, {'value': {'type': 'text', 'value': 'uk'}, 'key': {'type': 'text', 'value': 'ned'}}, {'value': {'type': 'text', 'value': 'en'}, 'key': {'type': 'text', 'value': 'hl'}}, {'value': {'terminal': 'PARAM_5_value', 'type': 'text'}, 'key': {'type': 'text', 'value': 'q'}}, {'value': {'type': 'text', 'value': 'rss'}, 'key': {'type': 'text', 'value': 'output'}}]})
    
    sw_481 = pipe_fetch(
        context, forever, _1_URL=sw_492, conf={'URL': {'terminal': '1_URL', 'type': 'url'}})
    
    _OUTPUT = pipe_output(
        context, sw_481, conf={})
    
    return _OUTPUT
def pipe_1LNyRuNS3BGdkTKaAsqenA(context=None, _INPUT=None, conf=None, **kwargs):
    # todo: insert pipeline description here
    conf = conf or {}

    if context and context.describe_input:
        return [(u'', u'textinput1', u'Stock Symbol:', u'text', u'yhoo'), (u'', u'textinput2', u'Search Term:', u'text', u'')]

    if context and context.describe_dependencies:
        return [u'pipefetch', u'pipefilter', u'pipeoutput', u'pipetextinput', u'pipeurlbuilder']

    forever = pipe_forever()

    sw_131 = pipe_textinput(
        context, forever, conf={'debug': {'type': 'text', 'value': ''}, 'default': {'type': 'text', 'value': ''}, 'prompt': {'type': 'text', 'value': 'Search Term:'}, 'name': {'type': 'text', 'value': 'textinput2'}, 'position': {'type': 'number', 'value': ''}})
    
    sw_116 = pipe_textinput(
        context, forever, conf={'debug': {'type': 'text', 'value': 'yhoo'}, 'default': {'type': 'text', 'value': 'yhoo'}, 'prompt': {'type': 'text', 'value': 'Stock Symbol:'}, 'name': {'type': 'text', 'value': 'textinput1'}, 'position': {'type': 'number', 'value': ''}})
    
    sw_85 = pipe_urlbuilder(
        context, forever, PARAM_1_value=sw_116, conf={'PATH': {'type': 'text', 'value': 'headline'}, 'BASE': {'type': 'text', 'value': 'http://finance.yahoo.com/rss'}, 'PARAM': [{'value': {'terminal': 'PARAM_1_value', 'type': 'text'}, 'key': {'type': 'text', 'value': 's'}}]})
    
    sw_108 = pipe_fetch(
        context, forever, _1_URL=sw_85, conf={'URL': {'terminal': '1_URL', 'type': 'url'}})
    
    sw_120 = pipe_filter(
        context, sw_108, RULE_1_value=sw_131, conf={'COMBINE': {'type': 'text', 'value': 'and'}, 'MODE': {'type': 'text', 'value': 'permit'}, 'RULE': [{'field': {'type': 'text', 'value': 'description'}, 'value': {'terminal': 'RULE_1_value', 'type': 'text'}, 'op': {'type': 'text', 'value': 'contains'}}]})
    
    _OUTPUT = pipe_output(
        context, sw_120, conf={})
    
    return _OUTPUT
def pipe_bd0834cfe6cdacb0bea5569505d330b8(context=None, _INPUT=None, conf=None, **kwargs):
    # todo: insert pipeline description here
    conf = conf or {}

    if context and context.describe_input:
        return [(u'', u'gid', u'MP Guardian ID', u'text', u'1276')]

    if context and context.describe_dependencies:
        return [u'pipefetchdata', u'pipeoutput', u'pipetextinput', u'pipeurlbuilder']

    forever = pipe_forever()

    sw_606 = pipe_textinput(
        context, forever, conf={'debug': {'type': 'text', 'value': ''}, 'default': {'type': 'text', 'value': '1276'}, 'prompt': {'type': 'text', 'value': 'MP Guardian ID'}, 'name': {'type': 'text', 'value': 'gid'}, 'position': {'type': 'number', 'value': ''}})
    
    sw_579 = pipe_urlbuilder(
        context, forever, _1_PATH=sw_606, conf={'PATH': [{'terminal': '1_PATH', 'type': 'text'}, {'type': 'text', 'value': 'json'}], 'BASE': {'type': 'text', 'value': ''}, 'PARAM': [{'value': {'type': 'text', 'value': ''}, 'key': {'type': 'text', 'value': ''}}]})
    
    sw_610 = pipe_fetchdata(
        context, forever, URL=sw_579, conf={'URL': {'terminal': 'URL', 'type': 'url'}, 'path': {'type': 'text', 'value': 'person'}})
    
    _OUTPUT = pipe_output(
        context, sw_610, conf={})
    
    return _OUTPUT
 def pipe_sw_634(context=None, _INPUT=None, conf=None, **kwargs):
     # todo: insert submodule description here
     return pipe_urlbuilder(context,
                            forever,
                            conf={
                                'PATH': {
                                    'type': 'text',
                                    'value': ''
                                },
                                'BASE': {
                                    'type': 'text',
                                    'value': ''
                                },
                                'PARAM': [{
                                    'value': {
                                        'type': 'text',
                                        'value': 'qr'
                                    },
                                    'key': {
                                        'type': 'text',
                                        'value': 'cht'
                                    }
                                }, {
                                    'value': {
                                        'type': 'text',
                                        'value': '200x200'
                                    },
                                    'key': {
                                        'type': 'text',
                                        'value': 'chs'
                                    }
                                }, {
                                    'value': {
                                        'type': 'text',
                                        'subkey': 'link'
                                    },
                                    'key': {
                                        'type': 'text',
                                        'value': 'chl'
                                    }
                                }]
                            })
def pipe_58a53262da5a095fe7a0d6d905cc4db6(context=None, _INPUT=None, conf=None, **kwargs):
    # todo: insert pipeline description here
    conf = conf or {}

    if context and context.describe_input:
        return []

    if context and context.describe_dependencies:
        return [u'pipefetch', u'pipeoutput', u'pipereverse', u'pipesort', u'pipetruncate', u'pipeunion', u'pipeurlbuilder']

    forever = pipe_forever()

    sw_550 = pipe_fetch(
        context, forever, conf={'URL': [{'type': 'url', 'value': 'file://data/blog.ouseful.info_feed.xml'}, {'type': 'url', 'value': 'file://data/feeds.feedburner.com_TheEdTechie.xml'}]})
    
    sw_606 = pipe_urlbuilder(
        context, forever, conf={'PATH': {'type': 'text', 'value': ''}, 'BASE': {'type': 'text', 'value': 'file://data/www.greenhughes.com_rssfeed.xml'}, 'PARAM': [{'value': {'type': 'text', 'value': ''}, 'key': {'type': 'text', 'value': ''}}]})
    
    sw_572 = pipe_fetch(
        context, forever, _1_URL=sw_606, conf={'URL': {'terminal': '1_URL', 'type': 'url'}})
    
    sw_580 = pipe_union(
        context, sw_550, _OTHER=sw_572, conf={})
    
    sw_565 = pipe_sort(
        context, sw_580, conf={'KEY': [{'field': {'type': 'text', 'value': 'title'}, 'dir': {'type': 'text', 'value': 'ASC'}}]})
    
    sw_596 = pipe_truncate(
        context, sw_565, conf={'count': {'type': 'number', 'value': '3'}})
    
    sw_625 = pipe_reverse(
        context, sw_596, conf={})
    
    _OUTPUT = pipe_output(
        context, sw_625, conf={})
    
    return _OUTPUT
def pipe_58a53262da5a095fe7a0d6d905cc4db6(context=None,
                                          _INPUT=None,
                                          conf=None,
                                          **kwargs):
    # todo: insert pipeline description here
    conf = conf or {}

    if context and context.describe_input:
        return []

    if context and context.describe_dependencies:
        return [
            u'pipefetch', u'pipeoutput', u'pipereverse', u'pipesort',
            u'pipetruncate', u'pipeunion', u'pipeurlbuilder'
        ]

    forever = pipe_forever()

    sw_550 = pipe_fetch(
        context,
        forever,
        conf={
            'URL': [{
                'type': 'url',
                'value': 'file://data/blog.ouseful.info_feed.xml'
            }, {
                'type': 'url',
                'value': 'file://data/feeds.feedburner.com_TheEdTechie.xml'
            }]
        })

    sw_606 = pipe_urlbuilder(
        context,
        forever,
        conf={
            'PATH': {
                'type': 'text',
                'value': ''
            },
            'BASE': {
                'type': 'text',
                'value': 'file://data/www.greenhughes.com_rssfeed.xml'
            },
            'PARAM': [{
                'value': {
                    'type': 'text',
                    'value': ''
                },
                'key': {
                    'type': 'text',
                    'value': ''
                }
            }]
        })

    sw_572 = pipe_fetch(context,
                        forever,
                        _1_URL=sw_606,
                        conf={'URL': {
                            'terminal': '1_URL',
                            'type': 'url'
                        }})

    sw_580 = pipe_union(context, sw_550, _OTHER=sw_572, conf={})

    sw_565 = pipe_sort(context,
                       sw_580,
                       conf={
                           'KEY': [{
                               'field': {
                                   'type': 'text',
                                   'value': 'title'
                               },
                               'dir': {
                                   'type': 'text',
                                   'value': 'ASC'
                               }
                           }]
                       })

    sw_596 = pipe_truncate(context,
                           sw_565,
                           conf={'count': {
                               'type': 'number',
                               'value': '3'
                           }})

    sw_625 = pipe_reverse(context, sw_596, conf={})

    _OUTPUT = pipe_output(context, sw_625, conf={})

    return _OUTPUT
 def pipe_sw_634(context=None, _INPUT=None, conf=None, **kwargs):
     # todo: insert submodule description here
     return pipe_urlbuilder(
         context, forever, conf={'PATH': {'type': 'text', 'value': ''}, 'BASE': {'type': 'text', 'value': ''}, 'PARAM': [{'value': {'type': 'text', 'value': 'qr'}, 'key': {'type': 'text', 'value': 'cht'}}, {'value': {'type': 'text', 'value': '200x200'}, 'key': {'type': 'text', 'value': 'chs'}}, {'value': {'type': 'text', 'subkey': 'link'}, 'key': {'type': 'text', 'value': 'chl'}}]})
Example #8
0
def pipe_e519dd393f943315f7e4128d19db2eac(context=None,
                                          _INPUT=None,
                                          conf=None,
                                          **kwargs):
    # todo: insert pipeline description here
    conf = conf or {}

    if context and context.describe_input:
        return [(u'', u'q', u'Search term:', u'text', u'enterprise mashup')]

    if context and context.describe_dependencies:
        return [
            u'pipefetch', u'pipeoutput', u'pipetextinput', u'pipeurlbuilder'
        ]

    forever = pipe_forever()

    sw_552 = pipe_textinput(context,
                            forever,
                            conf={
                                'debug': {
                                    'type': 'text',
                                    'value': ''
                                },
                                'default': {
                                    'type': 'text',
                                    'value': 'enterprise mashup'
                                },
                                'prompt': {
                                    'type': 'text',
                                    'value': 'Search term:'
                                },
                                'name': {
                                    'type': 'text',
                                    'value': 'q'
                                },
                                'position': {
                                    'type': 'number',
                                    'value': ''
                                }
                            })

    sw_492 = pipe_urlbuilder(context,
                             forever,
                             PARAM_5_value=sw_552,
                             conf={
                                 'PATH': {
                                     'type': 'text',
                                     'value': ''
                                 },
                                 'BASE': {
                                     'type': 'text',
                                     'value': 'http://news.google.com/news'
                                 },
                                 'PARAM': [{
                                     'value': {
                                         'type': 'text',
                                         'value': '1'
                                     },
                                     'key': {
                                         'type': 'text',
                                         'value': 'pz'
                                     }
                                 }, {
                                     'value': {
                                         'type': 'text',
                                         'value': 'all'
                                     },
                                     'key': {
                                         'type': 'text',
                                         'value': 'cf'
                                     }
                                 }, {
                                     'value': {
                                         'type': 'text',
                                         'value': 'uk'
                                     },
                                     'key': {
                                         'type': 'text',
                                         'value': 'ned'
                                     }
                                 }, {
                                     'value': {
                                         'type': 'text',
                                         'value': 'en'
                                     },
                                     'key': {
                                         'type': 'text',
                                         'value': 'hl'
                                     }
                                 }, {
                                     'value': {
                                         'terminal': 'PARAM_5_value',
                                         'type': 'text'
                                     },
                                     'key': {
                                         'type': 'text',
                                         'value': 'q'
                                     }
                                 }, {
                                     'value': {
                                         'type': 'text',
                                         'value': 'rss'
                                     },
                                     'key': {
                                         'type': 'text',
                                         'value': 'output'
                                     }
                                 }]
                             })

    sw_481 = pipe_fetch(context,
                        forever,
                        _1_URL=sw_492,
                        conf={'URL': {
                            'terminal': '1_URL',
                            'type': 'url'
                        }})

    _OUTPUT = pipe_output(context, sw_481, conf={})

    return _OUTPUT
 def pipe_sw_72(context=None, _INPUT=None, conf=None, **kwargs):
     # todo: insert submodule description here
     return pipe_urlbuilder(
         context, _INPUT, conf={'BASE': {'type': 'text', 'value': 'http://ajax.googleapis.com/ajax/services/language/detect'}, 'PARAM': [{'value': {'type': 'text', 'subkey': 'title'}, 'key': {'type': 'text', 'value': 'q'}}, {'value': {'type': 'text', 'value': '1.0'}, 'key': {'type': 'text', 'value': 'v'}}]})
def pipe_1LNyRuNS3BGdkTKaAsqenA(context=None,
                                _INPUT=None,
                                conf=None,
                                **kwargs):
    # todo: insert pipeline description here
    conf = conf or {}

    if context and context.describe_input:
        return [(u'', u'textinput1', u'Stock Symbol:', u'text', u'yhoo'),
                (u'', u'textinput2', u'Search Term:', u'text', u'')]

    if context and context.describe_dependencies:
        return [
            u'pipefetch', u'pipefilter', u'pipeoutput', u'pipetextinput',
            u'pipeurlbuilder'
        ]

    forever = pipe_forever()

    sw_131 = pipe_textinput(context,
                            forever,
                            conf={
                                'debug': {
                                    'type': 'text',
                                    'value': ''
                                },
                                'default': {
                                    'type': 'text',
                                    'value': ''
                                },
                                'prompt': {
                                    'type': 'text',
                                    'value': 'Search Term:'
                                },
                                'name': {
                                    'type': 'text',
                                    'value': 'textinput2'
                                },
                                'position': {
                                    'type': 'number',
                                    'value': ''
                                }
                            })

    sw_116 = pipe_textinput(context,
                            forever,
                            conf={
                                'debug': {
                                    'type': 'text',
                                    'value': 'yhoo'
                                },
                                'default': {
                                    'type': 'text',
                                    'value': 'yhoo'
                                },
                                'prompt': {
                                    'type': 'text',
                                    'value': 'Stock Symbol:'
                                },
                                'name': {
                                    'type': 'text',
                                    'value': 'textinput1'
                                },
                                'position': {
                                    'type': 'number',
                                    'value': ''
                                }
                            })

    sw_85 = pipe_urlbuilder(context,
                            forever,
                            PARAM_1_value=sw_116,
                            conf={
                                'PATH': {
                                    'type': 'text',
                                    'value': 'headline'
                                },
                                'BASE': {
                                    'type': 'text',
                                    'value': 'http://finance.yahoo.com/rss'
                                },
                                'PARAM': [{
                                    'value': {
                                        'terminal': 'PARAM_1_value',
                                        'type': 'text'
                                    },
                                    'key': {
                                        'type': 'text',
                                        'value': 's'
                                    }
                                }]
                            })

    sw_108 = pipe_fetch(context,
                        forever,
                        _1_URL=sw_85,
                        conf={'URL': {
                            'terminal': '1_URL',
                            'type': 'url'
                        }})

    sw_120 = pipe_filter(context,
                         sw_108,
                         RULE_1_value=sw_131,
                         conf={
                             'COMBINE': {
                                 'type': 'text',
                                 'value': 'and'
                             },
                             'MODE': {
                                 'type': 'text',
                                 'value': 'permit'
                             },
                             'RULE': [{
                                 'field': {
                                     'type': 'text',
                                     'value': 'description'
                                 },
                                 'value': {
                                     'terminal': 'RULE_1_value',
                                     'type': 'text'
                                 },
                                 'op': {
                                     'type': 'text',
                                     'value': 'contains'
                                 }
                             }]
                         })

    _OUTPUT = pipe_output(context, sw_120, conf={})

    return _OUTPUT
 def pipe_sw_72(context=None, _INPUT=None, conf=None, **kwargs):
     # todo: insert submodule description here
     return pipe_urlbuilder(context, _INPUT, conf=conf)
 def pipe_sw_72(context=None, _INPUT=None, conf=None, **kwargs):
     # todo: insert submodule description here
     return pipe_urlbuilder(context, _INPUT, conf=conf)