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.6.0.tar.gz
(115.9 kB
view hashes)
Built Distributions
Close
Hashes for hdfs_native-0.6.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 323b704db273986bdd2e56dd48e138b6a863d13a0d348be1c109cc5de7a1071c |
|
MD5 | 08ea124151bc42dbfd2562e1d0a6edf3 |
|
BLAKE2b-256 | 535b7b9594faec116ce162309f1b8761e1691f7d0ce158621f02091a77080ef0 |
Close
Hashes for hdfs_native-0.6.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a255137f335fa39ed470c637e9df0837702f084440188b756fbc7ec45c7d5bd |
|
MD5 | 17dbf331b204d8dc6223771bd932bed1 |
|
BLAKE2b-256 | da9d72d5e93e23d647700b14ffa5d481dbcee0b2d72d6b1699da88b9322b758d |
Close
Hashes for hdfs_native-0.6.0-cp38-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88209b278063f031679bb41511f2ca0a366d5ae15e4e1f2a2a6072200af102a0 |
|
MD5 | 7678054ac1462b9e5781fe6c21d939f6 |
|
BLAKE2b-256 | 449cd97bba016be3a54081dcc9c25632440758ce8b3507267d91886f4467477f |
Close
Hashes for hdfs_native-0.6.0-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e50607b27011744200911f707c452aad468dbd04e27a4c792697a20309da337e |
|
MD5 | 59af5543526cbf738e38f7de930b6201 |
|
BLAKE2b-256 | 32eb33e2fdc7e5181756062629a76c3167f0d0839f46a202b2d993c0d8edfcbb |