SQLAlchemy/Zope2 transaction integration
Project description
The lead part of the alchemist’s toolkit.
Yes, it’s Yet Another SQLAlchemy/Zope Integration Package. I’m sorry, I really am. Many thanks to Andreas Jung for z3c.sqlalchemy and Kapil Thangavelu for ore.alchemist. I borrowed the Zope transaction data manager code from Andreas who borrowed it from Kapil, I believe.
The purpose of this package is to be the lead part and the lead part only. The gold-making bit is left to SQLAlchemy. That means that are no abstractions or lazy initialisaion or table auto-detection for building SQLAlchemy table metadata and mappers, no generation of Zope 3 interfaces, no CRUD operations, and no dancing polar bears.
You need to understand SQLAlchemy for this package and this README to make any sense. See http://sqlalchemy.org/doc.
NOTE: collective.lead 1.0 targets SQLAlchemy 0.3 only. Subsequent versions will target SQLAlchemy 0.4.
The use case
You want SQLAlchemy
You want to look up database connections/sessions as named utilities
You want to use simple domain/mapper classes, with no particular dependencies
You don’t want to worry about transaction and connection handling
You want to be able to configure SQL connection parameters at run-time, e.g. in the ZODB. Well, you don’t have to, but it’s nice to have the option.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for collective.lead-1.0rc1-py2.4.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40badcc5e355415d041a2e7a3e889763f2706a7e974a2ded9bcea626906ef82f |
|
MD5 | c09e71401e345ad21b696935d2dd49ec |
|
BLAKE2b-256 | ba23eea8cc2a65cfb749e4ad1c5b44cec1080d8b1f5fb6b04903e42ecd4e0228 |