Skip to main content

Python wrapper for libhdfs

Project description

libpyhdfs
==================================================

Introduction
--------------------------------------------------

libpyhdfs is a Python extension module which wraps the C API in libhdfs to
access Hadoop file system.

Sample usage:

#!/usr/bin/env python
import pyhdfs

fs = pyhdfs.connect("192.168.1.1", 9000)
pyhdfs.get(fs, "/path/to/remote-src-file", "/path/to/local-dst-file")

f = pyhdfs.open(fs, "/user/wormtongue/quotes.txt", "w")
pyhdfs.write(fs, f, "Why do you lay these troubles on an already troubled mind?")
pyhdfs.close(fs, f)

pyhdfs.disconnect(fs)


Installation
--------------------------------------------------

Please see the file called INSTALL.

Project details


Release history Release notifications

This version
History Node

0.4

History Node

0.3

History Node

0.2

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
python-hdfs-0.4.tar.gz (13.1 kB) Copy SHA256 hash SHA256 Source None Jun 9, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page