SQLAHelper 1.0 is released. It's a simple module serving as a
container for a SQLAlchemy contextual session, declarative base, and
engines. This avoids circular dependencies between model modules, and
allows cooperating third-party libraries to use the application's
Session and Base (which must exist when tables are defined).  It's
used by Akhet, and was originally part of the pyramid_sqla scaffold
that Akhet came out of.

Version 1.0 is mostly a documentation update. A ``set_base()``
function is added to customize the declarative base. An out-of-date
demo was deleted.

I haven't said much about SQLAHelper in recent months, so many users
may not be aware that it exists. This has led to other packages that
do approximately the same thing. There was one mentioned here a few
days ago (but I can't find the original message saying what it's
called), and Ptah has a similar feature built-in. But this kind of
thing only works if all packages agree on where the Session and Base
are located. So ChrisM and I would like to standardize on SQLAHelper
as the base package for this. So please try it out, and if you find
any omissions that prevent it from being suitable as a common
dependency between applications and third-party libraries, please let
me know.

-- 
Mike Orr <[email protected]>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to