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.2.1.tar.gz
(106.0 kB
view hashes)
Built Distributions
Close
Hashes for hdfs_native-0.2.1-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e41f08f215b2396f13c7dd417b56194d2e20756798f0bc7d1929ce3e4e702c5 |
|
MD5 | b0513468823c832bb4930b82921a29dd |
|
BLAKE2b-256 | 3bec426e0528abad612ad6129ae16bacc03190ec95f57a94278b664b3e5f4919 |
Close
Hashes for hdfs_native-0.2.1-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc1e241436762ae594aa246cd7eb1796bd0cca1bc3d6156c9a829925ce71ff6b |
|
MD5 | aa5184e329f59e48fbba55c4e3d9ecaa |
|
BLAKE2b-256 | e1e0b3cc9b47df408e34e5ea245beea6d59a993b2ad029d6ee89716dcacdc071 |
Close
Hashes for hdfs_native-0.2.1-cp37-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3201268021f74754a1602085522f8314c49a61c62aeee171dfc715f89c92bf07 |
|
MD5 | d1efbd4e9006ff38521d0470a41bfa0a |
|
BLAKE2b-256 | f00f848be22dc85fea55b6bb5f38a247e0adee2ca0bfd2980329c1e66b46d6a0 |
Close
Hashes for hdfs_native-0.2.1-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 823343e3d72409b926ab841f947f31f6eff1fe3d7836b2c5d4af7a654b7387af |
|
MD5 | d721dcb710e9e10b3cd0c3606dc39978 |
|
BLAKE2b-256 | 6b727576454e054f8bd1c4b0254edef521bb792249ca3069d26bf84ae0139346 |