@@ -0,0 +1,645 @@
+#%0A# A central location for extractor testing routines used in multiple notebooks%0A#%0Aimport mc_config%0Aimport psycopg2%0A%0Aimport psycopg2.extras%0A%0Adef get_db_info( db_label=None):%0A    config_file = mc_config.read_config()%0A%0A    databases = config_file%5B'database'%5D%0A%0A    if db_label is not None:%0A        databases = %5B db for db in databases if db%5B'label'%5D == db_label %5D%0A%0A    ret = databases%5B 0 %5D%0A%0A    return ret%0A%0Adef connect_to_database( db_label=None ):%0A    db_info = get_db_info( db_label)%0A    conn = psycopg2.connect( database=db_info%5B'db'%5D, user=db_info%5B'user'%5D, password=db_info%5B'pass'%5D, host=db_info%5B'host'%5D, port=db_info%5B'port'%5D )%0A    return conn%0A

Add missing file.