<s> '''<STR_LIT>''' <EOL> class PEClassifier ( object ) : <EOL> '''<STR_LIT>''' <EOL> dependencies = [ '<STR_LIT>' , '<STR_LIT>' ] <EOL> def __init__ ( self ) : <EOL> '''<STR_LIT>''' <EOL> self . output = { '<STR_LIT>' : '<STR_LIT>' } <EOL> def execute ( self , input_data ) : <EOL> '''<STR_LIT>''' <EOL> pefile_output = input_data [ '<STR_LIT>' ] <EOL> indicators = input_data [ '<STR_LIT>' ] <EOL> all_input = str ( pefile_output ) + str ( indicators ) <EOL> flag = '<STR_LIT>' <EOL> if flag in all_input : <EOL> self . output [ '<STR_LIT>' ] = '<STR_LIT>' <EOL> return self . output <EOL> def test ( ) : <EOL> '''<STR_LIT>''' <EOL> import pprint <EOL> import zerorpc <EOL> workbench = zerorpc . Client ( timeout = <NUM_LIT> , heartbeat = <NUM_LIT> ) <EOL> workbench . connect ( "<STR_LIT>" ) <EOL> import os <EOL> data_path = os . path . join ( os . path . dirname ( os . path . realpath ( __file__ ) ) , <EOL> '<STR_LIT>' ) <EOL> md5 = workbench . store_sample ( open ( data_path , '<STR_LIT:rb>' ) . read ( ) , '<STR_LIT>' , '<STR_LIT>' ) <EOL> input_data = workbench . work_request ( '<STR_LIT>' , md5 ) <EOL> input_data . update ( workbench . work_request ( '<STR_LIT>' , md5 ) ) <EOL> worker = PEClassifier ( ) <EOL> output = worker . execute ( input_data ) <EOL> print '<STR_LIT>' <EOL> pprint . pprint ( output ) <EOL> output = workbench . work_request ( '<STR_LIT>' , md5 ) <EOL> print '<STR_LIT>' <EOL> pprint . pprint ( output ) <EOL> if __name__ == "<STR_LIT:__main__>" : <EOL> test ( ) </s>
