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.27.tar.gz
(10.4 kB
view details)
Built Distribution
am4894bq-0.1.27-py3-none-any.whl
(10.0 kB
view details)
File details
Details for the file am4894bq-0.1.27.tar.gz
.
File metadata
- Download URL: am4894bq-0.1.27.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b24133833fa40c74d49bf13cdb7aa223a547fe10efc1d84887d04584eb5d8a1b |
|
MD5 | cb5fd5d0cbab2295cf73cbea0a2d50d5 |
|
BLAKE2b-256 | 234c926bbc67df2b139c316f0631f6d1201dd8e6824b1b925ed9156179a9a13d |
File details
Details for the file am4894bq-0.1.27-py3-none-any.whl
.
File metadata
- Download URL: am4894bq-0.1.27-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 620910a703230dc9a09ba1a8c2b131008f113714b9965258f2a764638b891a4b |
|
MD5 | fc9cedab4918f08fec0108d9a16f9c58 |
|
BLAKE2b-256 | 23fede395c430ed0019657fa8718b9bf1ed0ca2d2642376d1800541051233ffa |