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.33.tar.gz
(10.3 kB
view details)
Built Distribution
File details
Details for the file am4894bq-0.1.33.tar.gz
.
File metadata
- Download URL: am4894bq-0.1.33.tar.gz
- Upload date:
- Size: 10.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d4733bf333646ce2393526c339bb9fece33dcb69dc23e7a6e9fd8ea39dbedc3 |
|
MD5 | 96c25e39bfd19fee5f7b352e62630aad |
|
BLAKE2b-256 | b5c180285ea0c39f91f985f034cfc3ec0a52f6f8a40ced9cb9522505ba8331ff |
File details
Details for the file am4894bq-0.1.33-py3-none-any.whl
.
File metadata
- Download URL: am4894bq-0.1.33-py3-none-any.whl
- Upload date:
- Size: 9.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35ee606ef3d01d07edf906fd9a92b5896cd18c132581dcf5bc33c2fb4d2ca9e6 |
|
MD5 | a2eee4a7f5b83ff3f18bc2e452f11a28 |
|
BLAKE2b-256 | 852f3b0dc4c8d4a8d1eae82d3a3dab02ac76535c15dba8db7ff0f2753879120d |