A py4j based hdfs client for python for native hdfs CLI performance.
Project description
pyhdfs-client
A py4j based hdfs client for python providing native hdfs CLI performance.
Features
- Easy to integrate with python applications
- No extra overhead to start HDFS client on every call
- Native HDFS client performance
Sample Usage
>>> from pyhdfs_client.pyhdfs_client import HDFSClient
>>> hdfs_client = HDFSClient()
>>> ret, out, err = hdfs_client.run(['-ls', '/'])
>>> print(out)
Found 1 items
drwxr-xr-x - gp supergroup 0 2021-03-21 01:10 /f1
>>> hdfs_client.stop() # to terminate hdfs client
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
======= History
0.1.1 (2021-03-22) 0.1.0 (2021-03-22)
- First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyhdfs_client-0.1.1.tar.gz
(12.0 kB
view hashes)
Built Distribution
Close
Hashes for pyhdfs_client-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e30031ea33c2a4780fe19ff591f3b3d58d6e930ea8d031d749938e7b9f79fc95 |
|
MD5 | 54b53e1c8b4134c1bf3b9395495321d5 |
|
BLAKE2b-256 | e06aa9d02fcc7526c3db296ad80c266d200410f2dc9ed9a3e32de7e0e8917eac |