Registry / type-stubs / mypy-boto3-panorama

mypy-boto3-panorama

JSON →
library1.43.0pypypi✓ verified 22d ago

mypy-boto3-panorama provides type annotations for the `boto3` Panorama service, ensuring static type checking for your AWS interactions. It is generated by `mypy-boto3-builder` and keeps pace with `boto3` releases, typically updating when `boto3` itself releases new versions or changes service APIs. The current version is 1.42.3.

pip install mypy-boto3-panorama boto3
INSTALL
IMPORT
SIG · MYPY-BOTO3-PANORAM
M
mypy-boto3-panorama
type-stubspythonv1.43.0
Install
3.9s avg
Import
607ms
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.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.626s · 52MB
glibc
py 3.103.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}")
Debug
Known issues
breakingPython 3.8 support has been removed across all `mypy-boto3` packages, including `mypy-boto3-panorama`. Projects must use Python 3.9 or newer.
fix
Upgrade your project's Python version to 3.9 or higher.
affects: >=8.12.0
breakingThe `mypy-boto3` builder (which generates this package) migrated to PEP 561-compliant stub packages. This may affect some advanced build systems or `mypy` configurations, especially if you were relying on older stub distribution methods.
fix
Review your `mypy` configuration and build processes to ensure compatibility with PEP 561 package layouts. Most users should not be directly affected, but if issues arise, consult `mypy` documentation and `mypy-boto3` release notes.
affects: >=8.12.0
breakingGenerated TypeDef names for service methods were shortened and consolidated in older versions, potentially breaking direct imports of specific `TypeDef` aliases if they were impacted. For example, `CreateDistributionRequestRequestTypeDef` became `CreateDistributionRequestTypeDef`.
fix
If you directly import and reference generated `TypeDef`s, verify their names against the latest stub definitions. Adjust your imports and type annotations as necessary.
affects: >=8.9.0
gotchaFor `mypy-boto3-panorama` to provide type checking, you *must* install both `boto3` (the runtime library) and `mypy-boto3-panorama` (the type stubs). Installing only one will result in either runtime errors or un-type-checked `boto3` calls.
fix
Ensure both `pip install boto3` and `pip install mypy-boto3-panorama` are executed in your environment.
affects: All versions
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.
Agent activity
18 hits · last 30 days
node
16
OpenAI (training)
1
Resources
mypy-boto3-panorama — pip install mypy-boto3-panorama · libregistry