Changeset 48

User picture

Author: dkeeney

(2010/01/03 11:49) Over 2 years ago

doc changes for version change

Affected files

Updated Changes.txt Download diff

4748
4
Changes to Rdbhdb module
4
Changes to Rdbhdb module
5
5
6
6
7
0.9.2
7
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.  
8
13
9
14
10
0.9.1
15
0.9.1
...
...
17
22
18
Added data compression for data sent by server
23
Added data compression for data sent by server
19
Added .execute_deferred method
24
Added .execute_deferred method
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
Added .https attribute to force use of TLS/SSL
22
Now handles binary data from buffer vars without text-encoding.
28
Now handles binary data from buffer vars without text-encoding.
23
Removed broken examples from package
29
Removed broken examples from package

Updated lib/rdbhdb.py Download diff

4748
51
            if i: return True
51
            if i: return True
52
        return False
52
        return False
53
            
53
            
54
__version__ = '0.9.1'
54
__version__ = '0.9.2'
55
55
56
56
57
threadsafety = 2
57
threadsafety = 2
...
...
338
338
339
    def execute(self,query,args=()):
339
    def execute(self,query,args=()):
340
        """Execute query with optional args """
340
        """Execute query with optional args """
341
        assert type(args) in (types.TupleType,types.ListType)
341
        assert type(args) in (types.TupleType,types.ListType,
342
                              types.DictType,types.NoneType), (type(args),args)
342
        self.conn._lock.acquire()
343
        self.conn._lock.acquire()
343
        try:
344
        try:
344
            self._execute(query,args,(),())
345
            self._execute(query,args,(),())

Updated README Download diff

4748
8
http://www.python.org/peps/pep-0249.html
8
http://www.python.org/peps/pep-0249.html
9
9
10
10
11
The module provides an interface to Rdbhost.com hosted databases, using
12
the PostgreSQL engine.
13
14
See http://www.rdbhost.com
15
16

Updated setup.py Download diff

4748
3
from distutils.core import setup
3
from distutils.core import setup
4
4
5
setup(name="rdbhdb",
5
setup(name="rdbhdb",
6
      version='0.9.1',
6
      version='0.9.2',
7
      description = "DB API module for accessing hosted databases at www.rdbhost.com",
7
      description = "DB API module for accessing hosted databases at www.rdbhost.com",
8
      author='David Keeney, Kris Sundaram',
8
      author='David Keeney, Kris Sundaram',
9
      author_email='dkeeney@rdbhost.com, sundram@hotmail.com',
9
      author_email='dkeeney@rdbhost.com, sundram@hotmail.com',
...
...
18
      (it is a web service). This module provides a DB API 2 API 
18
      (it is a web service). This module provides a DB API 2 API 
19
      to access rdbhost.com hosted databases from your application.
19
      to access rdbhost.com hosted databases from your application.
20
      Uses gzip compression to conserve bandwidth and time. Can
20
      Uses gzip compression to conserve bandwidth and time. Can
21
      be used on Google Appengine, or any other Python platform.      
21
      be used on Google Appengine or any other Python platform.      
22
      """,
22
      """,
23
      classifiers=[
23
      classifiers=[
24
      'Development Status :: 4 - Beta',
24
      'Development Status :: 4 - Beta',