Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

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.

Filename, size & hash SHA256 hash help File type Python version Upload date
azblob-0.2.0-py3-none-any.whl (4.7 kB) Copy SHA256 hash SHA256 Wheel py3
azblob-0.2.0.tar.gz (3.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page