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
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for avroSchemaToCsvConvertor-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97442d51ee9ca4974962339e0027b871d06de7aaba9f895ad2acbbeec2b35da2 |
|
MD5 | e4d3a0ea5a06565556a4fb61c80e9b28 |
|
BLAKE2b-256 | 4444caa8d777e137299abfe180c2fcf57b17cb6b9a0b9be9b329c2f34a8e7b71 |