Registry /
type-stubs / mypy-boto3-marketplace-deployment
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.910 runs
installs and imports cleanly · install 0.0s · import 0.000s · 19.6MB
glibcpy 3.10–3.910 runs
installs and imports cleanly · install 3.3s · import 0.000s · 20MB
18MB installed
● package 18MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
MarketplaceDeploymentServiceClient
✓ from mypy_boto3_marketplace_deployment import MarketplaceDeploymentServiceClient
✗ from mypy_boto3_marketplace_deployment import MarketplaceDeploymentServiceClient
This quickstart demonstrates how to import and use the type-hinted `MarketplaceDeploymentServiceClient` with `boto3`. It includes the recommended `if TYPE_CHECKING` block to ensure type imports are only active during static analysis, avoiding runtime dependencies on the stub package.
import boto3
from typing import TYPE_CHECKING
if TYPE_CHECKING:
from mypy_boto3_marketplace_deployment import MarketplaceDeploymentServiceClient
from mypy_boto3_marketplace_deployment.type_defs import DeploymentParameterInputTypeDef
def get_marketplace_deployment_client() -> 'MarketplaceDeploymentServiceClient':
"""Returns a type-hinted MarketplaceDeploymentService client."""
# boto3.client is dynamically typed, mypy-boto3 provides the static types
return boto3.client("marketplace-deployment") # type: ignore[return-value]
def process_deployment_parameters(client: 'MarketplaceDeploymentServiceClient') -> None:
"""Example of using the client with typed input."""
# Example of a typed dictionary for input (replace with actual data)
deployment_param: DeploymentParameterInputTypeDef = {
"name": "ExampleParam",
"value": "ExampleValue"
}
# In a real scenario, you'd call a client method here, e.g., client.SomeOperation(**deployment_param)
print(f"Processing deployment parameter: {deployment_param['name']}")
if __name__ == "__main__":
client = get_marketplace_deployment_client()
process_deployment_parameters(client)
Debug
Known issues
breakingAs of `mypy-boto3-builder` version 8.12.0, Python 3.8 support has been removed. All `mypy-boto3` packages, including this one, now require Python >=3.9.fixUpgrade your Python environment to 3.9 or newer.
affects: mypy-boto3-builder >=8.12.0 (and generated stubs)
breakingThe `mypy-boto3-builder` (version 8.9.0) introduced changes to how TypeDef names are generated, potentially shortening them (e.g., `CreateDistributionRequestRequestTypeDef` to `CreateDistributionRequestTypeDef`) or adjusting postfixes for conflicting names. While specific to the builder, this impacts all generated service stubs if such naming conflicts existed.fixReview your code for any explicit imports of `TypeDef` names and adjust according to the new naming conventions if they were affected.
affects: mypy-boto3-builder >=8.9.0 (and generated stubs)
gotchaThis package provides type stubs *only* for the `MarketplaceDeploymentService`. For comprehensive `boto3` type annotations covering all services, you should install the `boto3-stubs` metapackage (e.g., `pip install boto3-stubs[full]`) or specific service stubs for each service you use (e.g., `pip install boto3-stubs[s3,ec2]`). Installing only this package will not provide types for other boto3 services.fixInstall `boto3-stubs` with the appropriate extras (`[full]`, `[all]`, or specific service names) to get type annotations for other AWS services.
affects: All versions
gotchaIt is highly recommended to wrap `mypy-boto3` type imports within `if TYPE_CHECKING:` blocks. This prevents the stub packages from becoming runtime dependencies, keeping your production environment lighter and cleaner. Tools like Pylint might complain about undefined variables without this pattern or by assigning `object` in the `else` branch.fixEncapsulate type imports: `from typing import TYPE_CHECKING\nif TYPE_CHECKING:\n from mypy_boto3_marketplace_deployment import MarketplaceDeploymentServiceClient`
affects: All versions
Upgrade
Version history
1.43.0latest on PyPI · released Apr 29, 2026
Audit
Dependencies
boto3requiredThese are type stubs for `boto3`; `boto3` itself must be installed and used at runtime for the stubs to be effective.