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.21.tar.gz
(10.3 kB
view details)
Built Distribution
File details
Details for the file am4894bq-0.1.21.tar.gz
.
File metadata
- Download URL: am4894bq-0.1.21.tar.gz
- Upload date:
- Size: 10.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a6dac37cc6cad3db6ad149d1bd414ba3d3871538eba17daf85e0847c1bd021b |
|
MD5 | 0b267a77b37fe42d3e8026645285dd6c |
|
BLAKE2b-256 | 6f60ac608e6bdfae16ebea149d4866cea29d7e6c79f9a93ef2410f203bb2a770 |
File details
Details for the file am4894bq-0.1.21-py3-none-any.whl
.
File metadata
- Download URL: am4894bq-0.1.21-py3-none-any.whl
- Upload date:
- Size: 9.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8df0829a5c6e00c4db5f51bc1ae97316a46a751acac5acc08e015958f98b1bf |
|
MD5 | 8878daba32d9938810e4a4b1149602b2 |
|
BLAKE2b-256 | fc2dcaf23881d596e048046cd9f760a88e6767a506192ef35ed01f4b99f6ba60 |