Here are quick installation instructions for the impatient.
Brewery is being developed for Python 2.7, reported to work on 2.6.
Satisfy soft dependencies that cover most of the use cases. For more information read below.:
pip install sqlalchemy xlrd
pip install brewery
import brewery URL = "https://raw.github.com/Stiivi/cubes/master/examples/hello_world/data.csv" b = brewery.create_builder() b.csv_source(URL) b.audit(distinct_threshold=None) b.pretty_printer() b.stream.run()
Or the same from the command line:
$ curl https://raw.github.com/Stiivi/cubes/master/examples/hello_world/data.csv | \ brewery pipe audit pretty_printer
The framework currently does not have any hard dependency on other packages. All dependencies are optional and you need to install the packages only if certain features are going to be used.
|sqlalchemy||Streams from/to SQL databases. Source: http://www.sqlalchemy.org Recommended version is > 0.7|
|gdata||Google data (spreadsheet) source/target|
|xlrd||Reading MS Excel XLS Files. Source: http://pypi.python.org/pypi/xlrd|
|PyYAML||YAML directory data source/target. Source: http://pyyaml.org|
|pymongo||MongoDB streams and mongoaudit. Source: http://www.mongodb.org/downloads|