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.0.tar.gz
(105.6 kB
view hashes)
Built Distributions
Close
Hashes for hdfs_native-0.2.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84144ff654d155e1791523b7386aaaf8ce255f41b060f940f1ac4383f24b1d8b |
|
MD5 | 1b77298280086a7bad7c51fb98a61235 |
|
BLAKE2b-256 | f958e9d14145b97ecfb3d338eb3eb35782daa9b1269331de305a0cc8bc0abf88 |
Close
Hashes for hdfs_native-0.2.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b49ced35cea8010116eb1262cee9ebc4c9c8ae989432df2979a9da5554a66697 |
|
MD5 | f7cdc88fb04a41770d7f652fc11be565 |
|
BLAKE2b-256 | 8ebf03b6fd6c3ddd77a5c1c5da6ca12aec2084b7f2e389c3c44346300b59ddcd |
Close
Hashes for hdfs_native-0.2.0-cp37-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57424d58261fdafd5fb5bc407c86635c4d656f4783ec6aa981b15bb338628eb3 |
|
MD5 | 25542874322087f7f330cb5eae2a7ce7 |
|
BLAKE2b-256 | 4ec0bde219c6957a27259fcd647e1989c96140168529b75cbd230ffd2bd728ce |
Close
Hashes for hdfs_native-0.2.0-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41a732967815f0a498daad819cc4a22b768ccb2ffab3526888f44669694d0877 |
|
MD5 | 91a798d8a4dfd51b7326be5ba4962e27 |
|
BLAKE2b-256 | 6a7221f67966f9f8aa8bcd525f3ac0374ad119c476f4598748d5e50a32472c73 |