hdfs-native


Namehdfs-native JSON
Version 0.12.2 PyPI version JSON
download
home_pagehttps://github.com/Kimahriman/hdfs-native
SummaryPython bindings for hdfs-native Rust library
upload_time2025-08-17 23:10:03
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            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")
```

## Kerberos support
Kerberos (SASL GSSAPI) is supported through a runtime dynamic link to `libgssapi_krb5`. This must be installed separately, but is likely already installed on your system. If not you can install it by:

#### Debian-based systems
```bash
apt-get install libgssapi-krb5-2
```

#### RHEL-based systems
```bash
yum install krb5-libs
```

#### MacOS
```bash
brew install krb5
```

## 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
maturin develop -E devel
pytest
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Kimahriman/hdfs-native",
    "name": "hdfs-native",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": null,
    "author": null,
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/c6/59/7683a1f9c739d2ab3e0d6dda1e4108958718a2062e86298ed68f5ee96644/hdfs_native-0.12.2.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## Kerberos support\nKerberos (SASL GSSAPI) is supported through a runtime dynamic link to `libgssapi_krb5`. This must be installed separately, but is likely already installed on your system. If not you can install it by:\n\n#### Debian-based systems\n```bash\napt-get install libgssapi-krb5-2\n```\n\n#### RHEL-based systems\n```bash\nyum install krb5-libs\n```\n\n#### MacOS\n```bash\nbrew install krb5\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\nmaturin develop -E devel\npytest\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Python bindings for hdfs-native Rust library",
    "version": "0.12.2",
    "project_urls": {
        "Homepage": "https://github.com/Kimahriman/hdfs-native",
        "documentation": "https://hdfs-native.readthedocs.io/",
        "repository": "https://github.com/Kimahriman/hdfs-native"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "4aa49ce8d5fad1cbde12028cfc6e16b917977cf85d1d3a97055e3d0d26596b0f",
                "md5": "911b88103e27bb2159e3ffdf98203646",
                "sha256": "fe55fce770ad6a2e7d76b3258b89b2098b85e8d54005d0ad9d734a7ddc657e0b"
            },
            "downloads": -1,
            "filename": "hdfs_native-0.12.2-cp39-abi3-macosx_10_12_x86_64.whl",
            "has_sig": false,
            "md5_digest": "911b88103e27bb2159e3ffdf98203646",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.9",
            "size": 2982297,
            "upload_time": "2025-08-17T23:09:57",
            "upload_time_iso_8601": "2025-08-17T23:09:57.581849Z",
            "url": "https://files.pythonhosted.org/packages/4a/a4/9ce8d5fad1cbde12028cfc6e16b917977cf85d1d3a97055e3d0d26596b0f/hdfs_native-0.12.2-cp39-abi3-macosx_10_12_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "0781594e77f68ba75e302ce7c9f37d869006ae15f4587ced9c34fabe212e6bcb",
                "md5": "0fb636e2cfd8fe543b188bcda0c6e947",
                "sha256": "600aa1f52e41e00b34bd761e6af027d2527adb8824dbad094fe0aa5c2f28f534"
            },
            "downloads": -1,
            "filename": "hdfs_native-0.12.2-cp39-abi3-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "0fb636e2cfd8fe543b188bcda0c6e947",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.9",
            "size": 2828339,
            "upload_time": "2025-08-17T23:09:59",
            "upload_time_iso_8601": "2025-08-17T23:09:59.237830Z",
            "url": "https://files.pythonhosted.org/packages/07/81/594e77f68ba75e302ce7c9f37d869006ae15f4587ced9c34fabe212e6bcb/hdfs_native-0.12.2-cp39-abi3-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "913875a872bd83532ead055a147edecd9d11db45e647131e9d559870b4fe2cb6",
                "md5": "a732c8308a6815af5c68e31d175d50a6",
                "sha256": "e663d007e5550a4528f25d012b3e52f3a8b77299dfa8ade7d79797b218596e08"
            },
            "downloads": -1,
            "filename": "hdfs_native-0.12.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "has_sig": false,
            "md5_digest": "a732c8308a6815af5c68e31d175d50a6",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.9",
            "size": 3084170,
            "upload_time": "2025-08-17T23:10:00",
            "upload_time_iso_8601": "2025-08-17T23:10:00.725072Z",
            "url": "https://files.pythonhosted.org/packages/91/38/75a872bd83532ead055a147edecd9d11db45e647131e9d559870b4fe2cb6/hdfs_native-0.12.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "262c6a72535c14a71da26435d9bcad9cf794b69787bf530983484d3509005974",
                "md5": "6415aefce81a04a619980d7bd4dbb062",
                "sha256": "ae4e2d4ac6e16aac7af02212d7fac5cacb5ac7d5fe9c74ddb72e7a986d928d12"
            },
            "downloads": -1,
            "filename": "hdfs_native-0.12.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "6415aefce81a04a619980d7bd4dbb062",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.9",
            "size": 3185922,
            "upload_time": "2025-08-17T23:10:02",
            "upload_time_iso_8601": "2025-08-17T23:10:02.315475Z",
            "url": "https://files.pythonhosted.org/packages/26/2c/6a72535c14a71da26435d9bcad9cf794b69787bf530983484d3509005974/hdfs_native-0.12.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "c6597683a1f9c739d2ab3e0d6dda1e4108958718a2062e86298ed68f5ee96644",
                "md5": "993794c79656a21866abfac1182d96e8",
                "sha256": "34a8160008617c1f2ea37f6618b285124edd4e2d3c3196e502095de34828b6df"
            },
            "downloads": -1,
            "filename": "hdfs_native-0.12.2.tar.gz",
            "has_sig": false,
            "md5_digest": "993794c79656a21866abfac1182d96e8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 188283,
            "upload_time": "2025-08-17T23:10:03",
            "upload_time_iso_8601": "2025-08-17T23:10:03.605237Z",
            "url": "https://files.pythonhosted.org/packages/c6/59/7683a1f9c739d2ab3e0d6dda1e4108958718a2062e86298ed68f5ee96644/hdfs_native-0.12.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-17 23:10:03",
    "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"
}
        
Elapsed time: 2.47803s