def pipe_zKJifuNS3BGLRQK_GsevXg(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'pipecount', u'pipefetch', u'pipeoutput', u'pipesimplemath', u'pipesplit', u'pipetruncate'] forever = pipe_forever() sw_224 = pipe_fetch( context, forever, conf={'URL': {'type': 'url', 'value': 'file://data/www.sciencedaily.com_rss_computers_math.html'}}) sw_250 = pipe_split( context, sw_224, splits=2, conf=None) sw_243 = pipe_count( context, sw_250, conf=None) sw_94 = pipe_simplemath( context, sw_243, conf={'OTHER': {'type': 'number', 'value': '5'}, 'OP': {'type': 'text', 'value': 'modulo'}}) sw_169 = pipe_simplemath( context, sw_243, OTHER=sw_94, conf={'OTHER': {'terminal': 'OTHER', 'type': 'number'}, 'OP': {'type': 'text', 'value': 'subtract'}}) sw_232 = pipe_truncate( context, sw_250, count=sw_169, conf={'count': {'terminal': 'count', 'type': 'number'}}) _OUTPUT = pipe_output( context, sw_232, conf=None) return _OUTPUT
def pipe_zKJifuNS3BGLRQK_GsevXg(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'pipecount', u'pipefetch', u'pipeoutput', u'pipesimplemath', u'pipesplit', u'pipetruncate' ] forever = pipe_forever() sw_224 = pipe_fetch( context, forever, conf={ 'URL': { 'type': 'url', 'value': 'file://data/www.sciencedaily.com_rss_computers_math.html' } }) sw_250 = pipe_split(context, sw_224, splits=2, conf=None) sw_243 = pipe_count(context, sw_250, conf=None) sw_94 = pipe_simplemath(context, sw_243, conf={ 'OTHER': { 'type': 'number', 'value': '5' }, 'OP': { 'type': 'text', 'value': 'modulo' } }) sw_169 = pipe_simplemath(context, sw_243, OTHER=sw_94, conf={ 'OTHER': { 'terminal': 'OTHER', 'type': 'number' }, 'OP': { 'type': 'text', 'value': 'subtract' } }) sw_232 = pipe_truncate( context, sw_250, count=sw_169, conf={'count': { 'terminal': 'count', 'type': 'number' }}) _OUTPUT = pipe_output(context, sw_232, conf=None) return _OUTPUT
def pipe_QMrlL_FS3BGlpwryODY80A(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"pipefilter", u"pipeoutput", u"piperegex", u"pipesplit", u"pipeunion"] forever = pipe_forever() sw_140 = pipe_fetch( context, forever, conf={"URL": {"type": "url", "value": "file://data/news.yahoo.com_rss_health.xml"}} ) sw_108 = pipe_split(context, sw_140, splits=2, conf=None) sw_159 = pipe_filter( context, sw_108, conf={ "COMBINE": {"type": "text", "value": "and"}, "MODE": {"type": "text", "value": "permit"}, "RULE": { "field": {"type": "text", "value": "description"}, "value": {"type": "text", "value": "drug"}, "op": {"type": "text", "value": "contains"}, }, }, ) sw_204 = pipe_regex( context, sw_159, conf={ "RULE": { "field": {"type": "text", "value": "title"}, "match": {"type": "text", "value": "(.+)"}, "replace": {"type": "text", "value": "[Drugs] $1"}, } }, ) sw_148 = pipe_filter( context, sw_108, conf={ "COMBINE": {"type": "text", "value": "and"}, "MODE": {"type": "text", "value": "permit"}, "RULE": { "field": {"type": "text", "value": "description"}, "value": {"type": "text", "value": "weight"}, "op": {"type": "text", "value": "contains"}, }, }, ) sw_189 = pipe_regex( context, sw_148, conf={ "RULE": { "field": {"type": "text", "value": "title"}, "match": {"type": "text", "value": "(.+)"}, "replace": {"type": "text", "value": "[Weight] $1"}, } }, ) sw_170 = pipe_union(context, forever, _OTHER3=sw_204, conf=None, _OTHER=sw_189) _OUTPUT = pipe_output(context, sw_170, conf=None) return _OUTPUT
def pipe_QMrlL_FS3BGlpwryODY80A(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'pipefilter', u'pipeoutput', u'piperegex', u'pipesplit', u'pipeunion' ] forever = pipe_forever() sw_140 = pipe_fetch(context, forever, conf={ 'URL': { 'type': 'url', 'value': 'file://data/news.yahoo.com_rss_health.xml' } }) sw_108 = pipe_split(context, sw_140, splits=2, conf=None) sw_159 = pipe_filter(context, sw_108, conf={ 'COMBINE': { 'type': 'text', 'value': 'and' }, 'MODE': { 'type': 'text', 'value': 'permit' }, 'RULE': { 'field': { 'type': 'text', 'value': 'description' }, 'value': { 'type': 'text', 'value': 'drug' }, 'op': { 'type': 'text', 'value': 'contains' } } }) sw_204 = pipe_regex(context, sw_159, conf={ 'RULE': { 'field': { 'type': 'text', 'value': 'title' }, 'match': { 'type': 'text', 'value': '(.+)' }, 'replace': { 'type': 'text', 'value': '[Drugs] $1' } } }) sw_148 = pipe_filter(context, sw_108, conf={ 'COMBINE': { 'type': 'text', 'value': 'and' }, 'MODE': { 'type': 'text', 'value': 'permit' }, 'RULE': { 'field': { 'type': 'text', 'value': 'description' }, 'value': { 'type': 'text', 'value': 'weight' }, 'op': { 'type': 'text', 'value': 'contains' } } }) sw_189 = pipe_regex(context, sw_148, conf={ 'RULE': { 'field': { 'type': 'text', 'value': 'title' }, 'match': { 'type': 'text', 'value': '(.+)' }, 'replace': { 'type': 'text', 'value': '[Weight] $1' } } }) sw_170 = pipe_union(context, forever, _OTHER3=sw_204, conf=None, _OTHER=sw_189) _OUTPUT = pipe_output(context, sw_170, conf=None) return _OUTPUT