github Azure/azure-sdk-for-python azure_2.0.0
azure 2.0.0

latest releases: azure-mgmt-datafactory_7.1.0, azure-storage-queue_12.10.0, azure-storage-file-share_12.16.0...
6 years ago

2017-05-16 azure 2.0.0

Disclaimer

Starting with this release, we fixed several packaging issues to improve our package generation system

  • Uninstalling of packages using "pip uninstall" now works properly (#1150)
  • setuptools install of "azure" works properly (#728)

Update from 2.0.0rc6 might work, but we strongly suggest creating a fresh virtual environment.

Features

CLI configuration

You can now execute your SDK script using the configuration of the AzureCLI

Example:

    from azure.common.client_factory import get_client_from_cli_profile
    from azure.mgmt.compute import ComputeManagementClient
    client = get_client_from_cli_profile(ComputeManagementClient)
    client.virtual_machines.get('rg', 'vm')

Configuration from the CLI is:

Note: CLI and SDK are versioned separately. We do recommend using two different virtual environments. Information will be shared automatically since the CLI saves it in the $HOME folder. You do need the azure-cli-core package in your SDK environment to use this feature.

Multiple API Version support

To help support of sovereign cloud (i.e. AzureStack, Azure Government, Azure Germany, Microsoft Azure operated by 21Vianet - China), the following packages
now officially support several API versions in the same package:

Please refer to the PyPI page of these packages for supported ApiVersion.

Breaking changes

The Azure SDK for Python now has too many services to provide an unique ChangeLog. Please refer to each package's HISTORY.txt for details compared to 2.0.0rc6.

The complete list of packages installed is:

More packages are available, but they are in preview with not enough tests currently and are not included in this bundle. More details here:
http://azure-sdk-for-python.readthedocs.io/en/latest/installation.html

Don't miss a new azure-sdk-for-python release

NewReleases is sending notifications on new releases.