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.1.tar.gz
(133.8 kB
view hashes)
Built Distributions
Close
Hashes for hdfs_native-0.9.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ae5ecead989ce42664bd7d48bdb6bbb5b02770bc5bdccbc600fcb8a00c2c600 |
|
MD5 | 311c1af1605119f1eae19f86bc35cb09 |
|
BLAKE2b-256 | 61ecda483c2b2455e273787b556a485426ba6a633d79e0374946447ee2809894 |
Close
Hashes for hdfs_native-0.9.1-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9230f52f6f82750b1c64615a61b83caf0f3ab0d437c7edcfa79baf2d474516e0 |
|
MD5 | b06d7e7f9001188e7053697b51641ee8 |
|
BLAKE2b-256 | 870d01e5277ad450fac867fa74403a99fb43c44941a26b139326a0859b4e59d4 |
Close
Hashes for hdfs_native-0.9.1-cp38-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f71a3fa11d59764b63bb2cf22029e8c6605b5cad1a040a31b91832efbcb32405 |
|
MD5 | b5751322fb376918ec9ecb0c42cae579 |
|
BLAKE2b-256 | 8d436a6b4255425f716bd744b1cae93c952cb19b586c0834efbecb81ad8bab92 |
Close
Hashes for hdfs_native-0.9.1-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6f8ed09af79fe7b9359a863420dea9f0d2b0dbed2501fa6541bdfeea88c68bd |
|
MD5 | eeb34ff9c0ecd2b14c4ca090452e724b |
|
BLAKE2b-256 | 32cbd7e891387f20a0d23703f85052ea08839bcc04982d61021d2f1283683b81 |