Skip to main content

Convert Avro schema to CSV.

Project description

avroSchemaToCsvConvertor

License:MIT

avroSchemaToCsvConvertor is a utility to convert from Avro schema to CSV.

Dependencies

  • avro-python3==1.9.1
  • pycodestyle==2.8.0

How to Run

  1. Import avroSchemaToCsv
  2. 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

avroSchemaToCsvConvertor-0.1.3-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page