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.9.3.tar.gz
(132.2 kB
view hashes)
Built Distributions
Close
Hashes for hdfs_native-0.9.3-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14bf2fe63ddf609077be8b92b7c8f6620d8ebe4220c7353bfef28b4a8e305975 |
|
MD5 | 2f7b3c22aebe9d39f3f3fd7ed784bc44 |
|
BLAKE2b-256 | ff225dd4fa0e5705673defa31a0a8a518df09d17661b9bcd8dbc09edb5bb501f |
Close
Hashes for hdfs_native-0.9.3-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be4941d1fcc70570ccc2efd5a76087ff0a3d5539e523a4e74710ab9457e1b5c9 |
|
MD5 | 2e571ee5beb347865bf17970e9881c8f |
|
BLAKE2b-256 | 8101b062b1777890b239f4335ee97ecb2556525d9c5ef5203f196d2f2e3285c0 |
Close
Hashes for hdfs_native-0.9.3-cp38-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68a32714be18d4051a42d8ab0b95095348a77ed7600006d6da9de48a88d3d658 |
|
MD5 | 66ed738d8110b2a47ae8700337e3fd01 |
|
BLAKE2b-256 | d848db74395b7b94d98a713397e4bce22e0abf0aeb0eb598bc19733ce417f5b4 |
Close
Hashes for hdfs_native-0.9.3-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 501eaaf03f4a3119a717b7c90da285e352ca6e95fd8a1df3cbfc37fa62d04a80 |
|
MD5 | c9dfe58cd7144c50f94aa96501ca7452 |
|
BLAKE2b-256 | 555d9f4322bbc052f0263b5b5b6978bc5765930cc9695a397116c20f3bc0ded9 |