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.', ())]
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.11.tar.gz
(9.3 kB
view details)
Built Distribution
File details
Details for the file am4894bq-0.1.11.tar.gz
.
File metadata
- Download URL: am4894bq-0.1.11.tar.gz
- Upload date:
- Size: 9.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 | c7620d7c28932eac76fad7d4fe921977cc27c87850de73dead13ac3c4c84a1d3 |
|
MD5 | 224a6e093afbea13afb7fe482672e3ba |
|
BLAKE2b-256 | a28b4c0600e4be172faabdd75ed6e17a23a4edd55f93b557943f1e8ed4034f62 |
File details
Details for the file am4894bq-0.1.11-py3-none-any.whl
.
File metadata
- Download URL: am4894bq-0.1.11-py3-none-any.whl
- Upload date:
- Size: 8.1 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 | ca050f11ee5785c8a941cfd2517980b7ea90e053e0cbfdeb88ea7e9da3ad6c07 |
|
MD5 | 98619c643a1cd342feecb6bcbd363470 |
|
BLAKE2b-256 | 3e529cb793062ec9a94692dfff7cbc8e11377bead54214a580f0f52ccec91e19 |