Skip to main content

Download Azure blobs.

Project description

# Azure Blob

[![PyPI version](https://badge.fury.io/py/azblob.svg)](https://badge.fury.io/py/azblob) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/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.

Files for azblob, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size azblob-0.1.1.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View
Filename, size azblob-0.1.1-py3-none-any.whl (6.0 kB) File type Wheel Python version py3 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