Metadata-Version: 1.1
Name: databuild
Version: 0.0.2
Summary: a build tool for data
Home-page: https://github.com/databuild/databuild
Author: Flavio Curella
Author-email: flavio.curella@gmail.com
License: BSD
Description: Databuild
        =========
        
        ``make`` for your data.
        
        An automation tool for data manipulation.
        
        Inspired by Open Refine.
        
        Installation
        ------------
        
        Install databuild:
        
        ::
        
              $ pip install databuild
        
        Quickstart
        ----------
        
        For more details, see the `Extended Documentation`_.
        
        ::
        
            $ data-build.py buildfile.json
        
        ``buildfile.json`` contains a list of operations to be performed on
        data. Think of it as a script for a spreadsheet.
        
        An example of build file could be:
        
        .. code:: json
        
            [
              {
                "function": "sheets.import_data",
                "description": "Importing data from csv file",
                "params": {
                  "sheet": "dataset1",
                  "format": "csv",
                  "filename": "dataset1.csv",
                  "skip_last_lines": 1
                }
              },
              {
                "function": "columns.add_column",
                "description": "Calculate the gender ratio",
                "params": {
                  "sheet": "dataset1",
                  "name": "Gender Ratio",
                  "expression": {
                    "language": "python",
                    "content": "return float(row['Male Total']) / float(row['Female Total'])"
                  }
                }
              },
              {
                "function": "sheets.export_data",
                "description": "",
                "params": {
                  "sheet": "dataset1",
                  "format": "csv",
                  "filename": "dataset2.csv"
                }
              }
            ]
        
        YAML buildfiles are also supported. ``databuild`` will guess the type
        based on the extension.
        
        License
        -------
        
        Licensed under BSD 3-clauses.
        
        .. _Extended Documentation: http://databuild.readthedocs.org/en/latest/
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Topic :: Scientific/Engineering :: Information Analysis
