Metadata-Version: 1.1
Name: bigschema
Version: 1.0.2
Summary: bigschema provide primitives for writing more maintainable/readable schemas for bigquery in yamland getting bigquery target output from the specification.
Home-page: https://github.com/danishabdullah/bigschema
Author: Danish Abdullah
Author-email: dev@danishabdullah.com
License: BSD 3 Clause
Description: ### BigSchema
        
        This library is meant as a simple way to generate the big query boilerplate   
        given a simple yaml based schema.
        
        
        #### CLI Tool
        
        The library comes with a simple command line tool that takes a source file,    
        an optional destination directory default is ```./schema/``` and an output    
        format and transforms the given yaml specifications to BigQuery compliant    
        schema in the desired output format.
        
        ```bash
        $ bigschema --help
        
        Usage: bigschema [OPTIONS] SOURCE [DESTINATION]
        Options:
          -f, --output-format [java|json]
                                          Which format to output the data in? Default
                                          is JSON
          -o, --overwrite BOOLEAN         Should we overwrite the data in existing
                                          file? Default is FALSE
          --help                          Show this message and exit.
          
        ```
        
        
        #### File Specification
        
        ```yaml
        spec-mode: "compact" | "verbose"
        
        ---------------------------------------------------------------------------------
        spec-mode: "verbose"
        --------------------
        
        table:
          type: "table"
          fields:
            - name:
              type: "integer" | "float" | "string" | "timestamp" | "boolean" | "bytes" | "record_name"
              mode: "nullable" | "repeated" | "required"
        
        record:
          type: "record"
          fields:
            - name:
              type: "integer" | "float" | "string" | "timestamp" | "boolean" | "bytes" | "record_name"
              mode: "nullable" | "repeated" | "required"
        
        
        ----------------------------------------------------------------------------------
        spec-mode: "compact"
        --------------------
        
        table:
          type: table
          fields:
            - name_of_column, type_of_column, mode_of_column
        
        record:
          type: record
          fields:
            - name_of_column, type_of_column, mode_of_column
        ```
        
Keywords: bigschema bigquery json java schema transformation
Platform: UNKNOWN
Classifier: Development Status :: 6 - Mature
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
