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.20.tar.gz
(10.2 kB
view details)
Built Distribution
File details
Details for the file am4894bq-0.1.20.tar.gz
.
File metadata
- Download URL: am4894bq-0.1.20.tar.gz
- Upload date:
- Size: 10.2 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 | 1896e687427c21221ad7acb0c26208ee17405ac17a293ce4c6854df0755e8459 |
|
MD5 | 027099f183238858ffbae8435b892e1f |
|
BLAKE2b-256 | cdff3c7466f1cd18ac17679d2056e75e4ac5fb1654a798340cf56d87cb0e4602 |
File details
Details for the file am4894bq-0.1.20-py3-none-any.whl
.
File metadata
- Download URL: am4894bq-0.1.20-py3-none-any.whl
- Upload date:
- Size: 9.7 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 | bc9281932e2efef00e01a2e8dde3a5fb890b1659c2fc63f5c715808dfe60a046 |
|
MD5 | 3dce016d828e5b3eabfa092151ed6db3 |
|
BLAKE2b-256 | 6eb28d49cdf39aae9497039521d39f69a066653f49f27729bbf0ebf4b1295cf3 |