Avro to Bigquery
About The Project
Avro to bigquery is a simple project to create a bigquery schema from an avro schema.
Getting Started
Installation`
pip install avro-to-bigquery
Usage
With avro_schema.avsc:
{
"type": "record",
"name": "User",
"namespace": "example.avro",
"fields": [
{"name": "favorite_number", "type": "int", "doc": "Favorite number"}
]
}
>>> import json
>>> from pathlib import Path
>>> from avro_to_bigquery import convert_schema
>>> schema = json.loads(Path("avro_schema.avsc").read_text())
>>> print(convert_schema(schema))
(SchemaField('favorite_number', 'INTEGER', 'NULLABLE', 'Favorite number', (), ()),)
Roadmap
See the open issues for a list of proposed features (and known issues).
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated. For detailed contributing guidelines, please see https://github.com/wayfair-incubator/avro-to-bigquery/blob/main/CONTRIBUTING.md
License
Distributed under the MIT License. See LICENSE for more information.
Contact
Project Link: https://github.com/wayfair-incubator/avro-to-bigquery/
Metadata
Release files for avro-to-bigquery 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| avro-to-bigquery-0.3.1.tar.gz | 5.4 kB | Without provenance | Details for avro-to-bigquery-0.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| avro_to_bigquery-0.3.1-py3-none-any.whl | Python 3 | none | any | Details for avro_to_bigquery-0.3.1-py3-none-any.whl |
Total release size: 11.4 kB
Release files / avro-to-bigquery-0.3.1.tar.gz
| Download URL | avro-to-bigquery-0.3.1.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3d520362d356cce2c277cfe7f0a29ddebab710a8f5d19b6079a4c858d4b23d1d
|
|
BLAKE2b-256 checksum How to use checksums |
f7dfafb0030000433e8634932ef86b300b6ed132e8341eeaaca74b434c5beb2b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / avro_to_bigquery-0.3.1-py3-none-any.whl
| Download URL | avro_to_bigquery-0.3.1-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4852033dac92d25accbd0de4d01f2a3bef8f8b8edb9a51d17126f9e62800e347
|
|
BLAKE2b-256 checksum How to use checksums |
50888568d4c55b1ad25192911eb99d80cf6363938cb13bd43cb1b8c28fe29f64
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Security for avro-to-bigquery 0.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.