EpicsArchiver (version 1.0.2)
index
/usr/lib/python2.4/site-packages/EpicsArchiver/__init__.py

PV Archivier python module
Matthew Newville <newville@cars.uchicago.edu>
CARS, University of Chicago
 
version:      1.0.2
last update:  28-Jan-2008
copyright:    Matthew Newville, The University of Chicago, 2007
license:      MIT / BSD

 
Package Contents
       
ArchiveMaster
Archiver
Cache
Daemon
HTMLWriter
Instruments
MasterDB
PlotViewer
SimpleDB
WebAdmin
WebHelp
WebInstruments
WebStatus
config
util

 
Functions
       
escape_string(...)
escape_string(s) -- quote any SQL-interpreted characters in string s.
 
Use connection.escape_string(s), if you use it at all.
_mysql.escape_string(s) cannot handle character sets. You are
probably better off using connection.escape(o) instead, since
it will escape entire sequences as well as strings.
string_literal(...)
string_literal(obj) -- converts object obj into a SQL string literal.
This means, any special SQL characters are escaped, and it is enclosed
within single quotes. In other words, it performs:
 
"'%s'" % escape_string(str(obj))
 
Use connection.string_literal(obj), if you use it at all.
_mysql.string_literal(obj) cannot handle character sets.

 
Data
        __version__ = '1.0.2'