# Path: findatapy/util/loggermanager.py
# class LoggerManager(object):
#     """Acts as a wrapper for logging.
# 
#     """
#     __metaclass__ = Singleton
# 
#     _loggers = {}
# 
#     def __init__(self, *args, **kwargs):
#         pass
# 
#     @staticmethod
#     def getLogger(name=None):
#         if not name:
#             try:
#                 logging.config.fileConfig(DataConstants().logging_conf)
#             except: pass
# 
#             log = logging.getLogger();
#         elif name not in LoggerManager._loggers.keys():
#             try:
#                 logging.config.fileConfig(DataConstants().logging_conf)
#             except: pass
# 
#             LoggerManager._loggers[name] = logging.getLogger(str(name))
# 
#         log = LoggerManager._loggers[name]
# 
#         # when recalling appears to make other loggers disabled
#         # hence apply this hack!
#         for name in LoggerManager._loggers.keys():
#             LoggerManager._loggers[name].disabled = False
# 
#         return log


import pandas
import numpy
import pandas as pd
from findatapy.util.loggermanager import LoggerManager
                                            data_frame_out.loc[i] = [category,
                                                                     data_source,
                                                                     freq,
                                                                     ticker_ext,
                                                                     cut,
                                                                     fields,
                                                                     vendor_tickers]

                                            i = i + 1

        data_frame_out = data_frame_out[0:i]

        if out_csv_file is not None:
            data_frame_out.to_csv(out_csv_file)

        return data_frame_out

        # for line in reader:
        #     category = line["category"]
        #     data_source = line["data_source"]
        #     freq = line["freq"]
        #     ticker = line["ticker"]
        #     cut = line["cut"]
        #     vendor_tickers = line["vendor_tickers"]

    def aggregate_ticker_excel(self, excel_file, out_csv, sheets=[],
                               skiprows=None, cols=None):

        df_list = []


# Path: findatapy/util/loggermanager.py
# class LoggerManager(object):
#     """Acts as a wrapper for logging.
# 
#     """
#     __metaclass__ = Singleton
# 
#     _loggers = {}
# 
#     def __init__(self, *args, **kwargs):
#         pass
# 
#     @staticmethod
#     def getLogger(name=None):
#         if not name:
#             try:
#                 logging.config.fileConfig(DataConstants().logging_conf)
#             except: pass
# 
#             log = logging.getLogger();
#         elif name not in LoggerManager._loggers.keys():
#             try:
#                 logging.config.fileConfig(DataConstants().logging_conf)
#             except: pass
# 
#             LoggerManager._loggers[name] = logging.getLogger(str(name))
# 
#         log = LoggerManager._loggers[name]
# 
#         # when recalling appears to make other loggers disabled
#         # hence apply this hack!
#         for name in LoggerManager._loggers.keys():
#             LoggerManager._loggers[name].disabled = False
# 
#         return log


# Path: findatapy/util/tickerfactory.py
import pandas
import numpy
import pandas as pd
from findatapy.util.loggermanager import LoggerManager

                                            data_frame_out.loc[i] = [category,
                                                                     data_source,
                                                                     freq,
                                                                     ticker_ext,
                                                                     cut,
                                                                     fields,
                                                                     vendor_tickers]

                                            i = i + 1

        data_frame_out = data_frame_out[0:i]

        if out_csv_file is not None:
            data_frame_out.to_csv(out_csv_file)

        return data_frame_out

        # for line in reader:
        #     category = line["category"]
        #     data_source = line["data_source"]
        #     freq = line["freq"]
        #     ticker = line["ticker"]
        #     cut = line["cut"]
        #     vendor_tickers = line["vendor_tickers"]

    def aggregate_ticker_excel(self, excel_file, out_csv, sheets=[],
                               skiprows=None, cols=None):

        df_list = []


        logger = LoggerManager.getLogger(__name__)