pyramid_sqlalchemy provides some basic glue to facilitate using SQLAlchemy with Pyramid.
A MetaData instance which tracks all known SQL tables.
A ORM base class for all models using the ORM.
Every application using SQLAlchemy must provides its own instance of these. This makes it hard create add-on packages that also use SQLAlchemy, since they either need to have their own SQLAlchemy state, which makes it hard to integrate them into your application, or they need to jump through multiple complex hoops to allow them share state with your application.
pyramid_sqlalchemy helps by providing a canonical location for the global SQLAlchemy state. In addition it provides a convenient way to configure SQLAlchemy in a Pyramid application.