Access Azure Datalake Gen1 with fsspec and dask
Filesystem interface to Azure-Datalake Gen1 and Gen2 Storage
Quickstart
This package can be installed using:
pip install adlfs
or
conda install -c conda-forge adlfs
The adl:/ and abfs:/ protocols are included in fsspec's known_implementations registry
in fsspec > 0.6.1, otherwise users must explicitly inform fsspec about the supported adlfs protocols.
To use the Gen1 filesystem:
import dask.dataframe as dd
storage_options={'tenant_id': TENANT_ID, 'client_id': CLIENT_ID, 'client_secret': CLIENT_SECRET}
dd.read_csv('adl:/{STORE_NAME}/{FOLDER}/*.csv', storage_options=storage_options)
To use the Gen2 filesystem you can use the protocol abfs or az:
import dask.dataframe as dd
storage_options={'account_name': ACCOUNT_NAME, 'account_key': ACCOUNT_KEY}
ddf = dd.read_csv('abfs:/{CONTAINER}/{FOLDER}/*.csv', storage_options=storage_options)
ddf = dd.read_parquet('az:/{CONTAINER}/folder.parquet', storage_options=storage_options)
Accepted protocol / uri formats include:
'PROTOCOL:/container
- RPM
- python3-adlfs-2023.12.0-1.lbn36.noarch.rpm
- Summary
- Access Azure Datalake Gen1 with fsspec and dask
- URL
- https://pypi.org/project/adlfs
- Group
- Unspecified
- License
- ZPL
- Source
-
python-adlfs-2023.12.0-1.lbn36.src.rpm
- Checksum
- 9b523983d9bdc7af87aa219940be20253995d69c73002df55173c15a79a9b5af
- Signing Signature
- (none)
- Build Date
- 2024/01/04 11:21:21
- Requires
-
python3.10dist(azure-core)
python3.10dist(azure-datalake-store)
python3.10dist(aiohttp) >= 3.7
python3.10dist(azure-storage-blob) >= 12.12
python3.10dist(fsspec) >= 2023.12
- Provides
-
python-adlfs = 2023.12.0-1.lbn36
python3-adlfs = 2023.12.0-1.lbn36
python3.10-adlfs = 2023.12.0-1.lbn36
python3.10dist(adlfs) = 2023.12
python3dist(adlfs) = 2023.12
- Obsoletes