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.7.0.tar.gz
(117.4 kB
view hashes)
Built Distributions
Close
Hashes for hdfs_native-0.7.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 554448ec6f3a1248e011042c3f40cbca9aeefd368d8e8753ee0052aad0e4f8c5 |
|
MD5 | 9606502b9da05c0066df1789ae1b4fb8 |
|
BLAKE2b-256 | 6b13874adf6c2c654dd9d7fcf0c5571dbf731d1febb43950a2aaedf4d1a1875b |
Close
Hashes for hdfs_native-0.7.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f801e7c1bc07a1be8fe3f5e9ceeb1b8b65aa600550f0ede164576fa8763c1ebc |
|
MD5 | adc80c4d720e28ce2ffb050f12318a42 |
|
BLAKE2b-256 | 21d6704491ec3228f95b3a737ad35e8add9176495c8c57e74ebbb6a45e0a9e27 |
Close
Hashes for hdfs_native-0.7.0-cp38-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18eff8bf4f6c36393efcf8ae2b27ed0cd856ea47f4ecce958e6ee3a9315a0f83 |
|
MD5 | 281014556b67c63fe947755008a2e9bd |
|
BLAKE2b-256 | 87fede403e30d9139033eb37d0ff583ef3bfbba0d5631a9d3844cbd7b58cdef3 |
Close
Hashes for hdfs_native-0.7.0-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cff79a0c930a855c06e275b0ce1a0d67a9db886faad2e556f147b732a404f9be |
|
MD5 | c599faef01ebb8ede330db95d681c31d |
|
BLAKE2b-256 | 60d0dc5a6b50d66fcd706eb2536901797082d5f80e1dfee98380882ad26c7fe6 |