ServerPortfolio  2.0
Python parsers and server
 All Classes Namespaces Files Functions Variables Properties Pages
Namespaces | Functions | Variables
Run_Parsers.py File Reference

Go to the source code of this file.

Namespaces

 Run_Parsers
 Standalone program, implement all possible functions with or without the Server running.
 

Functions

def Run_Parsers.send_to_server
 Get the last instantaneous data of the list of stocks. More...
 
def Run_Parsers.CallYahooCSV
 Make calls to YahooAPI module. More...
 

Variables

 Run_Parsers.verbose = None
 
tuple Run_Parsers.arg_parser = argparse.ArgumentParser(description="Main executable for parsing data from web page")
 
string Run_Parsers.help = 'method GET / FORCE / UPDATE_CSV / TEST_SERVER'
 
tuple Run_Parsers.option = arg_parser.parse_args()
 
tuple Run_Parsers.logger = logging.getLogger('SP')
 
tuple Run_Parsers.main_logger = logging.getLogger("SP.run_parser")
 
tuple Run_Parsers.server_running = SocketServer_Client.Connect()
 
tuple Run_Parsers.received = send_to_server( option.method, option.action, option.list_stock )