/azure-sdk-for-python

Microsoft Azure SDK for Python

Primary LanguagePythonMIT LicenseMIT

Microsoft Azure SDK for Python

https://img.shields.io/pypi/v/azure.svg?maxAge=2592000 https://img.shields.io/pypi/pyversions/azure.svg?maxAge=2592000 https://travis-ci.org/Azure/azure-sdk-for-python.svg?branch=master https://ci.appveyor.com/api/projects/status/m51hrgewcxknxhsd/branch/master?svg=true

This project provides a set of Python packages that make it easy to access Management (Virtual Machines, ...) or Runtime (ServiceBus using HTTP, Batch, Monitor) components of Microsoft Azure Complete feature list of this repo and where to find Python packages not in this repo can be found on our Azure SDK for Python features chapter on ReadTheDocs.

The SDK supports Python 2.7, 3.3, 3.4, 3.5 and 3.6.

If you're currently using the azure package < 1.0 then please read important information in this issue.

INSTALLATION

You can install each library individually for each Azure service:

$ pip install azure-batch         # Install the latest Batch runtime library
$ pip install azure-mgmt-storage  # Install the latest Storage management library

Preview packages can be installed using the --pre flag:

$ pip install --pre azure-mgmt-trafficmanager # will install the latest Traffic Manager

You can also install a set of Azure libraries in a single line using the azure meta-package. Since not all packages in this meta-package are published as stable yet, the azure meta-package is still a release candidate and not final yet. However, the core packages, from code quality/completeness perspectives can at this time be considered "stable" The azure package will be officially labeled stable in sync with other language SDKs as soon as possible. We are not planning on any further major changes until then.

Since it's a preview release, you need to use the ``--pre`` flag:

$ pip install --pre azure

or directly

$ pip install azure==2.0.0rc6

The azure meta-package 1.0.3 is deprecated and no longer properly functions.

The full list of available packages and their latest version can be found on our installation page on ReadTheDocs.

If you want to install all packages of the repo from source:

git clone git://github.com/Azure/azure-sdk-for-python.git
cd azure-sdk-for-python
python setup.py install

Usage

For detailed documentation, please view our documentation on ReadTheDocs.

For further examples please visit the Microsoft Azure Python Developer Center or the Azure Samples website.

Need Help?

Be sure to check out the Microsoft Azure Developer Forums on Stack Overflow if you have trouble with the provided code.

Contribute Code or Provide Feedback

If you would like to become an active contributor to this project please follow the instructions provided in Microsoft Azure Projects Contribution Guidelines.

If you encounter any bugs with the library please file an issue in the Issues section of the project.

Learn More

Microsoft Azure Python Developer Center