hdfs3
This project is not undergoing development
Pyarrow's JNI hdfs interface is mature and stable. It also has fewer problems with configuration and various security settings, and does not require the complex build process of libhdfs3. Therefore, all users who have trouble with hdfs3 are recommended to try pyarrow.
Old README
hdfs3 is a lightweight Python wrapper for libhdfs3, a native C/C++ library to interact with the Hadoop File System (HDFS).
View the documentation for hdfs3.