Registry / type-stubs / mypy-boto3-autoscaling-plans

mypy-boto3-autoscaling-plans

JSON →
library1.43.0pypypi✓ verified 24d ago

This library provides PEP 561 compliant type annotations for the boto3 AutoScalingPlans service. It enhances static analysis for boto3 users, allowing tools like MyPy to catch type-related errors before runtime. The current version is 1.42.3, which corresponds to boto3 1.42.3, and it receives frequent updates in sync with boto3 releases and the underlying mypy-boto3-builder project.

pip install boto3 mypy-boto3-autoscaling-plans
INSTALL
IMPORT
SIG · MYPY-BOTO3-AUTOSCA
M
mypy-boto3-autoscaling-plans
type-stubspythonv1.43.0
Install
3.9s avg
Import
576ms
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.592s · 51.9MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 3.9s · import 0.560s · 52MB
50MB installed
● package 50MB
Code
Verified usage

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

AutoScalingPlansClient
from mypy_boto3_autoscaling_plans import AutoScalingPlansClient
The primary import for typing the boto3 client for Auto Scaling Plans.
AutoScalingPlansServiceName
from mypy_boto3_autoscaling_plans import AutoScalingPlansServiceName
For Literal type of the service name, useful for client creation.
DescribeScalingPlansOutputTypeDef
from mypy_boto3_autoscaling_plans.type_defs import DescribeScalingPlansOutputTypeDef
Example for importing specific TypeDefs for request/response payloads.

This quickstart demonstrates how to import and use the `AutoScalingPlansClient` type for static analysis. It shows the creation of a typed boto3 client and a simple call to `describe_scaling_plans`, benefiting from type hints for parameters and return values.

import boto3 from mypy_boto3_autoscaling_plans import AutoScalingPlansClient # Initialize a typed boto3 client for Auto Scaling Plans client: AutoScalingPlansClient = boto3.client("autoscaling-plans") try: # Example: List existing scaling plans response = client.describe_scaling_plans( ScalingPlanNames=['my-scaling-plan'], MaxResults=5 ) print(f"Found {len(response.get('ScalingPlans', []))} scaling plans.") for plan in response.get('ScalingPlans', []): print(f" - Plan Name: {plan['ScalingPlanName']}") except Exception as e: print(f"Error describing scaling plans: {e}")
Debug
Known issues
breakingStarting with `mypy-boto3-builder` version 8.12.0 (which generated `mypy-boto3-autoscaling-plans 1.42.3`), Python 3.8 is no longer supported for any `mypy-boto3` stub packages.
fix
Upgrade your Python environment to 3.9 or higher. If you must use Python 3.8, you will need to use an older version of `mypy-boto3-autoscaling-plans` (e.g., <1.42.0) that was built with an older builder version.
affects: mypy-boto3-autoscaling-plans >= 1.42.0
gotchaThese packages provide type stubs, not the actual runtime. You must have `boto3` installed alongside `mypy-boto3-autoscaling-plans` for your application to run.
fix
Ensure both `boto3` and `mypy-boto3-autoscaling-plans` are included in your project dependencies (e.g., `pip install boto3 mypy-boto3-autoscaling-plans`).
affects: All versions
gotchaFor accurate type checking, the minor version of `mypy-boto3-autoscaling-plans` should match your `boto3` runtime version. Significant mismatches can lead to incorrect type hints or missing attributes.
fix
Align the `mypy-boto3-autoscaling-plans` version with your installed `boto3` version. For example, if you use `boto3==1.28.x`, install `mypy-boto3-autoscaling-plans==1.28.x`.
affects: All versions
breakingThe `mypy-boto3-builder` (which this package is based on) changed TypeDef naming conventions in version 8.9.0. If upgrading from very old `mypy-boto3` versions, custom TypeDef imports might break.
fix
Review and update any direct imports of `type_defs` (e.g., `from mypy_boto3_autoscaling_plans.type_defs import OldNameTypeDef` to `NewNameTypeDef`) after upgrading.
affects: mypy-boto3-autoscaling-plans < 1.34.0 (for upgrade path)
Upgrade
Version history
1.43.0latest on PyPI · released Apr 29, 2026
Audit
Dependencies
boto3requiredThis package provides type stubs for boto3; the actual boto3 runtime library is required to use the AWS SDK.
Agent activity
24 hits · last 30 days
node
22
OpenAI (training)
1
Resources
mypy-boto3-autoscaling-plans — pip install mypy-boto3-autoscaling-plans · libregistry