Registry / type-stubs / mypy-boto3-ivs

mypy-boto3-ivs

JSON →
library1.43.45pypypi✓ verified 22d ago

mypy-boto3-ivs provides PEP 561 compatible type annotations for the `boto3` AWS IVS (Amazon Interactive Video Service) service, enhancing Python development with static type checking and IDE auto-completion. It is part of the `mypy-boto3-builder` project, which automatically generates and releases stub packages in sync with `boto3` updates. The current version is 1.42.3, mirroring the `boto3` version it types.

pip install mypy-boto3-ivs boto3
INSTALL
IMPORT
SIG · MYPY-BOTO3-IVS
M
mypy-boto3-ivs
type-stubspythonv1.43.45
Install
3.8s avg
Import
581ms
Disk
50MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.43.45 · 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.602s · 52MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 3.8s · import 0.560s · 53MB
50MB installed
● package 50MB
Code
Verified usage

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

IVSClient
from mypy_boto3_ivs.client import IVSClient
Imports the typed client for IVS service.
boto3
import boto3
Standard import for the boto3 library, which is typed by this package.

This quickstart demonstrates how to initialize a typed IVS client using `boto3` and `mypy-boto3-ivs`, and then make a basic API call like `list_channels`. The `client: IVSClient` type hint ensures that type checkers (like Mypy or Pyright) provide accurate auto-completion and error checking for IVS-specific methods and response structures.

import boto3 from mypy_boto3_ivs.client import IVSClient import os # Ensure boto3 is configured, e.g., via environment variables or ~/.aws/credentials # This example assumes credentials are set up for boto3 def get_ivs_channels(): # The client will be implicitly typed as IVSClient due to mypy-boto3-ivs client: IVSClient = boto3.client("ivs", region_name=os.environ.get('AWS_REGION', 'us-east-1')) try: response = client.list_channels() print("Successfully listed IVS channels.") for channel in response.get("channels", []): print(f" Channel ARN: {channel.get('arn')}, Name: {channel.get('name')}") return response.get("channels", []) except Exception as e: print(f"Error listing IVS channels: {e}") return [] if __name__ == "__main__": # Example usage ivs_channels = get_ivs_channels() if not ivs_channels: print("No IVS channels found or an error occurred.")
Debug
Known issues
breakingThe underlying `mypy-boto3-builder` (version 8.12.0+) has removed support for Python 3.8. Projects relying on `mypy-boto3-ivs` must use Python 3.9 or newer.
fix
Upgrade your Python environment to 3.9 or a newer supported version.
affects: mypy-boto3-builder >=8.12.0, mypy-boto3-ivs corresponding versions
gotcha`mypy-boto3-ivs` is a stub-only package (PEP 561). It provides type hints for `boto3`, but you must install `boto3` itself separately for runtime functionality. Installing only `mypy-boto3-ivs` will not allow you to interact with AWS services.
fix
Always install `boto3` alongside `mypy-boto3-ivs` (e.g., `pip install boto3 mypy-boto3-ivs`).
affects: All versions
breakingFor those creating custom stubs or deeply inspecting generated types, `mypy-boto3-builder` version 8.9.0 introduced breaking changes to `TypeDef` naming conventions (e.g., `CreateDistributionRequestRequestTypeDef` became `CreateDistributionRequestTypeDef`).
fix
Review your code for any custom usage or introspection of `TypeDef` names and adjust to the new naming conventions.
affects: mypy-boto3-builder >=8.9.0
gotchaPyCharm users might experience slow performance with Literal overloads provided by `mypy-boto3` packages. As a workaround, the `boto3-stubs-lite` variants are recommended for better IDE responsiveness, though they might require more explicit type annotations.
fix
Consider installing `boto3-stubs-lite[ivs]` (or the general `boto3-stubs-lite`) instead of the full package, or disable PyCharm's internal type checker and rely on external tools like `mypy` or `pyright`.
affects: All versions, specifically affecting PyCharm users
Upgrade
Version history
1.43.45latest on PyPI · released Jul 9, 2026
Audit
Dependencies
boto3requiredProvides the actual runtime functionality for AWS services. `mypy-boto3-ivs` only provides type stubs.
Agent activity
10 hits · last 30 days
node
8
OpenAI (training)
1
Resources
mypy-boto3-ivs — pip install mypy-boto3-ivs · libregistry