Registry / azure / pyarrowfs-adlgen2

pyarrowfs-adlgen2

JSON →
library0.2.5pypypi✓ verified 80d ago

PyArrow filesystem interface for Azure Data Lake Storage Gen2. Version 0.2.5, compatible with Python >=3.6 and Apache Arrow. Last release in 2021, low maintenance.

pip install pyarrowfs-adlgen2
INSTALL
IMPORT
SIG · PYARROWFS-ADLGEN2
P
pyarrowfs-adlgen2
azurepythonv0.2.5
Install
5.3s avg
Import
Disk
208MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.2.5 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 222.4MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 5.3s · import 0.000s · 199MB
208MB installed
● package 208MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

AdlGen2FileSystem
from pyarrowfs_adlgen2 import AccountHandler
from pyarrow.fs import AdlGen2FileSystem

Initialize ADLS Gen2 filesystem and list files using PyArrow.

import os from pyarrow.fs import AdlGen2FileSystem storage_account = "mystorageaccount" container = "mycontainer" # Use DefaultAzureCredential (requires azure-identity) fs = AdlGen2FileSystem( account_name=storage_account, account_key=os.environ.get('ADLS_KEY', ''), # optional key tenant_id=os.environ.get('AZURE_TENANT_ID', ''), client_id=os.environ.get('AZURE_CLIENT_ID', ''), client_secret=os.environ.get('AZURE_CLIENT_SECRET', '') ) # List files print(fs.get_file_info([f"{container}/some/path"]))
Debug
Known issues
gotchaThe filesystem is not imported from pyarrowfs-adlgen2 directly; it is registered into pyarrow.fs. Import from pyarrow.fs as shown.
fix
Use 'from pyarrow.fs import AdlGen2FileSystem' instead of 'from pyarrowfs_adlgen2 import ...'.
affects: all
deprecatedThe library appears unmaintained since 2021 and may not work with newer PyArrow versions (>=12). The Azure SDK dependencies are also outdated.
fix
Consider using native PyArrow Azure support if available, or pin pyarrow<12.
affects: >=0.2.5
Upgrade
Version history
0.2.5latest on PyPI · released Jun 27, 2024
Audit
Dependencies
pyarrowrequiredRequired for Arrow filesystem abstraction
azure-storage-file-datalakerequiredAzure SDK for ADLS Gen2
azure-identityoptionalAuthentication (DefaultAzureCredential)
Agent activity
43 hits · last 30 days
node
38
OpenAI (training)
1
Resources
pyarrowfs-adlgen2 — pip install pyarrowfs-adlgen2 · libregistry