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.17.tar.gz
(10.1 kB
view details)
Built Distribution
File details
Details for the file am4894bq-0.1.17.tar.gz
.
File metadata
- Download URL: am4894bq-0.1.17.tar.gz
- Upload date:
- Size: 10.1 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 | 960a2960bfba316e0b450ca8c88f742da9394516345fc26e674081cddc569f52 |
|
MD5 | 0ea15cc1ee36aae16788aeb6d9431575 |
|
BLAKE2b-256 | 5b71ec37909822c2e850cbb1162ad63b67a2b463ba4c32e433faa9752d37dd4c |
File details
Details for the file am4894bq-0.1.17-py3-none-any.whl
.
File metadata
- Download URL: am4894bq-0.1.17-py3-none-any.whl
- Upload date:
- Size: 9.6 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 | 2b255fbd9854a0218caf0bc5a05188f98cd4c0dd793cb7f7f7860c98077737fd |
|
MD5 | 1d4f03f285a89979a4f7670d9d68b503 |
|
BLAKE2b-256 | f93d01a945fbe6bc633e9f8c54b345a0c1a73eb4c2264549a1c73924f8d5a8ff |