skillfed

azure-mgmt-media

Microsoft Azure Media Services Client Library for Python

azure-mgmt-media v10.2.1 6.8M downloads/30d#1,853 on PyPI5,588
Permissive license MIT License Active released

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-media

uv

uv add azure-mgmt-media

poetry

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 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

Development Status :: 7 - InactiveLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Tags

azure media services managementazure video encoding jobsazure streaming endpointsazure live events apiazure media account management
deprecatedazure-sdkcloud-management

More Internet packages

botocore

Botocore provides low-level, data-driven access…

permissive · top 100 on PyPI

aiobotocore

Provides an async client for AWS services using…

permissive · top 100 on PyPI

pydantic

Pydantic validates Python data structures…

permissive · top 100 on PyPI

filelock

Provides a platform-independent file locking…

permissive · top 100 on PyPI

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

googleapis-common-protos

Provides common Protocol Buffer message…

permissive · top 100 on PyPI

azure-mgmt-managementpartner

Provides a Python client library for managing…

unclear · top 5,000 on PyPI

azure-mgmt-managedservices

Provides Python client library for managing…

unclear · top 15,000 on PyPI

azure-mgmt-msi

Manages Azure Managed Service Identities…

permissive · top 5,000 on PyPI

azure-mgmt-appplatform

Manages Azure App Platform (Spring Apps)…

permissive · top 15,000 on PyPI

azure-mgmt-web

Provides programmatic management of Azure Web…

permissive · top 5,000 on PyPI

azure-mgmt-resource-subscriptions

Manages Azure subscriptions and related…

permissive · top 15,000 on PyPI

azure-mgmt-signalr

Manages Azure SignalR resources—creation,…

permissive · top 5,000 on PyPI

azure-mgmt-storage

Manages Azure Storage accounts, containers,…

permissive · top 5,000 on PyPI

azure-mgmt-resource

Provides Python bindings to manage Azure…

permissive · top 1,000 on PyPI

azure-mgmt

This package is deprecated as of v5.0.0 and…

permissive · top 5,000 on PyPI