Package Bio :: Package config :: Module DBRegistry :: Class BioSQLDB
[show private | hide private]
[frames | no frames]

Class BioSQLDB

RegisterableObject --+    
                     |    
              DBObject --+
                         |
                        BioSQLDB


Represent a BioSQL-style database to retrieve SeqRecord objects.

This returns a SeqRecord-like object from _get() instead of a handle (since BioSQL is not going to give you a handle).
Method Summary
  __init__(self, name, doc, db_host, db_port, db_user, db_passwd, sql_db, namespace_db, db_type)
Intialize with information for connecting to the BioSQL db.
    Inherited from DBObject
  __getitem__(self, key)
  get(self, key, default)
S.get(key[, default]) -> data
  get_as(self, key, to_io, default)
S.get_as(key[, to_io][, default]) -> object
  set(self, key, data)

Method Details

__init__(self, name, doc='', db_host='localhost', db_port='', db_user='root', db_passwd='', sql_db='', namespace_db='', db_type='mysql')
(Constructor)

Intialize with information for connecting to the BioSQL db.
Overrides:
Bio.config.DBRegistry.DBObject.__init__

Generated by Epydoc 2.1 on Wed Jan 31 09:57:59 2007 http://epydoc.sf.net