def connect():
    engine = create_engine(get_url())

    @event.listens_for(engine, "begin")
    def do_begin(conn):
        conn.connection.create_function('regexp', 2, _re_fn)

    return engine
Generate a 64 bit, roughly-ordered, globally-unique ID.
dataset/ETHPy150Open openstack/aeromancer/aeromancer/db/connect.py/connect--crossover with--dataset/ETHPy150Open SawdustSoftware/simpleflake/simpleflake/simpleflake.py/simpleflake