fs-dlk-0.1.3


توضیحات

Azure Datalake filesystem for PyFilesystem2
ویژگی مقدار
سیستم عامل OS Independent
نام فایل fs-dlk-0.1.3
نام fs-dlk
نسخه کتابخانه 0.1.3
نگهدارنده []
ایمیل نگهدارنده []
نویسنده emedgene
ایمیل نویسنده pypi@emedgene.com
آدرس صفحه اصلی https://github.com/emedgene/fs_dlk
آدرس اینترنتی https://pypi.org/project/fs-dlk/
مجوز MIT
fs\_dlk ======= `pyfilesystem2 <https://github.com/PyFilesystem/pyfilesystem2>`_ interface to `Azure Datalake <https://github.com/Azure/azure-data-lake-store-python>`_ Installing ---------- :: pip install fs-dlk Opening FS Datalake ------------------- Authentication with username and password: .. code-block:: python from fs_dlk import DLKFS dlkfs = DLKFS("/path/to/the/remote/dir", username="username", password="password") Authentication with tenant secret: .. code-block:: python from fs_dlk import DLKFS dlkfs = DLKFS("/path/to/the/remote/dir", tenant_id="tenant id", client_id="client id", client_secret="client_secret") Specifying custom store name: .. code-block:: python from fs_dlk import DLKFS dlkfs = DLKFS("/path/to/the/remote/dir", store="store name", **auth_args_here) Authentication with connection strings: --------------------------------------- Username and password auth: .. code-block:: python import fs dlkfs = fs.open_fs("dlk://username:password@/store_name/path/to/remote") Tenant secret auth: .. code-block:: python import fs dlkfs = fs.open_fs("dlk://username:password@tenant-id/store_name/path/to/remote") Downloading files ----------------- .. code-block:: python with open("local_file", "wb") as local_file: dlkfs.download("path/to/remote/file", local_file) Uploading files ----------------- .. code-block:: python with open("local_file", "wb") as local_file: dlkfs.upload("path/to/remote/file", local_file)


نحوه نصب


نصب پکیج whl fs-dlk-0.1.3:

    pip install fs-dlk-0.1.3.whl


نصب پکیج tar.gz fs-dlk-0.1.3:

    pip install fs-dlk-0.1.3.tar.gz