Python bindings for hdfs-native Rust library
Project description
Native HDFS Python bindings based on hdfs-native Rust package.
Installation
pip install hdfs-native
Example
from hdfs_native import Client
client = Client("hdfs://localhost:9000")
status = client.get_file_info("/file.txt")
Kerberos support
Kerberos (SASL GSSAPI) is supported through a runtime dynamic link to libgssapi_krb5
. This must be installed separately, but is likely already installed on your system. If not you can install it by:
Debian-based systems
apt-get install libgssapi-krb5-2
RHEL-based systems
yum install krb5-libs
MacOS
brew install krb5
Running tests
The same requirements apply as the Rust tests, requiring Java, Maven, Hadoop, and Kerberos tools to be on your path. Then you can:
python3 -m venv .venv
source .venv/bin/activate
pip3 install maturin
maturin develop -E devel
pytest
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
hdfs_native-0.10.1.tar.gz
(150.6 kB
view hashes)
Built Distributions
Close
Hashes for hdfs_native-0.10.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75549f09017a658c518ac6836d8e690ce81bff8280f0c8d4e6f7910d9fd6e11e |
|
MD5 | f2ccebb0537dd7df4843dc44fec32987 |
|
BLAKE2b-256 | a0949c92678e6801118e86300f10df4ff075495e53338dd16f3be98b69b8291c |
Close
Hashes for hdfs_native-0.10.1-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 355536d4418e7b63a82a72b2f6d2967a47e66705c9cdefc2d17a88673117243b |
|
MD5 | 575cf1ded917dea72834b1cf72493389 |
|
BLAKE2b-256 | 2cecce0c8e0eb2d9f36815e7e858c8a9c79f1310096edb7934a654ba492b5380 |
Close
Hashes for hdfs_native-0.10.1-cp38-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25d788e2db3c78411de8958345c69839aaddacbf967b88b9702f199a80862c63 |
|
MD5 | 85345713eb65a09d9b9047a4fe1f4f28 |
|
BLAKE2b-256 | e4fcec6dc41937e349e04b344868a2181d85208c477aef1f043246e0ddd836b4 |
Close
Hashes for hdfs_native-0.10.1-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b2990e684c9516f498769c2d4d873f639ae3b37d6896d8cadcd29982a32e9ae |
|
MD5 | 371281d20be3f0ffd277903b79347631 |
|
BLAKE2b-256 | 7dc004af5e401db8cd2d098b9ee5a6df0b352aa5b2df4fb519a57a3d40d2803f |