Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(28) | Call(14) | Derive(0) | Import(14)
src/x/b/xbob.db.replay-1.0.4/xbob/db/replay/create.py xbob.db.replay(Download)
def create(args): """Creates or re-creates this database""" from bob.db.utils import session_try_nolock
# the real work... create_tables(args) s = session_try_nolock(args.type, args.files[0], echo=(args.verbose >= 2)) add_clients(s, args.protodir, args.verbose) add_real_lists(s, args.protodir, args.verbose)
src/x/b/xbob.db.maskattack-1.0.0a0/xbob/db/maskattack/create.py xbob.db.maskattack(Download)
def create(args): """Creates or re-creates this database""" from bob.db.utils import session_try_nolock
# the real work... create_tables(args) s = session_try_nolock(args.type, args.files[0], echo=(args.verbose >= 2)) add_clients(s, args.datadir, args.verbose) add_files(s, args.datadir, args.verbose)
src/x/b/xbob.db.biosecurid.face-0.0.1a0/xbob/db/biosecurid/face/create.py xbob.db.biosecurid.face(Download)
def create(args): """Creates or re-creates this database""" from bob.db.utils import session_try_nolock
# the real work... create_tables(args) s = session_try_nolock(args.type, dbfile, echo=(args.verbose > 2)) add_clients(s, args.verbose) add_files(s, args.imagedir, args.verbose)
src/x/b/xbob.db.lfw-1.2.0/xbob/db/lfw/create.py xbob.db.lfw(Download)
def create(args): """Creates or re-creates this database""" from bob.db.utils import session_try_nolock
# the real work... create_tables(args) s = session_try_nolock(args.type, args.files[0], echo=(args.verbose > 2)) add_files(s, args.basedir, args.verbose) add_people(s, args.basedir, args.verbose)
src/x/b/xbob.db.mobio-1.2.1/xbob/db/mobio/create.py xbob.db.mobio(Download)
def create(args): """Creates or re-creates this database""" from bob.db.utils import session_try_nolock
# the real work... create_tables(args) s = session_try_nolock(args.type, args.files[0], echo=(args.verbose > 2)) add_files(s, args.datadir, args.extensions, args.verbose) add_subworlds(s, args.verbose)
src/x/b/xbob.db.banca-1.2.2/xbob/db/banca/create.py xbob.db.banca(Download)
def create(args): """Creates or re-creates this database""" from bob.db.utils import session_try_nolock
# the real work... create_tables(args) s = session_try_nolock(args.type, args.files[0], echo=(args.verbose > 2)) add_files(s, args.imagedir, args.verbose) add_annotations(s, args.annotdir, args.verbose)
src/x/b/xbob.db.nist_sre12-1.2.0/xbob/db/nist_sre12/create.py xbob.db.nist_sre12(Download)
def create(args): """Creates or re-creates this database""" from bob.db.utils import session_try_nolock
# the real work... create_tables(args) s = session_try_nolock(args.type, args.files[0], echo=(args.verbose > 2)) file_dict, client_dict = add_files(s, os.path.join(args.datadir, 'all_files.lst'), args.verbose) add_protocols(s, os.path.join(args.datadir, 'protocols'), file_dict, client_dict, args.verbose)
src/x/b/xbob.db.lfwidentification-0.0.3/xbob/db/lfwidentification/create.py xbob.db.lfwidentification(Download)
def create(args): """Creates or re-creates this database""" from bob.db.utils import session_try_nolock
# the real work... create_tables(args) s = session_try_nolock(args.type, args.files[0], echo=(args.verbose > 2)) add_clients(s, args.basedir, args.verbose) add_files(s, args.basedir, args.verbose)
src/x/b/xbob.db.arface-1.2.1/xbob/db/arface/create.py xbob.db.arface(Download)
def create(args): """Creates or re-creates this database""" from bob.db.utils import session_try_nolock
# the real work... create_tables(args) s = session_try_nolock(args.type, args.files[0], echo=(args.verbose >= 2)) add_clients(s, args.verbose) add_files(s, args.directory, args.extension, args.verbose)
src/x/b/xbob.db.multipie-1.1.1/xbob/db/multipie/create.py xbob.db.multipie(Download)
def create(args): """Creates or re-creates this database""" from bob.db.utils import session_try_nolock
# the real work... create_tables(args) s = session_try_nolock(args.type, args.files[0], echo=(args.verbose >= 2)) add_clients(s, args.subjectlist, args.verbose) add_subworlds(s, args.verbose)
1 | 2 Next