Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

A convenience library for SQLAlchemy web applications

Project description

SQLAHelper is a small library for SQLAlchemy web applications. It was written for Pyramid but is not framework-specific. It acts as a container for the application’s contextual session, engines, and declarative base. This avoids circular dependencies between the application’s model modules, and allows cooperating third-party libraries to use the session, base, and transaction.

The contextual session is initialized with the ZopeTransactionExtension so that it can be used with transaction managers. This can be disabled if desired.

It’s currently tested on Python 2.7/Linux but should work on 2.5 and other platforms. A set of unit tests is included. Python 3 compatibility is unknown but will be addressed soon.

Documentation is in the ‘docs’ directory and at SQLAHelper documentation.

1.0 (2011-12-25)

  • Add set_base() function and unit test.
  • Change all remaining references to pyramid_sqla to sqlahelper.
  • Delete demo application, which was for an old version of Pyramid.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for SQLAHelper, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size SQLAHelper-1.0.tar.gz (638.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page