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.
Metadata
Release files for SQLAHelper 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| SQLAHelper-1.0.tar.gz | 638.0 kB | Without provenance | Details for SQLAHelper-1.0.tar.gz |
Release files / SQLAHelper-1.0.tar.gz
| Download URL | SQLAHelper-1.0.tar.gz |
|---|---|
| Size | 638.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f8b77191ee44996b5121a2c205580bdfa9ca4ba40b3077bd1032e42a967151e1
|
|
BLAKE2b-256 checksum How to use checksums |
312ec4ac22ee694813ab810ac78a89f6efc15a488d0348ac7d698c91506ccef2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for SQLAHelper 1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.