--- id: azure-mgmt-media version: "10.2.1" license: MIT License license_treatment: permissive maintenance: active --- # azure-mgmt-media — Microsoft Azure Media Services Client Library for Python License: permissive · Maintenance: active · Downloads: 6.8M/mo ## What it is and what it does This is the official Python SDK for managing Azure Media Services resources. It provides a client library to authenticate with Azure Active Directory and perform operations on media accounts, assets, encoding jobs, streaming endpoints, and live events. The package wraps Azure's REST API into Python objects and methods, letting you programmatically create and configure media workflows. The package is deprecated and will no longer be maintained after 06/30/2024. Microsoft has published a retirement guide and recommends migration to newer services. While the current version (10.2.1) is functional and tested against Python 3.7+, new projects should evaluate whether Azure Media Services itself meets their needs or whether a successor service is more appropriate. Use it for: - Automate creation and configuration of Azure Media Services accounts and storage accounts from Python. - Submit video encoding jobs to Azure and monitor their progress programmatically. - Set up streaming endpoints and streaming locators to deliver encoded media to end users. - Manage live events and live outputs for real-time streaming scenarios. - Apply content protection policies and encryption settings to media assets via code. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Manages Azure Media Services resources—accounts, assets, jobs, streaming endpoints, and live events—through Python API calls authenticated via Azure Active Directory. No—do not install for new projects. The package is deprecated and unsupported after 06/30/2024. If you are maintaining existing code that already uses it, the current version is stable and has no known vulnerabilities, but you should plan a migration to Azure's recommended successor services. For new work, consult Azure's retirement guide to identify the appropriate replacement. ## Install pip install azure-mgmt-media uv add azure-mgmt-media poetry add azure-mgmt-media ## Installing azure-mgmt-media Before you install: Low install friction with four stable runtime dependencies. However, the package is marked inactive (Development Status 7) and deprecated as of 06/30/2024, meaning no further maintenance is planned despite the repository remaining active. License in practice: MIT License permits commercial and private use with minimal restrictions, making it safe to adopt from a licensing perspective—though the deprecation status is the more pressing concern. Quickstart: pip install azure-mgmt-media from azure.mgmt.media import MediaManagementClient from azure.common import AzureHttpError import os sub_id = os.getenv("AZURE_SUBSCRIPTION_ID") client = MediaManagementClient(credential=None, subscription_id=sub_id) Requires Azure subscription and environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, and AZURE_SUBSCRIPTION_ID to be set for authentication. Verify before relying: - Whether existing code using this package will continue to work after the 06/30/2024 deprecation date or if breaking changes are expected. - What the recommended migration path is for applications currently relying on this package. - Whether the underlying Azure Media Services platform itself is being retired or only this SDK. ## Package facts - License: MIT License (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 6.8M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags azure media services management, azure video encoding jobs, azure streaming endpoints, azure live events api, azure media account management, deprecated, azure-sdk, cloud-management [View on SkillFed](https://skillfed.io/packages/azure-mgmt-media) · [View on PyPI](https://pypi.org/project/azure-mgmt-media/)