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.2.tar.gz
(134.2 kB
view hashes)
Built Distributions
Close
Hashes for hdfs_native-0.9.2-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4aab3bcb67a53085b167fb5af856669da8eb25b33f9cd8640d56880b2751997 |
|
MD5 | 613f1116542cc628017347ecdc665a72 |
|
BLAKE2b-256 | f675ef0033e04cdfc5caa7fd89a8d564c5c3f79a2f36c33dc99733944f48b1ca |
Close
Hashes for hdfs_native-0.9.2-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c6d02df440bfb071020e10ce016c0add3cdeb5e599dc6326e824f094af20342 |
|
MD5 | c2eaa97704deec8af2ce37bea6f5608e |
|
BLAKE2b-256 | 50846df98758fce25fce479fbd8c3c1bdb0476327f1129188a6afc18d5523773 |
Close
Hashes for hdfs_native-0.9.2-cp38-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6cfb227a004ce9befd390ed642cb2363397ae61426fbd07da9bfef5d4b0ed5b |
|
MD5 | 610068e76c3fb84db5c3cc4f8d7387af |
|
BLAKE2b-256 | 9637b0546ede77ea841e6919ac7c43114d4aa3d3ab5da90f889f6622d4b9a71b |
Close
Hashes for hdfs_native-0.9.2-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ccd847d2212d9a7abba3f462548acb16a16e8f2fd6b20b8f2e2c62e8e562da1 |
|
MD5 | ce820119b01b1d1677591fcc01407408 |
|
BLAKE2b-256 | 31279dcfc5313fd8ed284914713587e39e7c62c52a72a594d758c5009d6b9b0e |