mux-python
Mux API
Decision gist · record as of 2026-08-14
Yes, if you use Mux Video or Mux Data services. The package has low install friction, permissive licensing, and no known vulnerabilities. However, the 218-day gap since last release and aging maintenance status suggest it is stable but not actively developed—suitable for production use with established APIs but not for rapid feature additions. Verify current Python version support before adopting.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires MUX_TOKEN_ID and MUX_TOKEN_SECRET environment variables set with valid Mux API credentials.
- Low install friction with three lightweight dependencies (urllib3, six, python-dateutil).
- Last release was 218 days ago; repo is active but aging, with 68 stars.
License · maintenance · safety
MIT (permissive) — MIT license is permissive and imposes no restrictions on use, modification, or distribution in commercial or private projects.
last release 2026-01-08 (218 days) · last repo commit 2026-01-08 · 68 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 963,948 downloads/mo, #4,628 on PyPI
Alternatives
Verify before relying
pip install mux-python
import os
import mux_python
from mux_python.rest import ApiException
configuration = mux_python.Configuration()
configuration.username = os.environ['MUX_TOKEN_ID']
configuration.password = os.environ['MUX_TOKEN_SECRET']
assets_api = mux_python.AssetsApi(mux_python.ApiClient(configuration))
list_assets_response = assets_api.list_assets()- Current Python version support (description mentions 2.7 or 3.4+ but requires_python is unspecified in metadata).
- Whether the package is actively maintained or in maintenance-only mode given the 218-day gap since last release.
What it is and what it does
mux-python is the official Python SDK for Mux's REST APIs, generated from OpenAPI definitions. It wraps two main Mux services: Mux Video for video hosting, transcoding, and live streaming, and Mux Data for real-time video performance analytics and quality-of-service monitoring. The library is a lightweight, code-generated wrapper that closely mirrors the underlying REST API structure, meaning responses follow a JSON:API-like pattern where the actual data lives in a `data` field on the response object. It uses a functional API design rather than heavy object orientation—for example, operations on assets are methods on an AssetsApi class that take an asset ID, rather than methods on an asset object itself.
The package depends on urllib3, six, and python-dateutil for HTTP requests and date handling. It provides specific exception types (NotFoundException, UnauthorizedException, ServiceException) for error handling. The library is not suitable for parsing webhook payloads due to API spec incompatibilities, only for making REST API calls. Authentication is managed by passing token ID and secret to a Configuration object, typically read from environment variables.
Use it for
- List, create, and manage video assets in Mux Video—upload files, check transcoding status, retrieve playback URLs.
- Create and manage live streams, retrieve stream keys, and monitor live broadcast status.
- Query video performance metrics and analytics from Mux Data—view error rates, quality metrics, and viewer experience data.
- Retrieve signing keys and configure video playback authentication and authorization.
- Manage video uploads and track their ingestion status through the Mux platform.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use Mux Video or Mux Data services.
The package has low install friction, permissive licensing, and no known vulnerabilities. However, the 218-day gap since last release and aging maintenance status suggest it is stable but not actively developed—suitable for production use with established APIs but not for rapid feature additions. Verify current Python version support before adopting.
Install
mux-python on PyPI
Before you install
Low install friction with three lightweight dependencies (urllib3, six, python-dateutil). Last release was 218 days ago; repo is active but aging, with 68 stars. No recent commits suggest the package is stable but not under active development.
Requires MUX_TOKEN_ID and MUX_TOKEN_SECRET environment variables set with valid Mux API credentials.
License in practice
MIT license is permissive and imposes no restrictions on use, modification, or distribution in commercial or private projects.
Quickstart
pip install mux-python
import os
import mux_python
from mux_python.rest import ApiException
configuration = mux_python.Configuration()
configuration.username = os.environ['MUX_TOKEN_ID']
configuration.password = os.environ['MUX_TOKEN_SECRET']
assets_api = mux_python.AssetsApi(mux_python.ApiClient(configuration))
list_assets_response = assets_api.list_assets()
Verify before relying
- Current Python version support (description mentions 2.7 or 3.4+ but requires_python is unspecified in metadata).
- Whether the package is actively maintained or in maintenance-only mode given the 218-day gap since last release.
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesurllib3sixpython-dateutil |
| Maintenance | Aging 218 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 963,948 / month, #4,628 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: mux_python-5.1.2-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “mux api client”
- mux-pythonOfficial Python wrapper for the Mux API, providing access to Mux…
- lambdapdkLambdapdk provides pre-configured, open-source Process Design Kits…
- codewords-clientA Python client library for the Codewords API with built-in FastAPI…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also twelvelabs · signalflow-client-python · vonage-video · tako-sdk · azure-mgmt-streamanalytics · streamlink · ffmpeg-python · scikit-video · pynvvideocodec · zhipuai