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

All Samples(25)  |  Call(14)  |  Derive(0)  |  Import(11)
Uses sqlalchemy and ORM to work with the Fluid Nexus database.

src/f/l/fluid-nexus-0.3.1/FluidNexus/GUI.py   fluid-nexus(Download)
from ui.FluidNexusHelpUI import Ui_FluidNexusHelp
import version
from Database import FluidNexusDatabase
from Networking import BluetoothServerVer3, BluetoothClientVer3, ZeroconfClient, ZeroconfServer, NexusNetworking
import Log
        self.databaseDir = os.path.join(self.dataDir, name)
        self.databaseType = unicode(self.settings.value("database/type").toString())
        self.database = FluidNexusDatabase(databaseDir = self.dataDir, databaseType = "pysqlite2", logPath = self.logPath)
        self.database.addDummyData()
        self.settings.setValue("app/firstRun", False)
        self.databaseDir = os.path.join(self.dataDir, name)
        self.databaseType = unicode(self.settings.value("database/type").toString())
        self.database = FluidNexusDatabase(databaseDir = self.dataDir, databaseType = "pysqlite2", logPath = self.logPath)
 
    def __setupSignals(self):

src/f/l/FluidNexus-HEAD/FluidNexus/GUI.py   FluidNexus(Download)
from ui.FluidNexusHelpUI import Ui_FluidNexusHelp
import version
from Database import FluidNexusDatabase
from Networking import BluetoothServerVer3, BluetoothClientVer3, ZeroconfClient, ZeroconfServer, NexusNetworking
import Log
        self.databaseDir = os.path.join(self.dataDir, name)
        self.databaseType = unicode(self.settings.value("database/type").toString())
        self.database = FluidNexusDatabase(databaseDir = self.dataDir, databaseType = "pysqlite2", logPath = self.logPath)
        self.database.addDummyData()
        self.settings.setValue("app/firstRun", False)
        self.databaseDir = os.path.join(self.dataDir, name)
        self.databaseType = unicode(self.settings.value("database/type").toString())
        self.database = FluidNexusDatabase(databaseDir = self.dataDir, databaseType = "pysqlite2", logPath = self.logPath)
 
    def __setupSignals(self):

src/f/l/fluid-nexus-0.3.1/FluidNexus/Networking.py   fluid-nexus(Download)
# My imports
import FluidNexus_pb2
from Database import FluidNexusDatabase
import Log
 
    def openDatabase(self):
        self.database = FluidNexusDatabase(databaseDir = self.databaseDir, databaseType = self.databaseType, level = self.logLevel)
 
    def closeDatabase(self):
        self.database.close()

src/f/l/FluidNexus-HEAD/FluidNexus/Networking.py   FluidNexus(Download)
# My imports
import FluidNexus_pb2
from Database import FluidNexusDatabase
import Log
 
    def openDatabase(self):
        self.database = FluidNexusDatabase(databaseDir = self.databaseDir, databaseType = self.databaseType, level = self.logLevel)
 
    def closeDatabase(self):
        self.database.close()