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.5.0.tar.gz
(117.7 kB
view hashes)
Built Distributions
Close
Hashes for hdfs_native-0.5.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 486299030598a2701bec3c9b025cd453c7d27621d07c4576386ddf129b640c42 |
|
MD5 | affe456f4be97d7c71558050ae192ebb |
|
BLAKE2b-256 | cec6f6d4ccac50ba0178491f7178387c1e552b71d5476e5bdbc6db0a73d3bae0 |
Close
Hashes for hdfs_native-0.5.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa069832fcf26951e1fe7cc92496f8cb9430b3ce455ff7d0985e5fb59438b08f |
|
MD5 | 8cc118ca0b16d45c5a17814a156a6866 |
|
BLAKE2b-256 | 0894c9264aa6cea1edfd76f896c6560210aa0fafb41db85daadf521934ffb14c |
Close
Hashes for hdfs_native-0.5.0-cp38-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b0d2c8e7dd2d5e2f2c5ef6a5c750374bb23bd3a924f7d37226820bc33036c64 |
|
MD5 | d2d393552827105aeaad57f723f3ac22 |
|
BLAKE2b-256 | c0ae49b26959f58f462ea48ee16ebd9380a90c0eb524f840e2b04ffffb3d43eb |
Close
Hashes for hdfs_native-0.5.0-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3a0dd395003ae992f5968baa38142a7d2f8d371842d31d89499ce3666b4aa20 |
|
MD5 | 47af73d093eb9186244201349cd18ea5 |
|
BLAKE2b-256 | d860360e5f8e78aa61eca0a99a66abce511de17b0e496405e132c462bfcba818 |