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.28.tar.gz
(10.4 kB
view details)
Built Distribution
am4894bq-0.1.28-py3-none-any.whl
(10.0 kB
view details)
File details
Details for the file am4894bq-0.1.28.tar.gz
.
File metadata
- Download URL: am4894bq-0.1.28.tar.gz
- Upload date:
- Size: 10.4 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 | 0a23c28b9d0b38537fdf8bf105b3d481a9cfdbf8b9d6441567cc117d6afacb0b |
|
MD5 | 55b04bf90a80ad135eafdf098f95d421 |
|
BLAKE2b-256 | e5bca2acf4f77b101906daa0281c606b96a2cee5d37550b6dfcba7a3d8e15372 |
File details
Details for the file am4894bq-0.1.28-py3-none-any.whl
.
File metadata
- Download URL: am4894bq-0.1.28-py3-none-any.whl
- Upload date:
- Size: 10.0 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 | b551036d9e7ae5b386372898f2f232d359794fa716e84ee12602a00384518082 |
|
MD5 | 48e0ebd3848ce67e385a9da5df3d6ab9 |
|
BLAKE2b-256 | 5841d18b6c42d04f746f8f640f33501424ba28e76d0f4697ae285b9855b29f25 |