BrainFreeze

An SQLAlchemy plugin that supports object composition (as opposed to class inheritance)
Download

BrainFreeze Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Price:
  • FREE
  • Publisher Name:
  • BrainFreeze Team
  • Publisher web site:
  • http://code.google.com/p/brainfreeze-alchemy/
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 33 KB

BrainFreeze Tags


BrainFreeze Description

An SQLAlchemy plugin that supports object composition (as opposed to class inheritance) BrainFreeze is an SQLAlchemy plugin that contains a set of tools for proxying attributes through one-to-one relations, kind of like SQLAlchemy's AssociationProxy, but for one-to-one relations.Google for "composition vs inheritance" to get the general idea. Another way to think of BrainFreeze is that it's a plugin for proxying properties on one-to-one related objects. Kind of like SQLAlchemy's AssociationProxy, but for one-to-one relations instead of many-to-many relations.BrainFreeze provides a SQLAlchemy Python Property that will be able to take all the foreign columns in a one-to-one relation and quickly make them accessible on the mapped class. Kind of like SQLAlchemy's AssociationProxy but for one-to-one relationsBut wait! There's More! Also included is a SQLAlchemy MapperProperty that lets these foreign columns be query-able just as if they were normal columns on the mapped class.Act now and you'll receive as our special gift to you, an SQLAlchemy MapperExtension that sets this all up for you automatically.


BrainFreeze Related Software