Skip to main content

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

Metadata

Release files for azblob 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for azblob 1.0.0
File Size Uploaded
azblob-1.0.0.tar.gz 3.3 kB Details

Release files / azblob-1.0.0.tar.gz

Download URL azblob-1.0.0.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
da1333e4999252efec79bf84c917ea36f43864a14ed1ad89aa62f40421f86584
BLAKE2b-256 checksum
How to use checksums
3b2ab06f09bc306dfa086e747f87d215e2ac233b6694759bdb3fd6b09b0e2be3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0.post20191030 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file

0.2.0

2 release files

0.1.1

2 release files

0.1

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page