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


Download files

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

Source Distribution

python-hdfs-0.4.tar.gz (13.1 kB view details)

Uploaded Source

File details

Details for the file python-hdfs-0.4.tar.gz.

File metadata

  • Download URL: python-hdfs-0.4.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for python-hdfs-0.4.tar.gz
Algorithm Hash digest
SHA256 6bb714d5bc0ccce0ae7764f16fe11ab1e07bd887809e92bf6414895ee6f17c15
MD5 b1ba03fbf92b9a1a670b82fc2ecc0687
BLAKE2b-256 d0017ddaa6e7f5c4541208cf74bb59e6a0981bc5ad5a57fa54105ddfb9bfed16

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page