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
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
azurebatchload-0.0.2.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for azurebatchload-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8b69e12e383091c119a835d9e69fa90edd61c78579403c1d353ab488c4905f9 |
|
MD5 | 371f8fa1162d96dfc6a0760f0b9e1435 |
|
BLAKE2b-256 | 8185755b2c28fec48b1a7a2f22eee0e24b508f09c2b80240d109f07f2bb52fa6 |