Registry / type-stubs / mypy-boto3-mediapackage-vod

mypy-boto3-mediapackage-vod

JSON →
library1.43.0pypypi✓ verified 23d ago

mypy-boto3-mediapackage-vod provides static type annotations for the `boto3` MediaPackageVod service client, enhancing development with improved IDE auto-completion, static analysis, and early error detection. It is version 1.42.3 and is actively maintained, with releases tied to updates in `boto3` and its generator, `mypy-boto3-builder`.

pip install mypy-boto3-mediapackage-vod
INSTALL
IMPORT
SIG · MYPY-BOTO3-MEDIAPA
M
mypy-boto3-mediapackage-vod
type-stubspythonv1.43.0
Install
1.7s avg
Import
Disk
16MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.43.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 18.3MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 1.7s · import 0.000s · 19MB
16MB installed
● package 16MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MediaPackageVodClient
from mypy_boto3_mediapackage_vod import MediaPackageVodClient
from mypy_boto3_mediapackage_vod import MediaPackageVodClient

This quickstart demonstrates how to initialize a `boto3` MediaPackageVod client with type hints provided by `mypy-boto3-mediapackage-vod`. The `TYPE_CHECKING` block ensures that type imports are only active during static analysis, preventing runtime dependencies. The example then calls `list_assets` and uses the typed response.

import boto3 from typing import TYPE_CHECKING if TYPE_CHECKING: from mypy_boto3_mediapackage_vod.client import MediaPackageVodClient from mypy_boto3_mediapackage_vod.type_defs import ListAssetsResponseTypeDef def list_vod_assets() -> ListAssetsResponseTypeDef: # mypy-boto3-mediapackage-vod provides type hints for the client client: MediaPackageVodClient = boto3.client("mediapackage-vod") response = client.list_assets() return response if __name__ == "__main__": # Example usage (requires AWS credentials configured) try: assets = list_vod_assets() print(f"Found {len(assets.get('Assets', []))} MediaPackage VOD assets.") except Exception as e: print(f"Error listing assets: {e}")
Debug
Known issues
breakingSupport for Python 3.8 was removed in `mypy-boto3-builder` version 8.12.0, affecting all generated `mypy-boto3` stub packages, including `mypy-boto3-mediapackage-vod`. Projects using Python 3.8 will no longer receive type hints or updates from this version onwards.
fix
Upgrade your Python environment to version 3.9 or newer. The `requires_python` metadata explicitly states `>=3.9`.
affects: >=1.42.0 (corresponding to mypy-boto3-builder 8.12.0)
breakingThe `mypy-boto3-builder` (which generates this package) migrated to PEP 561 compliant packages in version 8.12.0. This change might affect how some build systems or older static analysis tools interpret the stub distribution.
fix
Ensure your `mypy` and build environment are up-to-date and correctly configured to recognize PEP 561 stub-only packages. Most modern Python tooling should handle this automatically.
affects: >=1.42.0 (corresponding to mypy-boto3-builder 8.12.0)
gotchaThis package provides only type annotations; it does NOT install or include `boto3` itself. For your application to run, `boto3` must be installed separately in your environment.
fix
Always ensure you have `pip install boto3` in your project's dependencies alongside `mypy-boto3-mediapackage-vod`.
affects: All versions
breakingBreaking changes were introduced in `mypy-boto3-builder` 8.9.0 regarding `TypedDict` naming conventions. Specifically, method argument `TypeDef`s now use shorter names (e.g., `CreateDistributionRequestRequestTypeDef` -> `CreateDistributionRequestTypeDef`), and conflicting `TypeDef` `Extra` postfixes were moved to the end (e.g., `CreateDistributionExtraRequestTypeDef` -> `CreateDistributionRequestExtraTypeDef`).
fix
If your code explicitly imports or references generated `TypedDict` names, you may need to update these references to match the new naming conventions.
affects: >=1.42.0 (corresponding to mypy-boto3-builder 8.9.0)
gotchaWhile many IDEs and `mypy` can infer types, explicitly annotating `boto3.client` and `boto3.resource` calls with the imported client/resource types from `mypy_boto3_servicename` can improve accuracy, especially in IDEs like VSCode or when using 'lite' stub versions.
fix
Add explicit type hints to your `boto3` client/resource instantiations, e.g., `client: MediaPackageVodClient = boto3.client('mediapackage-vod')`.
affects: All versions
Upgrade
Version history
1.43.0latest on PyPI · released Apr 29, 2026
Audit
Dependencies
boto3requiredProvides the actual runtime functionality for AWS services; this package only adds type annotations.
pythonrequiredRequires Python 3.9 or newer.
Agent activity
18 hits · last 30 days
node
16
OpenAI (training)
1
Resources
mypy-boto3-mediapackage-vod — pip install mypy-boto3-mediapackage-vod · libregistry