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
http://www.sqlalchemy.org/ 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
Streams
-------
* 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 –
http://packages.python.org/brewery/install.html
* information about fields and metadata –
http://packages.python.org/brewery/metadata.html
* included documentation about data store classes –
http://packages.python.org/brewery/stores.html
* included text from previous blog post about Higher Order Messaging –
http://packages.python.org/brewery/streams.html#forking-forks-with-higher-order-messaging
Blog post:
http://blog.databrewery.org/post/6899049272/brewery-0-7-released
Any questions, commens or suggestions are welcome.
Enjoy :-)
Stefan