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
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.626s · 52MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 3.9s · import 0.588s · 52MB
50MB installed
● package 50MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
PanoramaClient
✓ from mypy_boto3_panorama.client import PanoramaClient
ListApplicationInstancesOutputTypeDef
✓ from mypy_boto3_panorama.type_defs import ListApplicationInstancesOutputTypeDef
client
✓ import boto3
client: PanoramaClient = boto3.client('panorama')
✗ import boto3
client = boto3.client('panorama')
While the `boto3.client` call itself doesn't change, the correct usage for type checking requires either an explicit type annotation or installing `boto3-stubs` as a whole for inferred types.
This quickstart demonstrates how to instantiate a Panorama client with type annotations and call a method. Ensure you have `boto3` and `mypy-boto3-panorama` installed, and your AWS credentials configured (e.g., via environment variables or `~/.aws/credentials`).
import os
import boto3
from mypy_boto3_panorama.client import PanoramaClient
from mypy_boto3_panorama.type_defs import ListApplicationInstancesOutputTypeDef
def list_panorama_instances(region: str = "us-east-1") -> ListApplicationInstancesOutputTypeDef:
"""Lists Panorama application instances with type checking."""
# Ensure boto3 is configured, e.g., via AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY,
# or ~/.aws/credentials. For demonstration, we'll use environment variables.
client: PanoramaClient = boto3.client(
"panorama",
region_name=region,
aws_access_key_id=os.environ.get('AWS_ACCESS_KEY_ID', ''),
aws_secret_access_key=os.environ.get('AWS_SECRET_ACCESS_KEY', '')
)
response: ListApplicationInstancesOutputTypeDef = client.list_application_instances()
print(f"Found {len(response.get('ApplicationInstances', []))} Panorama application instances.")
return response
if __name__ == "__main__":
try:
# This call will likely fail without proper AWS credentials/permissions.
# It demonstrates the type-checked interaction.
list_panorama_instances()
except Exception as e:
print(f"Error listing Panorama instances (expected if credentials/permissions are not set): {e}")
Upgrade
Version history
1.43.0latest on PyPI · released Apr 29, 2026
Audit
Dependencies
boto3requiredProvides the AWS SDK runtime functionality that these stubs type-check. Must be installed alongside.
typing-extensionsrequiredRequired by the stub package for compatibility across various Python versions and type-checking features.