Warning: We are not sure whether the use of SessionContext is appropriate
or if using plain Sessions is good enough given that we create a new Session
for each request. Feedback much appreciated.
Alchemyware is a piece of WSGI middleware for incorporating SQLAlchemy into
your WSGI stack of middleware/applications. It works by setting an
'alchemyware' environ key that holds a mapping of engine identifiers (any
name you decide to call your engine(s)) to SQLAlchemy session objects (one for
each engine). The subsequent WSGI middlware/apps can then use these session
objects for DB access by referencing that environ ...