Author: dkeeney
(2010/01/03 11:49) Over 2 years ago
doc changes for version change
4
Changes to Rdbhdb module
5
6
7
0.9.2
8
9
Provides types with request input parameters
10
Converts recieved date fields into Dates,Times,Datetimes, or Decimals, as
11
relevant
12
Times and Datetimes reported to microsecond resolution.
13
14
0.9.1
15
...
17
22
18
Added data compression for data sent by server
23
19
Added .execute_deferred method
24
20
Added .nextset method to handle multiple queries and multiple result sets per request.
25
Added .nextset method to handle multiple queries and multiple result sets per
26
request.
21
Added .https attribute to force use of TLS/SSL
27
Now handles binary data from buffer vars without text-encoding.
28
Removed broken examples from package
29
51
if i: return True
52
return False
53
54
__version__ = '0.9.1'
__version__ = '0.9.2'
55
56
57
threadsafety = 2
338
339
def execute(self,query,args=()):
340
"""Execute query with optional args """
341
assert type(args) in (types.TupleType,types.ListType)
assert type(args) in (types.TupleType,types.ListType,
342
types.DictType,types.NoneType), (type(args),args)
self.conn._lock.acquire()
343
try:
344
self._execute(query,args,(),())
345
http://www.python.org/peps/pep-0249.html
The module provides an interface to Rdbhost.com hosted databases, using
the PostgreSQL engine.
See http://www.rdbhost.com
16
3
from distutils.core import setup
setup(name="rdbhdb",
version='0.9.1',
version='0.9.2',
description = "DB API module for accessing hosted databases at www.rdbhost.com",
author='David Keeney, Kris Sundaram',
author_email='dkeeney@rdbhost.com, sundram@hotmail.com',
(it is a web service). This module provides a DB API 2 API
to access rdbhost.com hosted databases from your application.
Uses gzip compression to conserve bandwidth and time. Can
be used on Google Appengine, or any other Python platform.
be used on Google Appengine or any other Python platform.
""",
classifiers=[
'Development Status :: 4 - Beta',
Added .nextset method to handle multiple queries and multiple result sets per request.request.__version__ = '0.9.1'__version__ = '0.9.2'assert type(args) in (types.TupleType,types.ListType)assert type(args) in (types.TupleType,types.ListType,types.DictType,types.NoneType), (type(args),args)version='0.9.1',version='0.9.2',be used on Google Appengine, or any other Python platform.