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.8.0.tar.gz
(136.4 kB
view hashes)
Built Distributions
Close
Hashes for hdfs_native-0.8.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf11f25552bf6e5e8222c6e90669c222a59a42784e5d972978fad713fdefe157 |
|
MD5 | 347c9532a93b920f3393639bbf693603 |
|
BLAKE2b-256 | c2a1f18216d6866093547996bfaaeac8a4bf21538e8c0b48f6fa89fcafc07cae |
Close
Hashes for hdfs_native-0.8.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5823b5769dc0e4a61d1e60763e107276642a87f44037fbba492668b5312dd972 |
|
MD5 | 2d590cdb1f8ea7a6c2ac4dde668a7a96 |
|
BLAKE2b-256 | 06e411213290c12010fd18baa3f871f5f6e13056a348caf015d0844327eeef21 |
Close
Hashes for hdfs_native-0.8.0-cp38-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a12c216faf7f83fb7cc1dd53f83238cb56bcd23f2c83cfd89a94e646fec3b053 |
|
MD5 | 641127f771d0f2ab115129b5f16e67f1 |
|
BLAKE2b-256 | c3e949a82aebb7e553626155aab940894fa8f182d24ed2e0b38fb43e87cd8ae1 |
Close
Hashes for hdfs_native-0.8.0-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4791802910d3628e171c358b7024340a82d8e7f2c014774479d90be945867f62 |
|
MD5 | 7f572d34806bde050f3c752a24bb3ab7 |
|
BLAKE2b-256 | d75e93a21cdde65232bfc2d258f60d476da1ba9382e50507023246410f9015c9 |