ZODB.ZPublisher.ZApplicationWrapper

Documentation
This class provides a wrapper that can be used to automate opening database connections for web requests. This greatly simplifies management of database connections in most cases.