Native HDFS Python bindings based on hdfs-native Rust package.
## Installation
```bash
pip install hdfs-native
```
## Example
```python
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:
```bash
python3 -m venv .venv
source .venv/bin/activate
pip3 install maturin
pip3 install -r requirements-dev.txt
maturin develop
pytest
```
Raw data
{
"_id": null,
"home_page": "https://github.com/Kimahriman/hdfs-native",
"name": "hdfs-native",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "hadoop, hdfs",
"author": "Adam Binford <adamq43@gmail.com>",
"author_email": "Adam Binford <adamq43@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/a5/0f/05f5d86e7c96e909d3dfd9e6a40c051c2ad81e55e1ec691a261150f5a502/hdfs_native-0.9.1.tar.gz",
"platform": null,
"description": "Native HDFS Python bindings based on hdfs-native Rust package.\n\n## Installation\n\n```bash\npip install hdfs-native\n```\n\n## Example\n\n```python\nfrom hdfs_native import Client\nclient = Client(\"hdfs://localhost:9000\")\n\nstatus = client.get_file_info(\"/file.txt\")\n```\n\n## Running tests\nThe same requirements apply as the Rust tests, requiring Java, Maven, Hadoop, and Kerberos tools to be on your path. Then you can:\n\n```bash\npython3 -m venv .venv\nsource .venv/bin/activate\npip3 install maturin\npip3 install -r requirements-dev.txt\nmaturin develop\npytest\n```\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "Python bindings for hdfs-native Rust library",
"version": "0.9.1",
"project_urls": {
"Homepage": "https://github.com/Kimahriman/hdfs-native",
"repository": "https://github.com/Kimahriman/hdfs-native"
},
"split_keywords": [
"hadoop",
" hdfs"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "32cbd7e891387f20a0d23703f85052ea08839bcc04982d61021d2f1283683b81",
"md5": "eeb34ff9c0ecd2b14c4ca090452e724b",
"sha256": "f6f8ed09af79fe7b9359a863420dea9f0d2b0dbed2501fa6541bdfeea88c68bd"
},
"downloads": -1,
"filename": "hdfs_native-0.9.1-cp38-abi3-macosx_10_12_x86_64.whl",
"has_sig": false,
"md5_digest": "eeb34ff9c0ecd2b14c4ca090452e724b",
"packagetype": "bdist_wheel",
"python_version": "cp38",
"requires_python": ">=3.8",
"size": 2356529,
"upload_time": "2024-04-08T02:18:00",
"upload_time_iso_8601": "2024-04-08T02:18:00.697558Z",
"url": "https://files.pythonhosted.org/packages/32/cb/d7e891387f20a0d23703f85052ea08839bcc04982d61021d2f1283683b81/hdfs_native-0.9.1-cp38-abi3-macosx_10_12_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "8d436a6b4255425f716bd744b1cae93c952cb19b586c0834efbecb81ad8bab92",
"md5": "b5751322fb376918ec9ecb0c42cae579",
"sha256": "f71a3fa11d59764b63bb2cf22029e8c6605b5cad1a040a31b91832efbcb32405"
},
"downloads": -1,
"filename": "hdfs_native-0.9.1-cp38-abi3-macosx_11_0_arm64.whl",
"has_sig": false,
"md5_digest": "b5751322fb376918ec9ecb0c42cae579",
"packagetype": "bdist_wheel",
"python_version": "cp38",
"requires_python": ">=3.8",
"size": 2245260,
"upload_time": "2024-04-08T02:18:03",
"upload_time_iso_8601": "2024-04-08T02:18:03.150495Z",
"url": "https://files.pythonhosted.org/packages/8d/43/6a6b4255425f716bd744b1cae93c952cb19b586c0834efbecb81ad8bab92/hdfs_native-0.9.1-cp38-abi3-macosx_11_0_arm64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "870d01e5277ad450fac867fa74403a99fb43c44941a26b139326a0859b4e59d4",
"md5": "b06d7e7f9001188e7053697b51641ee8",
"sha256": "9230f52f6f82750b1c64615a61b83caf0f3ab0d437c7edcfa79baf2d474516e0"
},
"downloads": -1,
"filename": "hdfs_native-0.9.1-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
"has_sig": false,
"md5_digest": "b06d7e7f9001188e7053697b51641ee8",
"packagetype": "bdist_wheel",
"python_version": "cp38",
"requires_python": ">=3.8",
"size": 4099352,
"upload_time": "2024-04-08T02:18:05",
"upload_time_iso_8601": "2024-04-08T02:18:05.934814Z",
"url": "https://files.pythonhosted.org/packages/87/0d/01e5277ad450fac867fa74403a99fb43c44941a26b139326a0859b4e59d4/hdfs_native-0.9.1-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "61ecda483c2b2455e273787b556a485426ba6a633d79e0374946447ee2809894",
"md5": "311c1af1605119f1eae19f86bc35cb09",
"sha256": "5ae5ecead989ce42664bd7d48bdb6bbb5b02770bc5bdccbc600fcb8a00c2c600"
},
"downloads": -1,
"filename": "hdfs_native-0.9.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "311c1af1605119f1eae19f86bc35cb09",
"packagetype": "bdist_wheel",
"python_version": "cp38",
"requires_python": ">=3.8",
"size": 4208947,
"upload_time": "2024-04-08T02:18:08",
"upload_time_iso_8601": "2024-04-08T02:18:08.707890Z",
"url": "https://files.pythonhosted.org/packages/61/ec/da483c2b2455e273787b556a485426ba6a633d79e0374946447ee2809894/hdfs_native-0.9.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "a50f05f5d86e7c96e909d3dfd9e6a40c051c2ad81e55e1ec691a261150f5a502",
"md5": "0f169312b0beed7f67295fcccd881f53",
"sha256": "aba2a3e3aa5b6f1cd088b14c5ff5edf821b79ac500d80ff756188d919fedf7b1"
},
"downloads": -1,
"filename": "hdfs_native-0.9.1.tar.gz",
"has_sig": false,
"md5_digest": "0f169312b0beed7f67295fcccd881f53",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 133809,
"upload_time": "2024-04-08T02:18:10",
"upload_time_iso_8601": "2024-04-08T02:18:10.412185Z",
"url": "https://files.pythonhosted.org/packages/a5/0f/05f5d86e7c96e909d3dfd9e6a40c051c2ad81e55e1ec691a261150f5a502/hdfs_native-0.9.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-08 02:18:10",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Kimahriman",
"github_project": "hdfs-native",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "hdfs-native"
}