# -*- coding: utf-8 -*-

__all__ = ['FETCHERS', 'FETCHERS_DATASETS']

FETCHERS = {}
FETCHERS_DATASETS = {}

try:
    from dlstats.fetchers.bis import BIS, DATASETS as DATASETS_BIS
    FETCHERS['BIS'] = BIS
    FETCHERS_DATASETS['BIS'] = DATASETS_BIS.copy()
    __all__.append('BIS')
except ImportError:
    pass

#try:
#    from dlstats.fetchers.oecd import OECD, DATASETS as DATASETS_OECD
#    FETCHERS['OECD'] = OECD
#    FETCHERS_DATASETS['OECD'] = DATASETS_OECD.copy()
#    __all__.append('OECD')
#except ImportError:
#    pass

try:
    from dlstats.fetchers.eurostat import Eurostat
    FETCHERS['EUROSTAT'] = Eurostat
    #TODO: FETCHERS_DATASETS['EUROSTAT'] = None
    __all__.append('Eurostat')
except ImportError:
    pass

#try:
#    from dlstats.fetchers.world_bank import WorldBank
#    FETCHERS['WORLDBANK'] = WorldBank
#    #TODO: FETCHERS_DATASETS['WB'] = None
#    __all__.append('WorldBank')
#except ImportError:
#    pass

try:
    from dlstats.fetchers.imf import IMF
    FETCHERS['IMF'] = IMF
    __all__.append('IMF')
except ImportError:
    pass

#try:
#    from dlstats.fetchers.bea import BEA
#    FETCHERS['BEA'] = BEA
#    #TODO: FETCHERS_DATASETS['BEA'] = None
#    __all__.append('BEA')
#except ImportError:
#    pass

try:
    from dlstats.fetchers.ecb import ECB
    FETCHERS['ECB'] = ECB
    #TODO: FETCHERS_DATASETS['ECB'] = None
    __all__.append('ECB')
except ImportError:
    pass

try:
    from dlstats.fetchers.esri import Esri
    FETCHERS['ESRI'] = Esri
    #TODO: FETCHERS_DATASETS['ESRI'] = None
    __all__.append('Esri')
except ImportError:
    pass

try:
    from dlstats.fetchers.insee import INSEE
    FETCHERS['INSEE'] = INSEE
    __all__.append('INSEE')
except ImportError:
    pass

#try:
#    from dlstats.fetchers.destatis import DESTATIS
#    FETCHERS['DESTATIS'] = DESTATIS
#    __all__.append('DESTATIS')
#except ImportError:
#    pass

try:
    from dlstats.fetchers.fed import FED
    FETCHERS['FED'] = FED
    __all__.append('FED')
except ImportError:
    pass

@@ -43,62 +43,18 @@
 ERS'
-, 'FETCHERS_DATASETS'%5D%0A%0AFETCHERS = %7B%7D%0AFETCHERS_DATASET
+%5D%0A%0AFETCHER
 S = 
@@ -106,34 +106,8 @@
  BIS
-, DATASETS as DATASETS_BIS
 %0A   
@@ -133,59 +133,8 @@
 BIS%0A
-    FETCHERS_DATASETS%5B'BIS'%5D = DATASETS_BIS.copy()%0A
     
@@ -238,35 +238,8 @@
 OECD
-, DATASETS as DATASETS_OECD
 %0A#  
@@ -268,62 +268,8 @@
 ECD%0A
-#    FETCHERS_DATASETS%5B'OECD'%5D = DATASETS_OECD.copy()%0A
 #   
@@ -420,56 +420,8 @@
 tat%0A
-    #TODO: FETCHERS_DATASETS%5B'EUROSTAT'%5D = None%0A
     
@@ -581,51 +581,8 @@
 ank%0A
-#    #TODO: FETCHERS_DATASETS%5B'WB'%5D = None%0A
 #   
@@ -849,52 +849,8 @@
 BEA%0A
-#    #TODO: FETCHERS_DATASETS%5B'BEA'%5D = None%0A
 #   
@@ -980,51 +980,8 @@
 ECB%0A
-    #TODO: FETCHERS_DATASETS%5B'ECB'%5D = None%0A
     
@@ -1112,52 +1112,8 @@
 sri%0A
-    #TODO: FETCHERS_DATASETS%5B'ESRI'%5D = None%0A
     

remove unused FETCHERS_DATASETS