Convert Avro schema to CSV.
Project description
avroSchemaToCsvConvertor
avroSchemaToCsvConvertor is a utility to convert from Avro schema to CSV.
Dependencies
- avro-python3==1.9.1
- pycodestyle==2.8.0
How to Run
- Import avroSchemaToCsv
- Use function as so -
avroSchemaToCsv.avscToCsv(file=<path to .avsc Avro Schema files>)
Current Limitations
In the Avro Schema file (.avsc), the format should be like this -
{ "type": "record", "name": "SampleRecord", "namespace": "com.example.avro", "doc": "An autonomous vehicle (AV) debug record.", "fields": [ { "name": "id", "doc": "The unique identifier for the record.", "type": "int" }, { "name": "timestamp", "doc": "Timestamp (datetime) of the record.", "type": "long" } ] }
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file avroSchemaToCsvConvertor-0.1.3-py3-none-any.whl.
File metadata
- Download URL: avroSchemaToCsvConvertor-0.1.3-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97442d51ee9ca4974962339e0027b871d06de7aaba9f895ad2acbbeec2b35da2
|
|
| MD5 |
e4d3a0ea5a06565556a4fb61c80e9b28
|
|
| BLAKE2b-256 |
4444caa8d777e137299abfe180c2fcf57b17cb6b9a0b9be9b329c2f34a8e7b71
|