REST API Client to Azure Data Lake Gen2
Project description
Python client for Azure Data Lake Gen2 REST API
It's simple implementation of Data Lake Gen2 REST api. Some of methods still not works properly.
Installation
pip3 install pydatalake-gen2
Usage
from azure.datalake.gen2.client import DataLakeGen2Client
client = DataLakeGen2Client(ACCOUNT_NAME, STORAGE_KEY)
# Create fylesystem (aka container)
headers = client.create_filesystem('/testfilesystem')
# List available filesystems (containers)
filesystems = client.list_filesystem()
# Get files from container
files = client.list_path('testfilesystem', directory="/optional/folder")
# Create directory
path = client.create_path('testfolder', 'testfolder2', resource='directory')
# Rename (move) file
files = client.rename_file('/testfolder/file1.txt', '/testfolder2/file2.txt')
This is really early version of client. So, please fell free to contribute!
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
Built Distribution
File details
Details for the file pydatalake-gen2-0.0.10.tar.gz
.
File metadata
- Download URL: pydatalake-gen2-0.0.10.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
649d0c957aa99fd0fee656e495a993fd245c9cee12315891f736887fc4f113ef
|
|
MD5 |
41140100d1eab857120367c6eaada2af
|
|
BLAKE2b-256 |
4cd8630ef682ff0c4eabb4239f955e7f2e7f5da3c7ba4abd380d70926991a9e8
|
File details
Details for the file pydatalake_gen2-0.0.10-py3-none-any.whl
.
File metadata
- Download URL: pydatalake_gen2-0.0.10-py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
8d6a89a7751aab49a5a5813ea05a3926b464d6d3840fc83cadfa7a900cfb3606
|
|
MD5 |
b192e2e120b7b9ec9e33b8f02d64e58d
|
|
BLAKE2b-256 |
613e845a495dce5f3ce7734c0468129b9755a6ca1c07e3d0300acce4474b5f38
|