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.4.tar.gz
(132.2 kB
view hashes)
Built Distributions
Close
Hashes for hdfs_native-0.9.4-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 232d3d4741cf09c39ba0f077e2a4a9fb3cf41ebfda331741ffefb5e31aa1e116 |
|
MD5 | 23511e0d755c786313863fd60e100321 |
|
BLAKE2b-256 | 9500984caa66d56a815678a883e0c70080c0caeb96b4986fe3c26162105594be |
Close
Hashes for hdfs_native-0.9.4-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6ff523c48d32e4b4d4e8e59fb5710c922e6ddbfdc57c892190d8458fbbf4c43 |
|
MD5 | c0434eff065a09044b5338ee11210c80 |
|
BLAKE2b-256 | cc47f216a190a5666ecb65c4bd288dc7f4c0d5b0e16cabdbcbce4fe6a1ec9494 |
Close
Hashes for hdfs_native-0.9.4-cp38-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef9a9caafd3bd22ab107574ca7f27948b17a812e41a640c43544354bb64a288e |
|
MD5 | c6576d2d12f1941327c74e14cb47cc03 |
|
BLAKE2b-256 | ab6103c372d55db240c92a5321b412fa182103d0e9334d5d591d1201d6a460fc |
Close
Hashes for hdfs_native-0.9.4-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 031245c43b519d0d73e35aebadf3c134f771e48cd49557b0f97bc8cd6d83a9b1 |
|
MD5 | 94625057a92fd4b9f5ec29840ea287af |
|
BLAKE2b-256 | 98f17bc7bc31bb4b9a42e6ab7ab6eee8f9b3721e7afaba0249bb398b3d3ae68a |