Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(442)  |  Call(281)  |  Derive(11)  |  Import(150)

src/f/p/fpdb-HEAD/pyfpdb/GuiDatabase.py   fpdb(Download)
 
        sql = SQL.Sql(db_server=dbms)
        db = Database.Database(config, sql = sql, autoconnect = False)
        # try to connect to db, set status and err_msg if it fails
        try:

src/f/p/fpdb-chaz-HEAD/pyfpdb/GuiDatabase.py   fpdb-chaz(Download)
 
        sql = SQL.Sql(db_server=dbms)
        db = Database.Database(config, sql = sql, autoconnect = False)
        # try to connect to db, set status and err_msg if it fails
        try:

src/f/p/fpdb-grindi-HEAD/pyfpdb/GuiDatabase.py   fpdb-grindi(Download)
 
        sql = SQL.Sql(db_server=dbms)
        db = Database.Database(config, sql = sql, autoconnect = False)
        # try to connect to db, set status and err_msg if it fails
        try:

src/f/p/fpdb-sql-HEAD/pyfpdb/GuiDatabase.py   fpdb-sql(Download)
 
        sql = SQL.Sql(db_server=dbms)
        db = Database.Database(config, sql = sql, autoconnect = False)
        # try to connect to db, set status and err_msg if it fails
        try:

src/f/p/fpdb-HEAD/pyfpdb/Importer.py   fpdb(Download)
 
        self.writeq = None
        self.database = Database.Database(self.config, sql = self.sql)
        self.writerdbs = []
        self.settings.setdefault("threads", 1) # value set by GuiBulkImport
        for i in xrange(self.settings['threads']):
            self.writerdbs.append( Database.Database(self.config, sql = self.sql) )
    def setThreads(self, value):
        self.settings['threads'] = value
        if self.settings["threads"] > len(self.writerdbs):
            for i in xrange(self.settings['threads'] - len(self.writerdbs)):
                self.writerdbs.append( Database.Database(self.config, sql = self.sql) )

src/f/p/fpdb-chaz-HEAD/pyfpdb/Importer.py   fpdb-chaz(Download)
 
        self.writeq = None
        self.database = Database.Database(self.config, sql = self.sql)
        self.writerdbs = []
        self.settings.setdefault("threads", 1) # value set by GuiBulkImport
        for i in xrange(self.settings['threads']):
            self.writerdbs.append( Database.Database(self.config, sql = self.sql) )
    def setThreads(self, value):
        self.settings['threads'] = value
        if self.settings["threads"] > len(self.writerdbs):
            for i in xrange(self.settings['threads'] - len(self.writerdbs)):
                self.writerdbs.append( Database.Database(self.config, sql = self.sql) )

src/f/p/fpdb-grindi-HEAD/pyfpdb/fpdb_import.py   fpdb-grindi(Download)
 
        self.writeq = None
        self.database = Database.Database(self.config, sql = self.sql)
        self.writerdbs = []
        self.settings.setdefault("threads", 1) # value set by GuiBulkImport
        for i in xrange(self.settings['threads']):
            self.writerdbs.append( Database.Database(self.config, sql = self.sql) )
    def setThreads(self, value):
        self.settings['threads'] = value
        if self.settings["threads"] > len(self.writerdbs):
            for i in xrange(self.settings['threads'] - len(self.writerdbs)):
                self.writerdbs.append( Database.Database(self.config, sql = self.sql) )

src/f/p/fpdb-sql-HEAD/pyfpdb/fpdb_import.py   fpdb-sql(Download)
 
        self.writeq = None
        self.database = Database.Database(self.config, sql = self.sql)
        self.writerdbs = []
        self.settings.setdefault("threads", 1) # value set by GuiBulkImport
        for i in xrange(self.settings['threads']):
            self.writerdbs.append( Database.Database(self.config, sql = self.sql) )
    def setThreads(self, value):
        self.settings['threads'] = value
        if self.settings["threads"] > len(self.writerdbs):
            for i in xrange(self.settings['threads'] - len(self.writerdbs)):
                self.writerdbs.append( Database.Database(self.config, sql = self.sql) )

src/f/p/fpdb-HEAD/pyfpdb/GuiReplayer.py   fpdb(Download)
        self.sql = querylist
 
        self.db = Database.Database(self.conf, sql=self.sql)
        self.states = [] # List with all table states.
 
 
    config = Configuration.Config(file = "HUD_config.test.xml")
    db = Database.Database(config)
    sql = SQL.Sql(db_server = 'sqlite')
 

src/f/p/fpdb-chaz-HEAD/pyfpdb/GuiReplayer.py   fpdb-chaz(Download)
        self.sql = querylist
 
        self.db = Database.Database(self.conf, sql=self.sql)
        self.states = [] # List with all table states.
 
 
    config = Configuration.Config(file = "HUD_config.test.xml")
    db = Database.Database(config)
    sql = SQL.Sql(db_server = 'sqlite')
 

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next