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 unittest` and `pip install pyyaml` (these are 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.0.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.0-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: txpy-azurehelper-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 64f20171a4feed5b9d17fb83292ca4cfc58f2db8eb3b23a051c649c3b7148b56
MD5 dc8f8fabca6699857df12c7842097391
BLAKE2b-256 04d4d632a028d00fe8cb6b658b8c7cd50d6fa8c334e549c2565e851a5897b447

See more details on using hashes here.

File details

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

File metadata

  • Download URL: txpy_azurehelper-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 00f0ac93ac8d965b74e573369ca72fd179e68573cdcd84ffae976c6d8124cd30
MD5 d88c2c699b6cfc22e40e618c8c21692f
BLAKE2b-256 b52765c791bc03456572c3e6ca48df248c4790a07de72e6471fde3e4e1b27f92

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