# Path: voeventdb/server/database/db_utils.py
# def check_database_exists(db_url):
# def create_empty_database(admin_db_url, new_db_name):
# def delete_database(admin_db_url, drop_db_name):
# def load_q3c(connection):
# def create_tables_and_indexes(connection):


import sys
import os
import argparse
import logging
import voeventdb.server.database.config as dbconfig
from sqlalchemy.engine.url import make_url
from sqlalchemy import create_engine
from voeventdb.server.database import db_utils
#!/usr/bin/env python





logging.basicConfig(level=logging.DEBUG)
logger = logging.getLogger("create_db")


def database_url(s):
    return make_url(s)



# Path: voeventdb/server/database/db_utils.py
# def check_database_exists(db_url):
# def create_empty_database(admin_db_url, new_db_name):
# def delete_database(admin_db_url, drop_db_name):
# def load_q3c(connection):
# def create_tables_and_indexes(connection):


# Path: voeventdb/server/bin/voeventdb_create.py
import sys
import os
import argparse
import logging
import voeventdb.server.database.config as dbconfig
from sqlalchemy.engine.url import make_url
from sqlalchemy import create_engine
from voeventdb.server.database import db_utils

#!/usr/bin/env python





logging.basicConfig(level=logging.DEBUG)
logger = logging.getLogger("create_db")


def database_url(s):
    return make_url(s)



def handle_args():