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
Built Distributions
File details
Details for the file hdfs_native-0.10.2.tar.gz
.
File metadata
- Download URL: hdfs_native-0.10.2.tar.gz
- Upload date:
- Size: 153.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66747ad35a4ba3027faa2e94b6d6ce14901cff2e3c4308b0573f744d1118c692 |
|
MD5 | 82815f6cc89acae28fec752d082130ff |
|
BLAKE2b-256 | dbb090bb52833e4d8c0f6e0b58dd7183bce5bc26a70d837fae33f4d936b8acfb |
File details
Details for the file hdfs_native-0.10.2-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: hdfs_native-0.10.2-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 2.5 MB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ace5ed832161b41ae525a783939cc3656562a6b81689a4b0ddeba8249364013a |
|
MD5 | 41e735c237e095e511ed0ef1b0fbea09 |
|
BLAKE2b-256 | db8e567d64369ae29ebacfc5cccf02dc51fae70569fa7450d75068ef1ff86995 |
File details
Details for the file hdfs_native-0.10.2-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: hdfs_native-0.10.2-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 2.4 MB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ac9d9c1bdab6e4a72f38d02c03d9a9a7616bea6f0ee6d04ec56a23d41d3ae98 |
|
MD5 | 195278977762ad6b51786f581dfb87f1 |
|
BLAKE2b-256 | f6b0c9b511698b1ed02c9b0a77e7e986a9e8bfed240cb584b96206f9bb479e84 |
File details
Details for the file hdfs_native-0.10.2-cp38-abi3-macosx_11_0_arm64.whl
.
File metadata
- Download URL: hdfs_native-0.10.2-cp38-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 2.2 MB
- Tags: CPython 3.8+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd6105fe645cc6903db0d9ddf27ce8f46a851cb0e46b7afe64da9a92baf4ebc9 |
|
MD5 | d948dfd0bd38d49f6d684abd3bf32a0f |
|
BLAKE2b-256 | 467f62733a5621b3b9b5d23033a5c890f38df2e53a7a84ae64eebfe64bf5ee7d |
File details
Details for the file hdfs_native-0.10.2-cp38-abi3-macosx_10_12_x86_64.whl
.
File metadata
- Download URL: hdfs_native-0.10.2-cp38-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 2.3 MB
- Tags: CPython 3.8+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4347861f8403e5ca45f56b30a3f0020ed1b285697c4419f024924cc74836764c |
|
MD5 | d02af882b9b9f8b5269876d45190c409 |
|
BLAKE2b-256 | f35d522e19961d69f8ccb6ba4c8b0428cc06fb4382a8c9b78cc85b63c6fb3c6c |