From vernondcole at gmail.com Mon May 3 11:39:10 2010 From: vernondcole at gmail.com (Vernon Cole) Date: Mon, 3 May 2010 03:39:10 -0600 Subject: [DB-SIG] adodbapi 2.3.0 (the django version) released Message-ID: Hello everyone. I have just uploaded the latest version of adodbapi. This version is highly refactored following the work of Adam Vandenberg, and also has all of the current user suggested patches. Both the Mercurial tree and the downloadable zip files are updated. (There is no fancy installer, just copy the folder in your site-packages folder.) This has been tested using CPython 2.3, CPython 2.6, IronPython 2.6 (.NET 2) and IronPython 2.6(.NET 4), accessing .mdb, MS-SQL and MySQL databases. There is a separate .zip for Python 3.1. ............ adodbapi A Python DB-API 2.0 module that makes it easy to use Microsoft ADO for connecting with databases and other data sources using either CPython or IronPython. Home page: Features: * 100% DB-API 2.0 compliant. * Includes pyunit testcases that describe how to use the module. * Fully implemented in Python. * Licensed under the LGPL license. * Supports eGenix mxDateTime, Python 2.3 datetime module and Python time module. * Supports multiple paramstyles: 'qmark' 'named' 'format' ............ Whats new in version 2.3.0 # note: breaking changes and default changes! This version is all about django support. There are two targets: A) MS SQL database connections for mainstream django. B) running django on IronPython Thanks to Adam Vandenberg for the django modifications. The changes are: 1. the ado constants are moved into their own module: ado_consts This may break some old code, but Adam did it on his version and I like the improvement in readability. Also, you get better documentation of some results, like convertion of MS data type codes to strings: >>> ado_consts.adTypeNames[202] 'adVarWChar' >>> ado_consts.adTypeNames[cursr.description[0][1]] 'adWChar' ** deprecation warning: access to these constants as adodbapi.ad* will be removed in the future ** 2. will now default to client-side cursors. To get the old default, use something like: adodbapi.adodbapi.defaultCursorLocation = ado_consts.adUseServer ** change in default warning ** 3. Added ability to change paramstyle on the connection or the cursor: (An extension to the db api) Possible values for paramstyle are: 'qmark', 'named', 'format'. The default remains 'qmark'. (SQL language in '%s' format or ':namedParameter' format will be converted to '?' internally.) when 'named' format is used, the parameters must be in a dict, rather than a sequence. >>>c = adodbapi.connect('someConnectionString',timeout=30) >>>c.paramstyle = 'spam' <<>> ** new extension feature ** 4. Added abality to change the default paramstyle for adodbapi: (for django) >>> import adodbapi as Database >>> Database.paramstyle = 'format' ** new extension feature ** Whats new in version 2.2.7 1. Does not automagically change to mx.DateTime when mx package is installed. (This by popular demand.) to get results in mx.DateTime format, use: adodbapi.adodbapi.dateconverter = adodbapi.adodbapi.mxDateTimeConverter 2. implements cursor.next() -------------- next part -------------- An HTML attachment was scrubbed... URL: From phd at phd.pp.ru Wed May 5 21:09:10 2010 From: phd at phd.pp.ru (Oleg Broytman) Date: Wed, 5 May 2010 23:09:10 +0400 Subject: [DB-SIG] SQLObject 0.11.6 Message-ID: <20100505190910.GB23337@phd.pp.ru> Hello! I'm pleased to announce version 0.11.6, a minor bugfix release of 0.11 branch of SQLObject. What is SQLObject ================= SQLObject is an object-relational mapper. Your database tables are described as classes, and rows are instances of those classes. SQLObject is meant to be easy to use and quick to get started with. SQLObject supports a number of backends: MySQL, PostgreSQL, SQLite, Firebird, Sybase, MSSQL and MaxDB (also known as SAPDB). Where is SQLObject ================== Site: http://sqlobject.org Development: http://sqlobject.org/devel/ Mailing list: https://lists.sourceforge.net/mailman/listinfo/sqlobject-discuss Archives: http://news.gmane.org/gmane.comp.python.sqlobject Download: http://cheeseshop.python.org/pypi/SQLObject/0.11.6 News and changes: http://sqlobject.org/News.html What's New ========== News since 0.11.5 ----------------- * A bug was fixed in SQLiteConnection.columnsFromSchema(): pass None as size/precision to DecimalCol; DecimalCol doesn't allow default values (to force user to pass meaningful values); but columnsFromSchema() doesn't implement proper parsing of column details. For a more complete list, please see the news: http://sqlobject.org/News.html Oleg. -- Oleg Broytman http://phd.pp.ru/ phd at phd.pp.ru Programmers don't die, they just GOSUB without RETURN. From phd at phd.pp.ru Wed May 5 21:10:46 2010 From: phd at phd.pp.ru (Oleg Broytman) Date: Wed, 5 May 2010 23:10:46 +0400 Subject: [DB-SIG] SQLObject 0.12.4 Message-ID: <20100505191046.GF23337@phd.pp.ru> Hello! I'm pleased to announce version 0.12.4, a minor bugfix release of branch 0.12 of SQLObject. What is SQLObject ================= SQLObject is an object-relational mapper. Your database tables are described as classes, and rows are instances of those classes. SQLObject is meant to be easy to use and quick to get started with. SQLObject supports a number of backends: MySQL, PostgreSQL, SQLite, Firebird, Sybase, MSSQL and MaxDB (also known as SAPDB). Where is SQLObject ================== Site: http://sqlobject.org Development: http://sqlobject.org/devel/ Mailing list: https://lists.sourceforge.net/mailman/listinfo/sqlobject-discuss Archives: http://news.gmane.org/gmane.comp.python.sqlobject Download: http://cheeseshop.python.org/pypi/SQLObject/0.12.4 News and changes: http://sqlobject.org/News.html What's New ========== News since 0.12.3 ----------------- * Bugs were fixed in calling from_python(). * A bug was fixed in SQLiteConnection.columnsFromSchema(): pass None as size/precision to DecimalCol; DecimalCol doesn't allow default values (to force user to pass meaningful values); but columnsFromSchema() doesn't implement proper parsing of column details. For a more complete list, please see the news: http://sqlobject.org/News.html Oleg. -- Oleg Broytman http://phd.pp.ru/ phd at phd.pp.ru Programmers don't die, they just GOSUB without RETURN. From vernondcole at gmail.com Sat May 22 20:10:45 2010 From: vernondcole at gmail.com (Vernon Cole) Date: Sat, 22 May 2010 12:10:45 -0600 Subject: [DB-SIG] ADODBAPI 2.3 Missing Files (corrected) Message-ID: Thank you! The release has been corrected. (Note to self: Never make a release after 2400 local time!) -- Vernon Cole ------------------------------ *From:* "thebashar at users.sourceforge.net" *To:* kf7xm at users.sourceforge.net *Sent:* Thu, May 20, 2010 1:55:00 PM *Subject:* ADODBAPI 2.3 Missing Files Message body follows: Hi. I recently downloaded the adodbapi_2.3.0.zip archive. It seems to be missing the adodbapi.py file. -------------- next part -------------- An HTML attachment was scrubbed... URL: