hdfs
HdfsCLI: API and command line interface for HDFS.
Decision gist · record as of 2026-08-14
Yes, if you have a stable HDFS cluster and need straightforward Python access to it. The MIT license is permissive, there are no known vulnerabilities, and the API is mature. However, the package is dormant, so expect no active support or fixes for new Hadoop versions. Suitable for legacy systems or simple use cases; risky for new projects expecting ongoing maintenance.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires an accessible HDFS namenode or HttpFS endpoint; WebHDFS must be enabled on the cluster.
- Installation requires a source tarball (hdfs-2.7.3.tar.gz) with high friction.
- The package is dormant—last release was 1036 days ago—so expect no active maintenance or bug fixes going forward.
License · maintenance · safety
MIT (permissive) — MIT license is permissive, allowing commercial and private use with minimal restrictions, making this safe from a licensing standpoint for most projects.
last release 2023-10-13 (1036 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 6,220,079 downloads/mo, #1,955 on PyPI
Alternatives
Verify before relying
pip install hdfs
from hdfs import InsecureClient
client = InsecureClient('http://localhost:50070')
files = client.list('/path')
with client.read('/path/file.txt') as reader:
content = reader.read()- Whether optional extensions (avro, dataframe, kerberos) are installable and functional given the dormant maintenance status.
- Current compatibility with modern Hadoop/HDFS versions and whether breaking API changes have occurred since the last release.
- Whether the package remains compatible with Python 3.10, 3.11, and 3.12 despite dormant maintenance status.
What it is and what it does
HdfsCLI is a Python library and CLI tool that wraps the WebHDFS API to let you interact with Hadoop Distributed File System clusters. It provides both programmatic access—listing directories, reading and writing files, checking file metadata—and an interactive shell for ad-hoc exploration. The package supports both secure and insecure clusters, and includes optional extensions for Avro serialization and Pandas dataframe integration.
The library is marked Production/Stable and supports Python 3.7, 3.8, 3.9, 3.10, 3.11, and 3.12, but has not been actively maintained since 2023-10-13. It carries no known security vulnerabilities. Installation requires building from source, which adds friction. If your HDFS cluster is stable and your use case is straightforward file operations, the dormant status may not matter; if you need active support or are integrating with rapidly evolving Hadoop ecosystems, the lack of maintenance is a significant risk.
Use it for
- Batch upload or download files to/from HDFS in Python scripts without writing Java code.
- Query HDFS file metadata (permissions, replication, block size) programmatically from Python.
- Load Pandas dataframes directly from HDFS files using the optional dataframe extension.
- Automate HDFS file operations in data pipelines using the Python API.
- Interactively explore HDFS directory structure and file contents via the CLI shell.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you have a stable HDFS cluster and need straightforward Python access to it.
The MIT license is permissive, there are no known vulnerabilities, and the API is mature. However, the package is dormant, so expect no active support or fixes for new Hadoop versions. Suitable for legacy systems or simple use cases; risky for new projects expecting ongoing maintenance.
Install
hdfs on PyPI
Before you install
Installation requires a source tarball (hdfs-2.7.3.tar.gz) with high friction. The package is dormant—last release was 1036 days ago—so expect no active maintenance or bug fixes going forward.
Requires an accessible HDFS namenode or HttpFS endpoint; WebHDFS must be enabled on the cluster.
License in practice
MIT license is permissive, allowing commercial and private use with minimal restrictions, making this safe from a licensing standpoint for most projects.
Quickstart
pip install hdfs
from hdfs import InsecureClient
client = InsecureClient('http://localhost:50070')
files = client.list('/path')
with client.read('/path/file.txt') as reader:
content = reader.read()
Verify before relying
- Whether optional extensions (avro, dataframe, kerberos) are installable and functional given the dormant maintenance status.
- Current compatibility with modern Hadoop/HDFS versions and whether breaking API changes have occurred since the last release.
- Whether the package remains compatible with Python 3.10, 3.11, and 3.12 despite dormant maintenance status.
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Dormant 1,036 days since the last release |
| First released | |
| Downloads | 6,220,079 / month, #1,955 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: hdfs-2.7.3.tar.gz
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “webhdfs api wrapper”
- hdfsHdfsCLI provides Python bindings and a command-line interface for…
- smart-openProvides a unified, open()-compatible Python API for streaming large…
- apache-airflow-providers-apache-hdfsIntegrates Apache Hadoop Distributed File System (HDFS) and WebHDFS…
Give your agent the search over MCP, or paste the wish link into any chat.
More Distributed Computing packages
gRPC Python is an HTTP/2-based RPC framework that enables you to define and call remote procedures across network boundaries using protocol buffers for serialization.
Install it if you need RPC communication in a distributed system or are integrating with existing gRPC services.
execnet lets you spawn and communicate with Python interpreters across local processes, remote hosts, and different platforms, using a simple API for task distribution and inter-process messaging.
However, the aging maintenance status (275 days since last release) means you should verify it meets your concurrency and performance needs before committing to a…
Cloudpickle extends Python's standard pickle module to serialize lambda functions, interactively-defined functions and classes, and other constructs that the default pickle cannot handle, making it suitable for cluster computing and remote code execution.
Install it if you need to serialize lambda functions, interactively-defined code, or non-standard Python constructs for cluster computing or distributed execution.
Provides a unified, open()-compatible Python API for streaming large files from remote storage (S3, GCS, Azure, HDFS, SFTP, HTTP) and local filesystems, with transparent compression support.
Install it if you work with large files on cloud storage or remote systems and want to avoid writing boilerplate around multiple SDKs.
Portalocker provides cross-platform file locking with support for exclusive and shared locks, plus Redis-based distributed locks and process-aware PID file locking.
Install it if you need file or process coordination; the optional extras (pywin32, redis) are only required for specific lock types.
Ray is a distributed computing framework that scales Python applications from a single machine to multi-node clusters, providing abstractions for parallel tasks, stateful actors, and shared objects.
See also snakebite-py3 · yarn-api-client · apache-airflow-providers-apache-hdfs · webdavclient3 · google-cloud-dataproc · livy · amazon-dax-client · pyspark-client · python-magnumclient