Skip to main content

Download files in batches from Azure Blob Storage Containers

Project description

azure-batch

Module to download files in batches from Azure Blob Storage Container. This project aims to be the missing functionality in the Python SDK of Azure Storage. There is no possibility to download batches of files from containers, so the only option for now is downloading file by file, which takes a lot of time.

Note: Azure CLI has to be installed, downloadlink.

Usage example:

from azurebatchload.download import DownloadBatch

if __name__ == '__main__':
    key = 'ajh;sdhjhgjasdKioix+iaDSAJfafjh;waasd3k'
    az_batch = DownloadBatch(
        destination='../pdfs',
        source='blobcontainername',
        account_name='storageaccountname',
        account_key=key,
        pattern='*.pdf'
    )
    az_batch.download()

For more information about file pattern matching in the pattern argument, see Python Documentation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

azurebatchload-0.0.2.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

azurebatchload-0.0.2-py3-none-any.whl (7.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page