Package pydo :: Package drivers :: Module sqliteconn
[show private | hide private]
[frames | no frames]

Module pydo.drivers.sqliteconn

PyDO driver for sqlite, using the pysqlite adapter.

Currently this has been tested with sqlite 2 (not sqlite 3), and pysqlite 1.0.1.

TODO: add support for sqlite3 and corresponding version of pysqlite.
Classes
SqliteConverter  
SqliteDBI  

Function Summary
  convert_DATE(dt)
  convert_TIMESTAMP(ts)

Variable Summary
zipimporter __loader__ = <zipimporter object "/usr/lib/python2.4/sit...
list date_formats = ['%m-%d-%Y', '%m-%d-%y', '%Y-%d-%m', '%y-...
instancemethod debug = logging.Logger.debug
list timestamp_formats = ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%...
dict _converters = {<type 'datetime.datetime'>: <function <la...

Variable Details

__loader__

Type:
zipimporter
Value:
<zipimporter object "/usr/lib/python2.4/site-packages/PyDO-2.0-py2.4.e\
gg/pydo/drivers/">                                                     

date_formats

Type:
list
Value:
['%m-%d-%Y',
 '%m-%d-%y',
 '%Y-%d-%m',
 '%y-%d-%m',
 '%B %d %Y',
 '%b %d %Y',
 '%d %B %Y',
 '%d %b %Y']                                                           

timestamp_formats

Type:
list
Value:
['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M', '%y-%m-%d %H:%M:%S']           

_converters

Type:
dict
Value:
{<class 'pydo.dbtypes.DATE'>: <function convert_DATE at 0xb781310c>,
 <class 'pydo.dbtypes.TIMESTAMP'>: <function convert_TIMESTAMP at 0xb7\
813144>,
 <class 'pydo.dbtypes.INTERVAL'>: <function <lambda> at 0xb7813224>,
 <class 'pydo.dbtypes.BINARY'>: <function <lambda> at 0xb78131ec>,
 <type 'datetime.date'>: <function <lambda> at 0xb78131b4>,
 <type 'datetime.datetime'>: <function <lambda> at 0xb781317c>}        

Generated by Epydoc 2.0 on Thu Feb 15 13:21:46 2007 http://epydoc.sf.net