Skip to main content

A wrapper around the Azure SDK for Python

Project description

A wrapper around the Azure SDK for Python developed with the goal to hide the Azure SDK complexity, and so to allow easier use of Azure resources.

Introduction

This library provides a suite of helper functions for Azure. It is built around the Microsoft SDK for Python. See also Azure for Python Developers for additional information about the Azure support for Python.

This library has been developed and tested with Python 3.7, Azure Core 1.3.0 and AzureStorage Blob 12.3.0.

Currently (V 0.1), only helper functions for the blob storage SDK are available. More functions will come in future releases.

Installing

You can install the txpy-azurehelper package using:

$ pip install txpy-azurehelper

Getting the code

The code is hosted at https://github.com/tyxio/txpy-azurehelper

Check out the latest development version anonymously with:

$ git clone https://github.com/tyxio/txpy-azurehelper.git
$ cd txpy-azurehelper

To install dependencies:

$ pip install -Ur requirements.testing.txt
$ pip install -Ur requirements.txt

To install the minimal dependencies for production use (i.e., what is installed with pip install txpy-azurehelper) run:

$ pip install -Ur requirements.txt

Quick Start

The folder quickstart contains examples of using the helper functions:

  • quickstart_blobs_sync.py : use synchronous helper functions to work with containers and blobs.

  • quickstart_blobs_async.py : use asynchronous helper functions to work with containers and blobs.

Note that you must have a valid Azure Storage connection string or SAS key.

Running Tests

Note that tests require `pip install pyyaml` (this is included if you have installed dependencies from `requirements.testing.txt`)

A valid Azure storage connection string must be provided in azure.cfg.

To run the unit tests

$ python -m unittest

Documentation

Read the documentation on readthedocs.io

If you want more information about Azure Storage Blobs for Python, see Manage blobs with Python v12 SDK.

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

txpy-azurehelper-0.1.1.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

txpy_azurehelper-0.1.1-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file txpy-azurehelper-0.1.1.tar.gz.

File metadata

  • Download URL: txpy-azurehelper-0.1.1.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7

File hashes

Hashes for txpy-azurehelper-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4bd5b5b9801c6c391c578c34be78e5cbc2da2178af2ee2e7632d340f264ba32c
MD5 3f6289a04dfe58bf76cd7114868efe6c
BLAKE2b-256 5bc6a7e816cf125fc165dc8331afa5917baece22764c34dd18a4b211f85d342e

See more details on using hashes here.

File details

Details for the file txpy_azurehelper-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: txpy_azurehelper-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7

File hashes

Hashes for txpy_azurehelper-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f8425db9727cb35150e7c7b7b9ee32beb4398c5d56eb45f9614bf01f342a4981
MD5 5cc7c83d9cfb8915a022dddeed177042
BLAKE2b-256 16531053615175852faaa8aea33cab9d00dfe7d330209b6663b70948cf3665c0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page