HdfsCLI

API and command line interface for HDFS.

Installation

Using pip:

$ pip install hdfs

By default none of the package requirements for extensions are installed. To do so simply suffix the package name with the desired extensions:

$ pip install hdfs[avro,dataframe,kerberos]

Sample script

More examples can be found in the examples/ folder on GitHub.