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.31.tar.gz
(10.4 kB
view details)
Built Distribution
am4894bq-0.1.31-py3-none-any.whl
(10.0 kB
view details)
File details
Details for the file am4894bq-0.1.31.tar.gz
.
File metadata
- Download URL: am4894bq-0.1.31.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9778f4ce085865e488ae466bd12382512c44683151b2e0004552fe7d2ab50d1 |
|
MD5 | 17844907cca327c2ff521a4a5ccf1bbb |
|
BLAKE2b-256 | 34115c16e4d522e966ffc7ca31c1432ba97136da58d552b3c84b755436332af4 |
File details
Details for the file am4894bq-0.1.31-py3-none-any.whl
.
File metadata
- Download URL: am4894bq-0.1.31-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e58a373451747d90160d5eb40a4af33f2bc936fc7b1f6f551f92bfbfa0de488 |
|
MD5 | be272f5a2d6872e287bb09e089dcf7db |
|
BLAKE2b-256 | 645d2c35356b88cc9a31c2e8c13a429fb8fcaa67c3b41299d653d6b8713e221c |