Registry / type-stubs / mypy-boto3-medialive

mypy-boto3-medialive

JSON →
library1.43.75pypypi✓ verified 21d ago

This library provides type annotations (stubs) for the `boto3` MediaLive client, allowing static type checkers like MyPy to validate usage of `boto3`. It is currently at version 1.42.86 and receives frequent updates, often aligning with `boto3`/`botocore` releases and `mypy-boto3-builder` updates, which is the underlying generation tool.

pip install mypy-boto3-medialive
INSTALL
IMPORT
SIG · MYPY-BOTO3-MEDIALI
M
mypy-boto3-medialive
type-stubspythonv1.43.75
Install
1.8s avg
Import
Disk
17MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.43.75 · 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 · 19.4MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 1.8s · import 0.000s · 20MB
17MB installed
● package 17MB
Code
Verified usage

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

MediaLiveClient
from mypy_boto3_medialive import MediaLiveClient
from mypy_boto3_medialive import MediaLiveClient

This quickstart demonstrates how to create a `boto3` MediaLive client and apply the `mypy-boto3-medialive` type annotation for improved static analysis. It assumes `boto3` is already installed and configured.

import boto3 from mypy_boto3_medialive import MediaLiveClient def get_medialive_client() -> MediaLiveClient: """Returns a typed MediaLive client.""" # Boto3 client creation remains the same, but now with type hints client: MediaLiveClient = boto3.client("medialive") return client # Example usage with type checking medialive_client = get_medialive_client() response = medialive_client.list_channels() print(f"MediaLive channels: {len(response.get('Channels', []))}")
Debug
Known issues
deprecatedThe `mypy-boto3-*` package naming scheme is considered legacy and deprecated by the maintainers. It is highly recommended to migrate to the `boto3-stubs-*` equivalent packages (e.g., `boto3-stubs-medialive`) for future updates and better feature support.
fix
Uninstall `mypy-boto3-medialive` and install `boto3-stubs-medialive` instead: `pip uninstall mypy-boto3-medialive && pip install boto3-stubs-medialive`.
affects: All versions 8.9.0 and later of `mypy-boto3-builder` consider `mypy-boto3-*` deprecated.
breakingSupport for Python 3.8 was removed in `mypy-boto3-builder` version 8.12.0. Packages generated with this builder, including `mypy-boto3-medialive` 1.42.86 and newer, will no longer support Python 3.8.
fix
Upgrade your Python environment to 3.9 or higher. If you must use Python 3.8, you will need to pin to an older version of `mypy-boto3-medialive` (e.g., <1.42.86).
affects: mypy-boto3-medialive >= 1.42.86 (generated by builder 8.12.0+)
gotchaThis library provides type *stubs* only; it does not replace or include the actual `boto3` runtime library. You must install `boto3` separately for your code to function at runtime.
fix
Ensure `boto3` is installed in your environment: `pip install boto3`.
affects: All versions
breakingType definition naming conventions changed in `mypy-boto3-builder` version 8.9.0. This caused potential breaking changes in TypeDef names for all generated services. For instance, `CreateDistributionRequestRequestTypeDef` might have been shortened to `CreateDistributionRequestTypeDef`, or `Extra` postfixes moved.
fix
Review your code for any custom TypeDef imports or direct references that might have been affected by the naming change and update them accordingly. Refer to the specific service's type_defs module.
affects: mypy-boto3-medialive >= 1.40.0 (generated by builder 8.9.0+)
Upgrade
Version history
1.43.75latest on PyPI · released Aug 19, 2026
Audit
Dependencies
boto3requiredProvides the runtime functionality for which these are type stubs.
Agent activity
22 hits · last 30 days
node
20
OpenAI (training)
1
Resources
mypy-boto3-medialive — pip install mypy-boto3-medialive · libregistry