azure-mgmt-media
Microsoft Azure Media Services Client Library for Python
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 on this page — 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
azure-mgmt-media on PyPI
pip
pip install azure-mgmt-mediauv
uv add azure-mgmt-mediapoetry
poetry add azure-mgmt-mediaInstalling 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 the current Python release (>=3.7) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — msrest, azure-common, azure-mgmt-core, typing-extensions |
| Maintenance | actively maintained — 437 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 6,762,353/month — #1,853 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: azure_mgmt_media-10.2.1-py3-none-any.whl
Keywords: azure, azure sdk
Tags
More Internet packages
Botocore provides low-level, data-driven access…
permissive · top 100 on PyPI
aiobotocoreProvides an async client for AWS services using…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
filelockProvides a platform-independent file locking…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
googleapis-common-protosProvides common Protocol Buffer message…
permissive · top 100 on PyPI
azure-mgmt-managementpartnerProvides a Python client library for managing…
unclear · top 5,000 on PyPI
azure-mgmt-managedservicesProvides Python client library for managing…
unclear · top 15,000 on PyPI
azure-mgmt-msiManages Azure Managed Service Identities…
permissive · top 5,000 on PyPI
azure-mgmt-appplatformManages Azure App Platform (Spring Apps)…
permissive · top 15,000 on PyPI
azure-mgmt-webProvides programmatic management of Azure Web…
permissive · top 5,000 on PyPI
azure-mgmt-resource-subscriptionsManages Azure subscriptions and related…
permissive · top 15,000 on PyPI
azure-mgmt-signalrManages Azure SignalR resources—creation,…
permissive · top 5,000 on PyPI
azure-mgmt-storageManages Azure Storage accounts, containers,…
permissive · top 5,000 on PyPI
azure-mgmt-resourceProvides Python bindings to manage Azure…
permissive · top 1,000 on PyPI
azure-mgmtThis package is deprecated as of v5.0.0 and…
permissive · top 5,000 on PyPI