pyhdfs-client : Powerful HDFS Client for python
Why it's fast powerful?
Native hdfs client offers much better performance than webhdfs clients. However calling native client for hadoop operations have an additional overhead of starting jvm. pyhdfs-client brings the performance of native hdfs client without any overhead of starting jvm on every command execution.
Features
- HDFS client for python
- Easy to integrate with python applications
- Better Performance than webhdfs clients
- Provide native hadoop client performance without any overhead
- Support both UNIX and Windows
Whats new in 0.1.3?
- Multiple instances of HDFS client enabled.
- [fix] Temporary folder deletion
- [fix] Java process shutdown issues on UNIX
Installation
pip install pyhdfs-client
Requirements: hadoop binaries and py4j installed
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
Contribution
- Any contribution for enhancements and bug fixes is welcome.
Credits
- This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
- 0.1.2 (2021-03-23)
- added UNIX Support
- 0.1.1 (2021-03-22)
- First release on PyPI.
Metadata
Release files for pyhdfs-client 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyhdfs_client-0.1.3.tar.gz | 13.3 kB | Without provenance | Details for pyhdfs_client-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyhdfs_client-0.1.3-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for pyhdfs_client-0.1.3-py2.py3-none-any.whl |
Total release size: 19.7 kB
Release files / pyhdfs_client-0.1.3.tar.gz
| Download URL | pyhdfs_client-0.1.3.tar.gz |
|---|---|
| Size | 13.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
605994f5b42c2a4f5b0dc3808af04d95d8efbab3fe2e366120b8699e47db09be
|
|
BLAKE2b-256 checksum How to use checksums |
30d8867697b5b870ced9001a84cf025e0a981b2dc3c3d7727cae51d7b24626d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
|
Release files / pyhdfs_client-0.1.3-py2.py3-none-any.whl
| Download URL | pyhdfs_client-0.1.3-py2.py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
5491c5f9070951afb21468bb434c6a0d3ab0258c9f023547f3d51c2ea6df4b36
|
|
BLAKE2b-256 checksum How to use checksums |
f8b3623f9fee236d1a5a7ebbc0fd8186d8e45b3a51a6758024d0a0663db781f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
|
Security for pyhdfs-client 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.