Skip to main content

Download Azure blobs.

Project description

Azure Blob

PyPI version Code style: black

One-line CLI to download from Azure blob storage. Supports private blobs.

Installation

To install:

$ pip install azblob

CLI

Download blob (and authentication illustration)

Anonymous access, account name from command line

$ azblob -n account_url download my_container my_blob

where account_url is e.g. https://<storage name>.blob.core.windows.net Anonymous access, account name from environment

$ export AZBLOB_ACCOUNTNAME=account_url
$ azblob download my_container my_blob

Private container, credentials from command line

$ azblob -n account_url -k my_key download my_container my_blob

Private container, credentials from environment

$ export AZBLOB_ACCOUNTNAME=account_url
$ export AZBLOB_ACCOUNTKEY=my_key
$ azblob download my_container my_blob

List blobs

Same authentication mechanism. List blobs in my_container

azblob list my_container

and, as always

$ azblob -h
$ azblob download -h
$ azblob list -h

Project details


Download files

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

Files for azblob, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size azblob-1.0.0.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page