This release is a pre-release and may not be stable for production use.
Introduction
BrainFreeze is an SQLAlchemy plugin that supports object composition (as opposed to class inheritance). 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. BrainFreeze uses SQLAlchemy’s AssociationProxy for the python properties, only BrainFreeze goes the extra step of making those properties query-able using SQLAlchemy’s session.query() machinery.
Installation and Usage
Visit the BrainFreeze project home for more information.
OneToOneProxy
BrainFreeze provides an SQLAlchemy Python Property that will take all the foreign columns in a one-to-one relation and make them accessible on the mapped class.
But 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.
Release files for BrainFreeze 0.1rc2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| BrainFreeze-0.1rc2.tar.gz | 21.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| BrainFreeze-0.1rc2-py2.5.egg | Legacy Egg format | - | - | Details |
Total release size: 55.8 kB
Release files / BrainFreeze-0.1rc2.tar.gz
| Download URL | BrainFreeze-0.1rc2.tar.gz |
|---|---|
| Size | 21.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
66ce82286c879d75615997a0c66716b1a6448477bd2636e06207a3bb42df01bb
|
|
BLAKE2b-256 checksum How to use checksums |
d49289f7b4d3e8849121603f8ebd2603bca59eb24652adce38389fcbc5ac4ece
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / BrainFreeze-0.1rc2-py2.5.egg
| Download URL | BrainFreeze-0.1rc2-py2.5.egg |
|---|---|
| Size | 34.6 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
fb3139fdd654177ed2ba3e178dc102bef7bf6154236f3a15db2e3bbc75add927
|
|
BLAKE2b-256 checksum How to use checksums |
ce6f1b2621ee7815dcece38ef315866bdfa146881bfc59d56f01e1461c5f3ba7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |