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.4.0.tar.gz
(113.6 kB
view hashes)
Built Distributions
Close
Hashes for hdfs_native-0.4.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e9a1cb1d2d4222ff7b9c78695b8a1cae228401184141ea916332485936dbf36 |
|
MD5 | 2d3ac10156d3fa314c1947dc8a44695b |
|
BLAKE2b-256 | e53aa3834c95f41e2e868994dd59c751c36457a53744e3fbbd34968719426115 |
Close
Hashes for hdfs_native-0.4.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33785ecc28f4343139a397adc66ba74c3f4ed9d844fa45ee0f42729b75bc0cb8 |
|
MD5 | d396b87056357563e2f8d760f4826970 |
|
BLAKE2b-256 | 1e7b3970651e272d8bcbdeac353e07117b46772023ffd8c82e80d2dc7cbab547 |
Close
Hashes for hdfs_native-0.4.0-cp38-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 146df0e4c7bfbab30259a8835c7749939223570548a47d438833c4963cfbff8d |
|
MD5 | eec1edcc8d53e657bd88ba5ea83023e6 |
|
BLAKE2b-256 | 782d23cbdeeee1ce34f2882312bdca211a2cd93d3837c1a1cfbbaffecad2332e |
Close
Hashes for hdfs_native-0.4.0-cp38-abi3-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3cd8c3e6825b548ae6241740654d43534600329bc56bfabd633269567495865 |
|
MD5 | aabdbcbc6ee1835a42f8114a8e4f22b0 |
|
BLAKE2b-256 | 388af9a321a6fb96055a446c219e7261fc634c5c3dfe0aa81a1ee76a3f8a536f |