Also added a __main__.py so you can use fastavro to process Avro files:
- python -m fastavro weather.avro # Dump records in JSON format
- python -m fastavro --schema weather.avro # Dump schema
If it won't be simple, it simply won't be. [Hire me, source code] by Miki Tebeka, CEO, 353Solutions


A chat room is a great tool for any team. I've worked both in distributed and
"local" team and in both cases a central chat room was one of the most
effective tools we used. The chat room is the central location for updates,
conversations, shared knowledge and more. It's also highly effective in many open source projects.import ingress ingress.install()
usage: avrocat [-h] [-n COUNT] [-s SKIP] [-f {json,csv}] [--header]
[--filter FILTER] [--schema]
filename
`cat` for Avro files
positional arguments:
filename avro file (- for stdin)
optional arguments:
-h, --help show this help message and exit
-n COUNT, --count COUNT
number of records to print
-s SKIP, --skip SKIP number of records to skip
-f {json,csv}, --format {json,csv}
record format
--header print CSV header
--filter FILTER filter records (e.g. r['age']>1)
--schema print schema