Helper library for BigQuery
Project description
am4894bq
A helper library for some BigQuery related stuff.
Install
pip install am4894bq
Quickstart
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.', ())]
Examples
You can see some example notebooks in the examples folder of the repository.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
am4894bq-0.1.19.tar.gz
(10.2 kB
view hashes)
Built Distribution
Close
Hashes for am4894bq-0.1.19-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7852ae61d366668cea6a5ddf2ce00148d01bdb4ebc4ee89b0d8de2834081726 |
|
MD5 | c1f35b7d4bb3dc6085c77f69ff1e7aa6 |
|
BLAKE2b-256 | 5b4b90a5ef882c255f0e7f0c6c4688f492070f5babbfe7703f4522e7fc59ef33 |