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.15.tar.gz
(10.0 kB
view details)
Built Distribution
File details
Details for the file am4894bq-0.1.15.tar.gz
.
File metadata
- Download URL: am4894bq-0.1.15.tar.gz
- Upload date:
- Size: 10.0 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 | f7e6cf7cbcdab006ec922317587474051cddc1986e9134c57d22c022668e65f2 |
|
MD5 | 0a337cb52c1a643c14d2a5c980b8d39b |
|
BLAKE2b-256 | 8e404d76cb760f7b0f9ad252c505a3922225b90b2f3fec3f21b4733e48788418 |
File details
Details for the file am4894bq-0.1.15-py3-none-any.whl
.
File metadata
- Download URL: am4894bq-0.1.15-py3-none-any.whl
- Upload date:
- Size: 9.5 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 | bebce7b8457f824e539ae8a39483f0850003b7e0d856179bc5d53d759bef337b |
|
MD5 | c0cded3e4fb66eae6af2828b4c9326ca |
|
BLAKE2b-256 | a615952ce2bfb0675d876faf525f57206c29be53b018f5bfe286a5aca2c4e981 |