164 строки
13 KiB
HTML
164 строки
13 KiB
HTML
<!DOCTYPE html>
|
|
<!--[if IE]><![endif]-->
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
<title>Azure SDK for Python | Azure SDK for Python </title>
|
|
<meta name="viewport" content="width=device-width">
|
|
<meta name="title" content="Azure SDK for Python | Azure SDK for Python ">
|
|
<meta name="generator" content="docfx 2.43.2.0">
|
|
|
|
<link rel="shortcut icon" href="https://c.s-microsoft.com/favicon.ico?v2">
|
|
<link rel="stylesheet" href="styles/docfx.vendor.css">
|
|
<link rel="stylesheet" href="styles/docfx.css">
|
|
<link rel="stylesheet" href="styles/main.css">
|
|
<meta property="docfx:navrel" content="navtoc.html">
|
|
<meta property="docfx:tocrel" content="toc.html">
|
|
|
|
|
|
<meta property="docfx:newtab" content="true">
|
|
|
|
<!-- Global site tag (gtag.js) - Google Analytics -->
|
|
<script async="" src="https://www.googletagmanager.com/gtag/js?id=UA-62780441-36"></script>
|
|
<script>
|
|
window.dataLayer = window.dataLayer || [];
|
|
function gtag(){dataLayer.push(arguments);}
|
|
gtag('js', new Date());
|
|
|
|
gtag('config', 'UA-62780441-36');
|
|
</script>
|
|
</head>
|
|
<body data-spy="scroll" data-target="#affix" data-offset="120">
|
|
<div id="wrapper">
|
|
<header>
|
|
|
|
<nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
|
|
<div class="container">
|
|
<div class="navbar-header">
|
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
|
|
<span class="sr-only">Toggle navigation</span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
</button>
|
|
|
|
<a class="navbar-brand" href="index.html">
|
|
<img id="logo" class="svg" src="logo.svg" alt="">
|
|
</a>
|
|
</div>
|
|
<div class="collapse navbar-collapse" id="navbar">
|
|
<form class="navbar-form navbar-right" role="search" id="search">
|
|
<div class="form-group">
|
|
<input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<div class="subnav navbar navbar-default">
|
|
<div class="container hide-when-search" id="breadcrumb">
|
|
<ul class="breadcrumb">
|
|
<li></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
<div role="main" class="container body-content hide-when-search">
|
|
|
|
<div class="sidenav hide-when-search">
|
|
<a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
|
|
<div class="sidetoggle collapse" id="sidetoggle">
|
|
<div id="sidetoc"></div>
|
|
</div>
|
|
</div>
|
|
<div class="article row grid-right">
|
|
<div class="col-md-10">
|
|
<article class="content wrap" id="_content" data-uid="">
|
|
<h1 id="azure-sdk-for-python">Azure SDK for Python</h1>
|
|
|
|
<p><a href="https://azure.github.io/azure-sdk/releases/latest/python.html"><img src="https://img.shields.io/badge/packages-latest-blue.svg" alt="Packages"></a> <a href="https://azuresdkartifacts.blob.core.windows.net/azure-sdk-for-python/dependencies/dependencies.html"><img src="https://img.shields.io/badge/dependency-report-blue.svg" alt="Dependencies"></a> <a href="https://azuresdkartifacts.blob.core.windows.net/azure-sdk-for-python/dependencies/dependencyGraph/index.html"><img src="https://img.shields.io/badge/dependency-graph-blue.svg" alt="DepGraph"></a> <a href="https://pypi.python.org/pypi/azure/"><img src="https://img.shields.io/pypi/pyversions/azure-core.svg?maxAge=2592000" alt="Python"></a> <a href="https://dev.azure.com/azure-sdk/public/_build/latest?definitionId=458&branchName=main"><img src="https://dev.azure.com/azure-sdk/public/_apis/build/status/python/python%20-%20core%20-%20ci?branchName=main" alt="Build Status"></a></p>
|
|
<p>This repository is for the active development of the Azure SDK for Python. For consumers of the SDK we recommend visiting our <a href="https://docs.microsoft.com/python/azure/">public developer docs</a> or our versioned <a href="https://azure.github.io/azure-sdk-for-python">developer docs</a>.</p>
|
|
<h2 id="disclaimer"><em>Disclaimer</em></h2>
|
|
<p><em>Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to <a href="https://github.com/Azure/azure-sdk-for-python/issues/20691">https://github.com/Azure/azure-sdk-for-python/issues/20691</a></em></p>
|
|
<h2 id="getting-started">Getting started</h2>
|
|
<p>For your convenience, each service has a separate set of libraries that you can choose to use instead of one, large Azure package. To get started with a specific library, see the <code>README.md</code> (or <code>README.rst</code>) file located in the library's project folder.</p>
|
|
<p>You can find service libraries in the <code>/sdk</code> directory.</p>
|
|
<h3 id="prerequisites">Prerequisites</h3>
|
|
<p>The client libraries are supported on Python 3.8 or later. For more details, please read our page on <a href="https://github.com/Azure/azure-sdk-for-python/wiki/Azure-SDKs-Python-version-support-policy">Azure SDK for Python version support policy</a>.</p>
|
|
<h2 id="packages-available">Packages available</h2>
|
|
<p>Each service might have a number of libraries available from each of the following categories:</p>
|
|
<ul>
|
|
<li><a href="#client-new-releases">Client - New Releases</a></li>
|
|
<li><a href="#client-previous-versions">Client - Previous Versions</a></li>
|
|
<li><a href="#management-new-releases">Management - New Releases</a></li>
|
|
<li><a href="#management-previous-versions">Management - Previous Versions</a></li>
|
|
</ul>
|
|
<h3 id="client-new-releases">Client: New Releases</h3>
|
|
<p>New wave of packages that we are announcing as <strong>GA</strong> and several that are currently releasing in <strong>preview</strong>. These libraries allow you to use and consume existing resources and interact with them, for example: upload a blob. These libraries share several core functionalities such as: retries, logging, transport protocols, authentication protocols, etc. that can be found in the <a href="https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/core/azure-core">azure-core</a> library. You can learn more about these libraries by reading guidelines that they follow <a href="https://azure.github.io/azure-sdk/python/guidelines/index.html">here</a>.</p>
|
|
<p>You can find the <a href="https://azure.github.io/azure-sdk/releases/latest/index.html#python">most up to date list of all of the new packages on our page</a></p>
|
|
<blockquote>
|
|
<p>NOTE: If you need to ensure your code is ready for production use one of the stable, non-preview libraries.</p>
|
|
</blockquote>
|
|
<h3 id="client-previous-versions">Client: Previous Versions</h3>
|
|
<p>Last stable versions of packages that have been provided for usage with Azure and are production-ready. These libraries provide you with similar functionalities to the Preview ones as they allow you to use and consume existing resources and interact with them, for example: upload a blob. They might not implement the <a href="https://azure.github.io/azure-sdk/python/guidelines/index.html">guidelines</a> or have the same feature set as the November releases. They do however offer wider coverage of services.</p>
|
|
<h3 id="management-new-releases">Management: New Releases</h3>
|
|
<p>A new set of management libraries that follow the <a href="https://azure.github.io/azure-sdk/python/guidelines/">Azure SDK Design Guidelines for Python</a> are now available. These new libraries provide a number of core capabilities that are shared amongst all Azure SDKs, including the intuitive Azure Identity library, an HTTP Pipeline with custom policies, error-handling, distributed tracing, and much more.
|
|
Documentation and code samples for these new libraries can be found <a href="https://aka.ms/azsdk/python/mgmt">here</a>. In addition, a migration guide that shows how to transition from older versions of libraries is located <a href="https://github.com/Azure/azure-sdk-for-python/blob/main/doc/sphinx/mgmt_quickstart.rst#migration-guide">here</a>.</p>
|
|
<p>You can find the <a href="https://azure.github.io/azure-sdk/releases/latest/mgmt/python.html">most up to date list of all of the new packages on our page</a></p>
|
|
<blockquote>
|
|
<p>NOTE: If you need to ensure your code is ready for production use one of the stable, non-preview libraries. Also, if you are experiencing authentication issues with the management libraries after upgrading certain packages, it's possible that you upgraded to the new versions of SDK without changing the authentication code, please refer to the migration guide mentioned above for proper instructions.</p>
|
|
</blockquote>
|
|
<h3 id="management-previous-versions">Management: Previous Versions</h3>
|
|
<p>For a complete list of management libraries that enable you to provision and manage Azure resources, please <a href="https://azure.github.io/azure-sdk/releases/latest/all/python.html">check here</a>. They might not have the same feature set as the new releases but they do offer wider coverage of services.
|
|
Management libraries can be identified by namespaces that start with <code>azure-mgmt-</code>, e.g. <code>azure-mgmt-compute</code></p>
|
|
<h2 id="need-help">Need help?</h2>
|
|
<ul>
|
|
<li>For detailed documentation visit our <a href="https://aka.ms/python-docs">Azure SDK for Python documentation</a></li>
|
|
<li>File an issue via <a href="https://github.com/Azure/azure-sdk-for-python/issues">GitHub Issues</a></li>
|
|
<li>Check <a href="https://stackoverflow.com/questions/tagged/azure+python">previous questions</a> or ask new ones on StackOverflow using <code>azure</code> and <code>python</code> tags.</li>
|
|
</ul>
|
|
<h3 id="reporting-security-issues-and-security-bugs">Reporting security issues and security bugs</h3>
|
|
<p>Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) <a href="mailto:secure@microsoft.com">secure@microsoft.com</a>. You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found in the <a href="https://www.microsoft.com/msrc/faqs-report-an-issue">Security TechCenter</a>.</p>
|
|
<h2 id="contributing">Contributing</h2>
|
|
<p>For details on contributing to this repository, see the <a href="https://github.com/Azure/azure-sdk-for-python/blob/main/CONTRIBUTING.md">contributing guide</a>.</p>
|
|
<p>This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit
|
|
<a href="https://cla.microsoft.com">https://cla.microsoft.com</a>.</p>
|
|
<p>When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repositories using our CLA.</p>
|
|
<p>This project has adopted the <a href="https://opensource.microsoft.com/codeofconduct/">Microsoft Open Source Code of Conduct</a>.
|
|
For more information see the <a href="https://opensource.microsoft.com/codeofconduct/faq/">Code of Conduct FAQ</a>
|
|
or contact <a href="mailto:opencode@microsoft.com">opencode@microsoft.com</a> with any additional questions or comments.</p>
|
|
<p><img src="https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2FREADME.png" alt="Impressions"></p>
|
|
</article>
|
|
</div>
|
|
|
|
<div class="hidden-sm col-md-2" role="complementary">
|
|
<div class="sideaffix">
|
|
<nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
|
|
</nav>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<footer>
|
|
<div class="grad-bottom"></div>
|
|
<div class="footer">
|
|
<div class="container">
|
|
<span class="pull-right">
|
|
<a href="#top">Back to top</a>
|
|
</span>
|
|
Azure SDK for Python
|
|
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
</div>
|
|
|
|
<script type="text/javascript" src="styles/docfx.vendor.js"></script>
|
|
<script type="text/javascript" src="styles/docfx.js"></script>
|
|
<script type="text/javascript" src="styles/main.js"></script>
|
|
</body>
|
|
</html>
|