Ann: Brewery 0.7

Skip to first unread message

Stefan Urbanek

Jun 25, 2011, 6:39:41 AM6/25/11
to databrewery
New small release is out with quite nice addition of documentation. It
does not bring too many new features, but contains a refactoring
towards better package structure, that breaks some compatibility.

* added soft (optional) dependencies on backend libraries. Exception
with useful information will be
raised when functionality that depends on missing package is used.
Example: "Exception: Optional
package 'sqlalchemy' is not installed. Please install the package
from to
be able to use: SQL streams. Recommended version is > 0.7"
* field related classes and functions were moved from 'ds' module to
'metadata' and included in
brewery top-level: Field, FieldList, expand_record, collapse_record

Depreciated functions
* brewery.ds.field_name() - use str(field) instead
* brewery.ds.fieldlist() - use brewery.metadata.FieldList() instead

* new node: DeriveNode - derive new field with callables or string
formula (python expression)
* new SelectNode implementation: accepts callables or string with
python code
* former SelectNode renamed to FunctionSelectNode

Documentation updates

* installation instructions with list of optional dependencies –
* information about fields and metadata –
* included documentation about data store classes –
* included text from previous blog post about Higher Order Messaging –

Blog post:

Any questions, commens or suggestions are welcome.

Enjoy :-)


Reply all
Reply to author
0 new messages