Metadata-Version: 2.1
Name: am4894bq
Version: 0.1.12
Summary: Helper library for BigQuery
Home-page: https://github.com/andrewm4894/am4894bq/tree/master/
Author: Andrew Maguire
Author-email: andrewm4894@gmail.com
License: Apache Software License 2.0
Keywords: bigquery
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: google-cloud-bigquery (==1.24.0)
Requires-Dist: pandas-gbq (==0.13.2)
Requires-Dist: pandas (==1.0.3)
Requires-Dist: python-dotenv (==0.13.0)

# am4894bq
> A helper library for some BigQuery related stuff.


[![pypi package](https://img.shields.io/pypi/v/am4894bq.svg)](https://pypi.python.org/pypi/am4894bq/)

## Install

`pip install am4894bq`

## Quickstart

```python
from am4894bq.schema import get_schema

# get a schema for a sample table
schema = get_schema('bigquery-public-data.samples.shakespeare')
schema
```




    [SchemaField('word', 'STRING', 'REQUIRED', 'A single unique word (where whitespace is the delimiter) extracted from a corpus.', ()),
     SchemaField('word_count', 'INTEGER', 'REQUIRED', 'The number of times this word appears in this corpus.', ()),
     SchemaField('corpus', 'STRING', 'REQUIRED', 'The work from which this word was extracted.', ()),
     SchemaField('corpus_date', 'INTEGER', 'REQUIRED', 'The year in which this corpus was published.', ())]




