{"library":"pyarrowfs-adlgen2","title":"pyarrowfs-adlgen2","description":"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.","language":"python","status":"maintenance","last_verified":"Mon Apr 27","install":{"commands":["pip install pyarrowfs-adlgen2"],"cli":null},"imports":["from pyarrow.fs import AdlGen2FileSystem"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import os\nfrom pyarrow.fs import AdlGen2FileSystem\n\nstorage_account = \"mystorageaccount\"\ncontainer = \"mycontainer\"\n\n# Use DefaultAzureCredential (requires azure-identity)\nfs = AdlGen2FileSystem(\n    account_name=storage_account,\n    account_key=os.environ.get('ADLS_KEY', ''),  # optional key\n    tenant_id=os.environ.get('AZURE_TENANT_ID', ''),\n    client_id=os.environ.get('AZURE_CLIENT_ID', ''),\n    client_secret=os.environ.get('AZURE_CLIENT_SECRET', '')\n)\n\n# List files\nprint(fs.get_file_info([f\"{container}/some/path\"]))","lang":"python","description":"Initialize ADLS Gen2 filesystem and list files using PyArrow.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}