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 my_account download my_container my_blob

Anonymous access, account name from environment

$ export AZBLOB_ACCOUNTNAME=my_account
$ azblob download my_container my_blob

Private container, credentials from command line

$ azblob -n my_account -k my_key download my_container my_blob

Private container, credentials from environment

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

List containers and blobs

Same authentication mechanism. List blobs in my_container

azblob list my_container

List all containers in account

azblob list

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.

Source Distribution

azblob-0.2.0.tar.gz (3.8 kB view hashes)

Uploaded source

Built Distribution

azblob-0.2.0-py3-none-any.whl (4.7 kB view hashes)

Uploaded py3

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