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")
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
pip3 install -r requirements-dev.txt
maturin develop
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.3.0.tar.gz
(110.0 kB
view hashes)
Built Distributions
Close
Hashes for hdfs_native-0.3.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | add45569d2a586bb018be44180004747168239428832e1d8995f461d0534ff12 |
|
MD5 | 7d6aa1020c2748b14ed86ab80c43c5c1 |
|
BLAKE2b-256 | b6f9a5a0d008a269b2bff55b42b7c15c9275dbbb434e2af38b3a8cfabc208e3c |
Close
Hashes for hdfs_native-0.3.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 149d66d521538f9c33d7c604e11043f2932e2d586df7dc0841fc4bbd949efad6 |
|
MD5 | 74996b07298c2e73a246af72083c6a48 |
|
BLAKE2b-256 | 73fd5db9f33bbcea796f536de8d88ee76ad8a4bce8fcdc2823aae27a5a84a133 |
Close
Hashes for hdfs_native-0.3.0-cp37-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c39db8da8ce6035c4919162643bc0519d4617653c9b8073c8945fe6fa115d567 |
|
MD5 | 864a0663c6f571fc84cac1f884e6dc40 |
|
BLAKE2b-256 | 0c5a77e784454216c0d648395b997128ce0c7417d3ff08604761f97bb0cb1bd0 |
Close
Hashes for hdfs_native-0.3.0-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4a4ac7c90ae17fdad6739afd67d7d84f5bfcab5656943afd4e8842920ae4adf |
|
MD5 | d52814eaa698feb4a9cfa72753dfb2dc |
|
BLAKE2b-256 | a3b3d52d6972164624769959331d0854e5b71499a8c134dfdbad1db244ca4202 |