def pipe_b96287458de001ad62a637095df33ad5(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'pipeitembuilder', u'pipeoutput', u'pipestrconcat', u'pipeunion'] forever = pipe_forever() sw_632 = pipe_itembuilder( context, forever, conf={'attrs': [{'value': {'type': 'text', 'value': 'VAL1'}, 'key': {'type': 'text', 'value': 'ATTR1'}}, {'value': {'type': 'text', 'value': 'VAL2'}, 'key': {'type': 'text', 'value': 'attrpath.attr2'}}]}) sw_605 = pipe_strconcat( context, forever, conf={'part': {'type': 'text', 'value': 'extVal'}}) sw_551 = pipe_itembuilder( context, forever, attrs_3_value=sw_605, conf={'attrs': [{'value': {'type': 'text', 'value': 'val1'}, 'key': {'type': 'text', 'value': 'attr1'}}, {'value': {'type': 'text', 'value': 'val2'}, 'key': {'type': 'text', 'value': 'attrpath.attr2'}}, {'value': {'terminal': 'attrs_3_value', 'type': 'text'}, 'key': {'type': 'text', 'value': 'attrpath.attr3'}}, {'value': {'type': 'text', 'value': 'val3'}, 'key': {'type': 'text', 'value': 'longpath.attrpath.attr3'}}]}) sw_613 = pipe_union( context, sw_551, _OTHER1=sw_632, conf={}) _OUTPUT = pipe_output( context, sw_613, conf={}) return _OUTPUT
def pipe_1166de33b0ea6936d96808717355beaa(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'pipeitembuilder', u'pipeloop', u'pipeoutput', u'piperssitembuilder', u'pipeunion'] forever = pipe_forever() # We need to wrap submodules (used by loops) so we can pass the # input at runtime (as we can to subpipelines) def pipe_sw_710(context=None, _INPUT=None, conf=None, **kwargs): # todo: insert submodule description here return pipe_itembuilder( context, _INPUT, conf={'attrs': [{'value': {'type': 'text', 'subkey': 'newtitle'}, 'key': {'type': 'text', 'value': 'title'}}, {'value': {'type': 'text', 'value': 'DESCRIPTION'}, 'key': {'type': 'text', 'value': 'description.content'}}]}) # We need to wrap submodules (used by loops) so we can pass the # input at runtime (as we can to subpipelines) def pipe_sw_696(context=None, _INPUT=None, conf=None, **kwargs): # todo: insert submodule description here return pipe_itembuilder( context, _INPUT, conf={'attrs': [{'value': {'type': 'text', 'value': 'NEWTITLE'}, 'key': {'type': 'text', 'value': 'newtitle'}}, {'value': {'type': 'text', 'subkey': 'title'}, 'key': {'type': 'text', 'value': 'title'}}]}) sw_674 = pipe_rssitembuilder( context, forever, conf={'mediaContentHeight': {'type': 'text', 'value': ''}, 'mediaThumbURL': {'type': 'text', 'value': 'http://example.com/a.jpg'}, 'mediaContentType': {'type': 'text', 'value': ''}, 'description': {'type': 'text', 'value': 'b'}, 'pubdate': {'type': 'text', 'value': ''}, 'author': {'type': 'text', 'value': ''}, 'title': {'type': 'text', 'value': 'a'}, 'mediaThumbHeight': {'type': 'text', 'value': ''}, 'link': {'type': 'text', 'value': 'http://example.com/test.php?this=that'}, 'mediaContentWidth': {'type': 'text', 'value': ''}, 'mediaContentURL': {'type': 'text', 'value': ''}, 'guid': {'type': 'text', 'value': ''}, 'mediaThumbWidth': {'type': 'text', 'value': ''}}) sw_554 = pipe_itembuilder( context, forever, conf={'attrs': [{'value': {'type': 'text', 'value': 'TITLE1'}, 'key': {'type': 'text', 'value': 'title'}}]}) sw_569 = pipe_itembuilder( context, forever, conf={'attrs': [{'value': {'type': 'text', 'value': 'TITLE2'}, 'key': {'type': 'text', 'value': 'title'}}, {'value': {'type': 'text', 'value': 'DESC'}, 'key': {'type': 'text', 'value': 'description'}}, {'value': {'type': 'text', 'value': 'GONE'}, 'key': {'type': 'text', 'value': 'lostattribute'}}]}) sw_637 = pipe_union( context, sw_554, _OTHER2=sw_569, conf={}) sw_656 = pipe_loop( context, sw_637, embed=pipe_sw_696, conf={'assign_part': {'type': 'text', 'value': 'all'}, 'assign_to': {'type': 'text', 'value': 'loop:itembuilder'}, 'emit_part': {'type': 'text', 'value': 'all'}, 'mode': {'type': 'text', 'value': 'EMIT'}, 'embed': {'type': 'module', 'value': {'type': 'itembuilder', 'id': 'sw-696', 'conf': {'attrs': [{'value': {'type': 'text', 'value': 'NEWTITLE'}, 'key': {'type': 'text', 'value': 'newtitle'}}, {'value': {'type': 'text', 'subkey': 'title'}, 'key': {'type': 'text', 'value': 'title'}}]}}}, 'with': {'type': 'text', 'value': ''}}) sw_688 = pipe_loop( context, sw_656, embed=pipe_sw_710, conf={'assign_part': {'type': 'text', 'value': 'all'}, 'assign_to': {'type': 'text', 'value': 'loop:itembuilder'}, 'emit_part': {'type': 'text', 'value': 'all'}, 'mode': {'type': 'text', 'value': 'assign'}, 'embed': {'type': 'module', 'value': {'type': 'itembuilder', 'id': 'sw-710', 'conf': {'attrs': [{'value': {'type': 'text', 'subkey': 'newtitle'}, 'key': {'type': 'text', 'value': 'title'}}, {'value': {'type': 'text', 'value': 'DESCRIPTION'}, 'key': {'type': 'text', 'value': 'description.content'}}]}}}, 'with': {'type': 'text', 'value': ''}}) sw_730 = pipe_union( context, sw_674, _OTHER2=sw_688, conf={}) _OUTPUT = pipe_output( context, sw_730, conf={}) return _OUTPUT
def pipe_188eca77fd28c96c559f71f5729d91ec(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'pipefetchpage', u'pipeitembuilder', u'pipeloop', u'pipeoutput', u'pipetruncate'] forever = pipe_forever() # We need to wrap submodules (used by loops) so we can pass the # input at runtime (as we can to subpipelines) def pipe_sw_119(context=None, _INPUT=None, conf=None, **kwargs): # todo: insert submodule description here return pipe_fetchpage( context, _INPUT, conf={'URL': {'type': 'url', 'subkey': 'url'}, 'to': {'type': 'text', 'value': '</tr>'}, 'token': {'type': 'text', 'value': '<td style="TEXT-ALIGN: center">'}, 'from': {'type': 'text', 'value': 'One Way</span>'}}) sw_163 = pipe_itembuilder( context, forever, conf={'attrs': {'value': {'type': 'text', 'value': 'file://data/www.caltrain.com_Fares_farechart.html'}, 'key': {'type': 'text', 'value': 'url'}}}) sw_111 = pipe_loop( context, sw_163, embed=pipe_sw_119, conf={'assign_part': {'type': 'text', 'value': 'all'}, 'assign_to': {'type': 'text', 'value': 'loop:fetchpage'}, 'emit_part': {'type': 'text', 'value': 'all'}, 'mode': {'type': 'text', 'value': 'EMIT'}, 'embed': {'type': 'module', 'value': {'type': 'fetchpage', 'id': 'sw-119', 'conf': {'URL': {'type': 'url', 'subkey': 'url'}, 'to': {'type': 'text', 'value': '</tr>'}, 'token': {'type': 'text', 'value': '<td style="TEXT-ALIGN: center">'}, 'from': {'type': 'text', 'value': 'One Way</span>'}}}}, 'with': {'type': 'text', 'value': ''}}) sw_287 = pipe_truncate( context, sw_111, conf={'count': {'type': 'number', 'value': '100'}}) _OUTPUT = pipe_output( context, sw_287, conf=None) return _OUTPUT
def pipe_sw_696(context=None, _INPUT=None, conf=None, **kwargs): # todo: insert submodule description here return pipe_itembuilder(context, _INPUT, conf={ 'attrs': [{ 'value': { 'type': 'text', 'value': 'NEWTITLE' }, 'key': { 'type': 'text', 'value': 'newtitle' } }, { 'value': { 'type': 'text', 'subkey': 'title' }, 'key': { 'type': 'text', 'value': 'title' } }] })
def pipe_sw_710(context=None, _INPUT=None, conf=None, **kwargs): # todo: insert submodule description here return pipe_itembuilder(context, _INPUT, conf={ 'attrs': [{ 'value': { 'type': 'text', 'subkey': 'newtitle' }, 'key': { 'type': 'text', 'value': 'title' } }, { 'value': { 'type': 'text', 'value': 'DESCRIPTION' }, 'key': { 'type': 'text', 'value': 'description.content' } }] })
def pipe_125e9fe8bb5f84526d21bebfec3ad116(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'Enter Text', u'text', u'Guten Tag')] if context and context.describe_dependencies: return [u'pipefetchdata', u'pipeitembuilder', u'pipeloop', u'pipeoutput', u'piperename', u'pipetextinput', u'pipeurlbuilder'] forever = pipe_forever() # We need to wrap submodules (used by loops) so we can pass the # input at runtime (as we can to subpipelines) 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'}}]}) # We need to wrap submodules (used by loops) so we can pass the # input at runtime (as we can to subpipelines) def pipe_sw_150(context=None, _INPUT=None, conf=None, **kwargs): # todo: insert submodule description here return pipe_fetchdata( context, _INPUT, conf={'URL': {'type': 'url', 'subkey': 'language-url'}, 'path': {'type': 'text', 'value': 'responseData.language'}}) sw_479 = pipe_textinput( context, forever, conf={'debug': {'type': 'text', 'value': ''}, 'default': {'type': 'text', 'value': 'Guten Tag'}, 'prompt': {'type': 'text', 'value': 'Enter Text'}, 'name': {'type': 'text', 'value': 'textinput1'}, 'position': {'type': 'number', 'value': ''}}) sw_467 = pipe_itembuilder( context, forever, conf={'attrs': [{'value': {'terminal': 'attrs_1_value', 'type': 'text'}, 'key': {'type': 'text', 'value': 'title'}}]}, attrs_1_value=sw_479) sw_61 = pipe_loop( context, sw_467, embed=pipe_sw_72, conf={'assign_part': {'type': 'text', 'value': 'all'}, 'assign_to': {'type': 'text', 'value': 'language-url'}, 'emit_part': {'type': 'text', 'value': 'all'}, 'mode': {'type': 'text', 'value': 'assign'}, 'embed': {'type': 'module', 'value': {'type': 'urlbuilder', 'id': 'sw-72', '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'}}]}}}, 'with': {'type': 'text', 'value': ''}}) sw_142 = pipe_loop( context, sw_61, embed=pipe_sw_150, conf={'assign_part': {'type': 'text', 'value': 'all'}, 'assign_to': {'type': 'text', 'value': 'language'}, 'emit_part': {'type': 'text', 'value': 'all'}, 'mode': {'type': 'text', 'value': 'assign'}, 'embed': {'type': 'module', 'value': {'type': 'fetchdata', 'id': 'sw-150', 'conf': {'URL': {'type': 'url', 'subkey': 'language-url'}, 'path': {'type': 'text', 'value': 'responseData.language'}}}}, 'with': {'type': 'text', 'value': ''}}) sw_351 = pipe_rename( context, sw_142, conf={'RULE': [{'field': {'type': 'text', 'value': 'language.0.content'}, 'op': {'type': 'text', 'value': 'copy'}, 'newval': {'type': 'text', 'value': 'description'}}]}) _OUTPUT = pipe_output( context, sw_351, conf={}) return _OUTPUT
def pipe_975789b47f17690a21e89b10a702bcbd(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'Status update', u'text', u"Here's #: some #hashtags to play #with")] if context and context.describe_dependencies: return [u'pipefilter', u'pipeitembuilder', u'pipeloop', u'pipeoutput', u'piperegex', u'piperename', u'pipestringtokenizer', u'pipetextinput'] forever = pipe_forever() # We need to wrap submodules (used by loops) so we can pass the # input at runtime (as we can to subpipelines) def pipe_sw_478(context=None, _INPUT=None, conf=None, **kwargs): # todo: insert submodule description here return pipe_stringtokenizer( context, _INPUT, conf={'to-str': {'type': 'text', 'value': ' '}}) sw_417 = pipe_textinput( context, forever, conf={'debug': {'type': 'text', 'value': ''}, 'default': {'type': 'text', 'value': "Here's #: some #hashtags to play #with"}, 'prompt': {'type': 'text', 'value': 'Status update'}, 'name': {'type': 'text', 'value': 'q'}, 'position': {'type': 'number', 'value': ''}}) sw_424 = pipe_itembuilder( context, forever, conf={'attrs': [{'value': {'terminal': 'attrs_1_value', 'type': 'text'}, 'key': {'type': 'text', 'value': 'title'}}]}, attrs_1_value=sw_417) sw_436 = pipe_filter( context, sw_424, conf={'COMBINE': {'type': 'text', 'value': 'and'}, 'MODE': {'type': 'text', 'value': 'permit'}, 'RULE': [{'field': {'type': 'text', 'value': 'title'}, 'value': {'type': 'text', 'value': '#'}, 'op': {'type': 'text', 'value': 'contains'}}]}) sw_447 = pipe_regex( context, sw_436, conf={'RULE': [{'field': {'type': 'text', 'value': 'title'}, 'globalmatch': {'type': 'text', 'value': '1'}, 'match': {'type': 'text', 'value': ' [^#]*'}, 'replace': {'type': 'text', 'value': ' '}}, {'field': {'type': 'text', 'value': 'title'}, 'match': {'type': 'text', 'value': '^[^#]*'}, 'replace': {'type': 'text', 'value': ''}}]}) sw_470 = pipe_loop( context, sw_447, embed=pipe_sw_478, conf={'assign_part': {'type': 'text', 'value': 'all'}, 'assign_to': {'type': 'text', 'value': 'loop:stringtokenizer'}, 'emit_part': {'type': 'text', 'value': 'all'}, 'mode': {'type': 'text', 'value': 'EMIT'}, 'embed': {'type': 'module', 'value': {'type': 'stringtokenizer', 'id': 'sw-478', 'conf': {'to-str': {'type': 'text', 'value': ' '}}}}, 'with': {'type': 'text', 'value': 'title'}}) sw_490 = pipe_filter( context, sw_470, conf={'COMBINE': {'type': 'text', 'value': 'and'}, 'MODE': {'type': 'text', 'value': 'permit'}, 'RULE': [{'field': {'type': 'text', 'value': 'content'}, 'value': {'type': 'text', 'value': '#[\\w]'}, 'op': {'type': 'text', 'value': 'matches'}}]}) sw_501 = pipe_rename( context, sw_490, conf={'RULE': [{'field': {'type': 'text', 'value': 'content'}, 'op': {'type': 'text', 'value': 'rename'}, 'newval': {'type': 'text', 'value': 'title'}}]}) _OUTPUT = pipe_output( context, sw_501, conf={}) return _OUTPUT
def pipe_1166de33b0ea6936d96808717355beaa(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'pipeitembuilder', u'pipeloop', u'pipeoutput', u'piperssitembuilder', u'pipeunion' ] forever = pipe_forever() # We need to wrap submodules (used by loops) so we can pass the # input at runtime (as we can to subpipelines) def pipe_sw_710(context=None, _INPUT=None, conf=None, **kwargs): # todo: insert submodule description here return pipe_itembuilder(context, _INPUT, conf={ 'attrs': [{ 'value': { 'type': 'text', 'subkey': 'newtitle' }, 'key': { 'type': 'text', 'value': 'title' } }, { 'value': { 'type': 'text', 'value': 'DESCRIPTION' }, 'key': { 'type': 'text', 'value': 'description.content' } }] }) # We need to wrap submodules (used by loops) so we can pass the # input at runtime (as we can to subpipelines) def pipe_sw_696(context=None, _INPUT=None, conf=None, **kwargs): # todo: insert submodule description here return pipe_itembuilder(context, _INPUT, conf={ 'attrs': [{ 'value': { 'type': 'text', 'value': 'NEWTITLE' }, 'key': { 'type': 'text', 'value': 'newtitle' } }, { 'value': { 'type': 'text', 'subkey': 'title' }, 'key': { 'type': 'text', 'value': 'title' } }] }) sw_674 = pipe_rssitembuilder( context, forever, conf={ 'mediaContentHeight': { 'type': 'text', 'value': '' }, 'mediaThumbURL': { 'type': 'text', 'value': 'http://example.com/a.jpg' }, 'mediaContentType': { 'type': 'text', 'value': '' }, 'description': { 'type': 'text', 'value': 'b' }, 'pubdate': { 'type': 'text', 'value': '' }, 'author': { 'type': 'text', 'value': '' }, 'title': { 'type': 'text', 'value': 'a' }, 'mediaThumbHeight': { 'type': 'text', 'value': '' }, 'link': { 'type': 'text', 'value': 'http://example.com/test.php?this=that' }, 'mediaContentWidth': { 'type': 'text', 'value': '' }, 'mediaContentURL': { 'type': 'text', 'value': '' }, 'guid': { 'type': 'text', 'value': '' }, 'mediaThumbWidth': { 'type': 'text', 'value': '' } }) sw_554 = pipe_itembuilder(context, forever, conf={ 'attrs': [{ 'value': { 'type': 'text', 'value': 'TITLE1' }, 'key': { 'type': 'text', 'value': 'title' } }] }) sw_569 = pipe_itembuilder(context, forever, conf={ 'attrs': [{ 'value': { 'type': 'text', 'value': 'TITLE2' }, 'key': { 'type': 'text', 'value': 'title' } }, { 'value': { 'type': 'text', 'value': 'DESC' }, 'key': { 'type': 'text', 'value': 'description' } }, { 'value': { 'type': 'text', 'value': 'GONE' }, 'key': { 'type': 'text', 'value': 'lostattribute' } }] }) sw_637 = pipe_union(context, sw_554, _OTHER2=sw_569, conf={}) sw_656 = pipe_loop(context, sw_637, embed=pipe_sw_696, conf={ 'assign_part': { 'type': 'text', 'value': 'all' }, 'assign_to': { 'type': 'text', 'value': 'loop:itembuilder' }, 'emit_part': { 'type': 'text', 'value': 'all' }, 'mode': { 'type': 'text', 'value': 'EMIT' }, 'embed': { 'type': 'module', 'value': { 'type': 'itembuilder', 'id': 'sw-696', 'conf': { 'attrs': [{ 'value': { 'type': 'text', 'value': 'NEWTITLE' }, 'key': { 'type': 'text', 'value': 'newtitle' } }, { 'value': { 'type': 'text', 'subkey': 'title' }, 'key': { 'type': 'text', 'value': 'title' } }] } } }, 'with': { 'type': 'text', 'value': '' } }) sw_688 = pipe_loop(context, sw_656, embed=pipe_sw_710, conf={ 'assign_part': { 'type': 'text', 'value': 'all' }, 'assign_to': { 'type': 'text', 'value': 'loop:itembuilder' }, 'emit_part': { 'type': 'text', 'value': 'all' }, 'mode': { 'type': 'text', 'value': 'assign' }, 'embed': { 'type': 'module', 'value': { 'type': 'itembuilder', 'id': 'sw-710', 'conf': { 'attrs': [{ 'value': { 'type': 'text', 'subkey': 'newtitle' }, 'key': { 'type': 'text', 'value': 'title' } }, { 'value': { 'type': 'text', 'value': 'DESCRIPTION' }, 'key': { 'type': 'text', 'value': 'description.content' } }] } } }, 'with': { 'type': 'text', 'value': '' } }) sw_730 = pipe_union(context, sw_674, _OTHER2=sw_688, conf={}) _OUTPUT = pipe_output(context, sw_730, conf={}) return _OUTPUT
def pipe_188eca77fd28c96c559f71f5729d91ec(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'pipefetchpage', u'pipeitembuilder', u'pipeloop', u'pipeoutput', u'pipetruncate' ] forever = pipe_forever() # We need to wrap submodules (used by loops) so we can pass the # input at runtime (as we can to subpipelines) def pipe_sw_119(context=None, _INPUT=None, conf=None, **kwargs): # todo: insert submodule description here return pipe_fetchpage(context, _INPUT, conf={ 'URL': { 'type': 'url', 'subkey': 'url' }, 'to': { 'type': 'text', 'value': '</tr>' }, 'token': { 'type': 'text', 'value': '<td style="TEXT-ALIGN: center">' }, 'from': { 'type': 'text', 'value': 'One Way</span>' } }) sw_163 = pipe_itembuilder( context, forever, conf={ 'attrs': { 'value': { 'type': 'text', 'value': 'file://data/www.caltrain.com_Fares_farechart.html' }, 'key': { 'type': 'text', 'value': 'url' } } }) sw_111 = pipe_loop(context, sw_163, embed=pipe_sw_119, conf={ 'assign_part': { 'type': 'text', 'value': 'all' }, 'assign_to': { 'type': 'text', 'value': 'loop:fetchpage' }, 'emit_part': { 'type': 'text', 'value': 'all' }, 'mode': { 'type': 'text', 'value': 'EMIT' }, 'embed': { 'type': 'module', 'value': { 'type': 'fetchpage', 'id': 'sw-119', 'conf': { 'URL': { 'type': 'url', 'subkey': 'url' }, 'to': { 'type': 'text', 'value': '</tr>' }, 'token': { 'type': 'text', 'value': '<td style="TEXT-ALIGN: center">' }, 'from': { 'type': 'text', 'value': 'One Way</span>' } } } }, 'with': { 'type': 'text', 'value': '' } }) sw_287 = pipe_truncate(context, sw_111, conf={'count': { 'type': 'number', 'value': '100' }}) _OUTPUT = pipe_output(context, sw_287, conf=None) return _OUTPUT
def pipe_125e9fe8bb5f84526d21bebfec3ad116(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'Enter Text', u'text', u'defunkt')] if context and context.describe_dependencies: return [ u'pipefetchdata', u'pipeitembuilder', u'pipeloop', u'pipeoutput', u'piperename', u'pipetextinput', u'pipeurlbuilder' ] forever = pipe_forever() # We need to wrap submodules (used by loops) so we can pass the # input at runtime (as we can to subpipelines) def pipe_sw_72(context=None, _INPUT=None, conf=None, **kwargs): # todo: insert submodule description here return pipe_urlbuilder(context, _INPUT, conf=conf) # We need to wrap submodules (used by loops) so we can pass the # input at runtime (as we can to subpipelines) def pipe_sw_150(context=None, _INPUT=None, conf=None, **kwargs): # todo: insert submodule description here return pipe_fetchdata(context, _INPUT, conf=conf) sw_479 = pipe_textinput(context, forever, conf={ 'debug': { 'type': 'text', 'value': 'defunkt' }, 'default': { 'type': 'text', 'value': 'defunkt' }, 'prompt': { 'type': 'text', 'value': 'Enter Text' }, 'name': { 'type': 'text', 'value': 'textinput1' }, 'position': { 'type': 'number', 'value': '' } }) sw_467 = pipe_itembuilder(context, forever, conf={ 'attrs': [{ 'value': { 'terminal': 'attrs_1_value', 'type': 'text' }, 'key': { 'type': 'text', 'value': 'title' } }] }, attrs_1_value=sw_479) sw_61 = pipe_loop(context, sw_467, embed=pipe_sw_72, conf={ 'assign_part': { 'type': 'text', 'value': 'all' }, 'assign_to': { 'type': 'text', 'value': 'api' }, 'emit_part': { 'type': 'text', 'value': 'all' }, 'mode': { 'type': 'text', 'value': 'assign' }, 'embed': { 'type': 'module', 'value': { 'type': 'urlbuilder', 'id': 'sw-72', 'conf': { 'BASE': { 'type': 'text', 'value': 'https://api.github.com/search/users' }, 'PARAM': [{ 'value': { 'type': 'text', 'subkey': 'title' }, 'key': { 'type': 'text', 'value': 'q' } }] } } }, 'with': { 'type': 'text', 'value': '' } }) sw_142 = pipe_loop(context, sw_61, embed=pipe_sw_150, conf={ 'assign_part': { 'type': 'text', 'value': 'first' }, 'assign_to': { 'type': 'text', 'value': 'info' }, 'mode': { 'type': 'text', 'value': 'assign' }, 'embed': { 'type': 'module', 'value': { 'type': 'fetchdata', 'id': 'sw-150', 'conf': { 'URL': { 'type': 'url', 'subkey': 'api' }, 'path': { 'type': 'text', 'value': 'items' } } } }, 'with': { 'type': 'text', 'value': '' } }) sw_351 = pipe_rename(context, sw_142, conf={ 'RULE': [{ 'field': { 'type': 'text', 'value': 'language.0.content' }, 'op': { 'type': 'text', 'value': 'copy' }, 'newval': { 'type': 'text', 'value': 'description' } }] }) _OUTPUT = pipe_output(context, sw_351, conf={}) return sw_142
def pipe_sw_696(context=None, _INPUT=None, conf=None, **kwargs): # todo: insert submodule description here return pipe_itembuilder( context, _INPUT, conf={'attrs': [{'value': {'type': 'text', 'value': 'NEWTITLE'}, 'key': {'type': 'text', 'value': 'newtitle'}}, {'value': {'type': 'text', 'subkey': 'title'}, 'key': {'type': 'text', 'value': 'title'}}]})
def pipe_sw_710(context=None, _INPUT=None, conf=None, **kwargs): # todo: insert submodule description here return pipe_itembuilder( context, _INPUT, conf={'attrs': [{'value': {'type': 'text', 'subkey': 'newtitle'}, 'key': {'type': 'text', 'value': 'title'}}, {'value': {'type': 'text', 'value': 'DESCRIPTION'}, 'key': {'type': 'text', 'value': 'description.content'}}]})