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

Go to the source code of this file.

Classes

class  serverportfolio.AutoParser.thread_parser
 Independent thread parsing the web pages, consuming data from the queue. More...
 
class  serverportfolio.AutoParser.Thread_Handle_Queue
 Thread to handle the queueing system and create the thread_parsers. More...
 

Namespaces

 serverportfolio.AutoParser
 Module for updating the dictionary of stocks using independent threads every TIMEPARSER sec,
and parsing data on demand from the server.
 

Variables

int serverportfolio.AutoParser.TIMEPARSER = 30
 Wait X seconds between parsing again. More...
 
int serverportfolio.AutoParser.NB_THREADS_PARSER = 3
 Number of threads waiting for data in the queue. More...
 
tuple serverportfolio.AutoParser.logger = logging.getLogger('SP')
 
tuple serverportfolio.AutoParser.main_logger = logging.getLogger("SP.main")
 
tuple serverportfolio.AutoParser.dict_stocks = DictionaryStocks( load_all_stocks=True )
 
tuple serverportfolio.AutoParser.tqh = Thread_Handle_Queue()