Skip to main content

Commandline Avro Toolbelt

Project description

# AvroTool

A python commandline tool to manipulate Avro files

## Installation

pip install avrotool

Note: if you have build issues on OSX, try

brew install snappy CPPFLAGS=”-I/usr/local/include -L/usr/local/lib” pip install python-snappy pip install avrotool

## Usage (Basic)

To print the avro usage

avro avro -help, -h

To print detailed information about a command

avro -help-command COMMAND

To print the version

avro version

## Print Schema

To print the avro schema :

avro schema -f AVRO_FILE (-format json|text)

## Extract Data

To extract named columns to STDOUT

avro extract -f AVRO_FILE -columns a,b,c,d,e

## CHANGELOG

2017-03-19 0.0.1 Initial Prerelease. schema and extract functionality only.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

avrotool-0.0.2.tar.gz (4.1 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page