NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #3706 most downloaded on PyPI
Microsoft Azure Client Libraries for Python
Last release 6 years ago
no release in 18 months
Ships unpredictably
gaps range from 2 weeks to 1.7 years
Most releases are documented
notes for 20 of 29 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
38 releases · first in 2012
Nothing published for this version
Nothing published for this version
Nothing published for this version
Starting with this release, we fixed several packaging issues to improve our package generation system:
Disclaimer
Starting with this release, we fixed several packaging issues to improve our package generation system:
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.
One column per quarter.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
This is an alpha release. Future releases may introduce some breaking changes. Some of the new generated libraries have not yet been tested extensivel…
DISCLAIMER
This is an alpha release. Future releases may introduce some breaking changes. Some of the new generated libraries have not yet been tested extensively, and some have known issues (such as azure-mgmt-web). Our goal is to release a stable version by the end of March 2016. Please send us your feedback!
WHAT'S NEW
New ARM generated code based on Swagger specification of the Azure REST APIs
New libraries
Azure Active Directory Graph API
Authorization: permissions, subscriptions, roles and more
CDN: profiles, endpoints creation and more
Apps:
Notification Hubs: Namespaces, hub creation/deletion and more
Redis: create cache and more
Scheduler: create job collections, create job and more
Enhanced libraries compared to 1.0.0 preview
Storage: create storage accounts, list keys, and more
Resource:
Network: create virtual networks, network interfaces, public ips and more
Compute: create virtual machines and more
BREAKING CHANGES
We made our possible to document the breaking from ARM 1.0.0 version to 2.0.0 here.
The previously-linked documentation is no longer available.
Dependencies
azure-storage 0.30.0
azure-servicemanagement-legacy 0.20.2
Bugfixes
azure-mgmt-compute 0.20.1
azure-servicemanagement-legacy 0.20.2
Misc
Thank you to bear454, ekesken, kingliantop, mamoo, schaefi for their contributions.
Fix retry timeout default value for long running operations
azure-mgmt-network 0.20.1
azure-mgmt-resource 0.20.1
azure-storage 0.20.2
Thank you to aarsan, trondhindenes for their contributions.
Use requests library by default in all libraries
If you are upgrading from v0.11.x or earlier, make sure to uninstall that version before installing the latest release.
UPGRADE
If you are upgrading from v0.11.x or earlier, make sure to uninstall that version before installing the latest release.
WHAT'S NEW
Preliminary Azure Resource Manager (ARM) support. Manage your Azure compute, network and storage resources. This is a preview and is subject to changes in future releases.
Azure Storage File support.
Azure library is now more modular. You can choose to install bundles or install only the packages you need. Packages now available on PyPI::
azure (bundle) azure-mgmt (bundle) azure-mgmt-compute azure-mgmt-network azure-mgmt-resource azure-mgmt-storage azure-servicebus azure-servicemanagement-legacy azure-storage
Azure Storage has moved. https://github.com/Azure/azure-storage-python
Bugfixes
BREAKING CHANGES
The following were renamed and moved from 'azure' to 'azure.common':: WindowsAzureError -> AzureException and AzureHttpError WindowsAzureConflictError -> AzureConflictHttpError WindowsAzureMissingResourceError -> AzureMissingResourceHttpError
The following were renamed and moved from 'azure' to 'azure.servicemanagement':: WindowsAzureAsyncOperationError -> AzureAsyncOperationHttpError
The following were renamed and moved from 'azure' to 'azure.storage':: WindowsAzureBatchOperationError -> AzureBatchOperationError
The following have moved from 'azure' to 'azure.servicemanagement':: DEFAULT_HTTP_TIMEOUT MANAGEMENT_HOST
The following have moved from 'azure' to 'azure.servicebus':: DEFAULT_HTTP_TIMEOUT SERVICE_BUS_HOST_BASE
The following have moved from 'azure' to 'azure.storage':: DEFAULT_HTTP_TIMEOUT DEV_ACCOUNT_NAME DEV_ACCOUNT_KEY
The following have moved from 'azure.storage' to 'azure.storage.blob':: BLOB_SERVICE_HOST_BASE DEV_BLOB_HOST BlobService ContainerEnumResults Container Properties BlobEnumResults BlobResult Blob BlobProperties BlobPrefix BlobBlock BlobBlockList PageRange PageList ContainerSharedAccessPermissions BlobSharedAccessPermissions
The following have moved from 'azure.storage' to 'azure.storage.queue':: QUEUE_SERVICE_HOST_BASE DEV_QUEUE_HOST QueueService QueueEnumResults Queue QueueMessagesList QueueMessage QueueSharedAccessPermissions
The following have moved from 'azure.storage' to 'azure.storage.table':: TABLE_SERVICE_HOST_BASE DEV_TABLE_HOST TableService Entity EntityProperty Table TableSharedAccessPermissions
Thank you to Sabbasth, schaefi, feoff3, JamieCressey for their contributions.
Nothing published for this version
Nothing published for this version
Azure storage connection string support
azure on Python 3 should not install futuresThank you to rchamorro, drdarshan, hosungs, h_yamaki for their contributions.
IMPORTANT CHANGE THAT AFFECTS STORAGE
IMPORTANT CHANGE THAT AFFECTS STORAGE
The API for creating shared access signatures has changed. The new API enables easy production AND consumption of SAS for blob, queue and table storage.
Other changes
Create/list/delete job functionality added to SchedulerManagementService
update_site added to WebsiteManagementService to start/stop web sites
Target x-ms-version 2014-10-01 for service management
Add virtual IP fields in Deployment
Make cloud service create/delete async
Delete cloud service now supports deleting blobs from storage
Support for specifying SourceMediaLink for DataVirtualHardDisks
Fixes for bugs: #350 wait_for_operation needs to flush as it prints
Thank you to lmazuel, antonydenyer, zlike-msft, melor and amegianeg for their contributions.
Bugfixes #338 Version 0.10.0 fails with 'SocketReader' object has no attribute 'tell'
Bugfixes
#338 Version 0.10.0 fails with 'SocketReader' object has no attribute 'tell'
The upgrade to this new version causes some breaking changes for Python SDK users:
IMPORTANT CHANGE THAT AFFECTS STORAGE USERS (BLOB, QUEUE, TABLE)
The library now targets x-ms-version '2014-02-14' of the storage REST API. Previous version of the library targeted '2012-02-12'.
The upgrade to this new version causes some breaking changes for Python SDK users:
See MSDN documentation for details on REST API changes:
The other changes in this release are:
Bugfixes
Thank you to lmazuel, rhaps0dy, timfpark, gaellbn, moutai, edevil, rjschwei and okaram for their contributions.
IMPORTANT CHANGE IN BEHAVIOR THAT AFFECTS TABLE STORAGE USERS
IMPORTANT CHANGE IN BEHAVIOR THAT AFFECTS TABLE STORAGE USERS
The library now converts any datetime object in an entity to UTC before writing the value to Azure, and it sets the timezone (tzinfo) to UTC on the entities it reads from Azure. On a related note, python-dateutil is now an external dependency.
The other changes in this release are:
Ability to pass in to management APIs a Session object from the requests library (or any compatible). This allows more flexibility for authentication, including oauth.
New service management APIs
Enhanced service management APIs
create_virtual_machine_deployment / add_role
update_role
create_storage_service
Preliminary Scheduler management API
Add metrics to Service Bus management API
Delete Blob - support for x-ms-delete-snapshots header
Bugfixes
Thank you to Costeijn, lmazuel, pneumee, nicbon, bndw, troyanov for their contributions.
Add ability to get website publish data as an object (thanks lmazuel)
Bugfixes
Add Shared Access Signature support to Service Bus
Add functionality to Service Bus Management API
Add functionality to Service Bus Management API
Add CreationTime to StorageAccountProperties
Preliminary SQL Database Management API
Preliminary Website Management API
Bugfixes
Thank you to lmazuel for the contributions to SQL Database, Service Bus and Website management.
Thank you to kaptajnen, matlockx for their fixes for the redirection issue (#129).
Bugfixes
Thank you to kaptajnen, matlockx for their fixes for the redirection issue (#129).
Existing service management API now targets x-ms-version 2013-06-01
Bugfixes
Bugfixes * #118 Proxy doesn't support specifying credentials * #117 Service bus authorization code doesn't go through the proxy server * #108 Create V
Bugfixes
Added service bus management API
Bugfixes
Thank you to timanovsky, sebhomengo, pneumee, ogrisel, 0xc0decafe and apatard for their bug reports and fixes.
Bugfixes * #75 crash on python 2.7 x64 windows * #73 _convert_query_string return a wrong query string parameter
Bugfixes
Improved support for unicode data
Bugfixes
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Migrate to using httplib on Windows. This is now the default, unless a Windows Certificate Store management certificate is used. Make sure to use CPyt
Your coding agent can read these notes before it upgrades. Set up the MCP server →