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.29.tar.gz
(10.5 kB
view details)
Built Distribution
am4894bq-0.1.29-py3-none-any.whl
(10.1 kB
view details)
File details
Details for the file am4894bq-0.1.29.tar.gz
.
File metadata
- Download URL: am4894bq-0.1.29.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87fd78f6bed1f913445eb278eb36e9ce330e37eebd47ea81189c9cb926fab8ef |
|
MD5 | 02170b1c5832e21a5a902a5c26bc3fb5 |
|
BLAKE2b-256 | 5678fe051a09d2a966df2ee8256c60a731a87e53877612a157a2b0be319aa642 |
File details
Details for the file am4894bq-0.1.29-py3-none-any.whl
.
File metadata
- Download URL: am4894bq-0.1.29-py3-none-any.whl
- Upload date:
- Size: 10.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 420d98be997737d2a381cb3f30a2a8ab23b3687a5ca901f01d1476671857680c |
|
MD5 | 5c16608dd68e96f1a4500b7943c7f1f5 |
|
BLAKE2b-256 | 7672d8b83f1a24d7cd51d8c471b643f077e8408773f51678853efeec77cd6fb9 |