Registry / type-stubs / mypy-boto3-scheduler

mypy-boto3-scheduler

JSON →
library1.43.0pypypi✓ verified 23d ago

mypy-boto3-scheduler provides type annotations for the boto3 EventBridgeScheduler service, currently at version 1.42.3. These stubs are generated by mypy-boto3-builder (version 8.12.0) and are designed to enhance type checking for boto3 code with tools like mypy, pyright, and various IDEs. The mypy-boto3-builder project has a rapid release cadence, frequently updating stubs to match boto3 releases and introducing new features or breaking changes.

pip install mypy-boto3-scheduler
INSTALL
IMPORT
SIG · MYPY-BOTO3-SCHEDUL
M
mypy-boto3-scheduler
type-stubspythonv1.43.0
Install
3.3s avg
Import
Disk
18MB
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.910 runs
installs and imports cleanly · install 0.0s · import 0.000s · 19.7MB
glibc
py 3.103.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.

EventBridgeSchedulerClient
from mypy_boto3_scheduler.client import EventBridgeSchedulerClient
from mypy_boto3_scheduler import EventBridgeSchedulerClient
EventBridgeSchedulerServiceResource
from mypy_boto3_scheduler.service_resource import EventBridgeSchedulerServiceResource
ServiceResource
from mypy_boto3_scheduler.service_resource import ServiceResource

This quickstart demonstrates how to import the `EventBridgeSchedulerClient` type and use it to explicitly type-hint your `boto3` client. This enables static type checking and provides rich IDE auto-completion for all client methods and their arguments.

import boto3 from mypy_boto3_scheduler import EventBridgeSchedulerClient def get_scheduler_client() -> EventBridgeSchedulerClient: """Returns a type-hinted EventBridgeScheduler client.""" # boto3.client('scheduler') without explicit type annotation # would return a 'Client' type, losing type-checking benefits. client: EventBridgeSchedulerClient = boto3.client("scheduler") return client if __name__ == "__main__": # Example usage: List schedules scheduler_client = get_scheduler_client() try: response = scheduler_client.list_schedules(MaxResults=1) print("Successfully listed schedules.") for schedule in response.get('Schedules', []): print(f" - {schedule.get('Name')}") except Exception as e: print(f"Error listing schedules: {e}")
Debug
Known issues
breakingThe `mypy-boto3-builder` (which generates this stub) removed support for Python 3.8. All generated stubs from builder version 8.12.0 onwards require Python 3.9 or newer.
fix
Upgrade your Python environment to 3.9 or higher.
affects: mypy-boto3-builder>=8.12.0
breakingThe `mypy-boto3-builder 8.9.0` introduced breaking changes in how TypeDef names are generated. Type definitions for packed method arguments might have shorter names (e.g., `CreateDistributionRequestRequestTypeDef` became `CreateDistributionRequestTypeDef`). Conflicting `Extra` postfixes were also moved to the end.
fix
Review and update type definition names in your code if you were explicitly referencing them.
affects: mypy-boto3-builder>=8.9.0
deprecatedThe `sms-voice` service was removed from the `mypy-boto3` ecosystem in `mypy-boto3-builder 8.11.0`. Users should switch to `pinpoint-sms-voice` instead. While this specifically impacts `sms-voice` stubs, it's a relevant deprecation policy for the broader `mypy-boto3` project.
fix
Migrate usage to the `pinpoint-sms-voice` service and its corresponding stubs.
affects: mypy-boto3-builder>=8.11.0
gotchaWhen using `typing.TYPE_CHECKING` guards to conditionally import stubs for Pylint, it might report undefined variables. To resolve this, ensure that types are set to `object` in the non-`TYPE_CHECKING` branch.
fix
Add `else: YourClient = object` for conditional imports: `if TYPE_CHECKING: from mypy_boto3_service import YourClient else: YourClient = object`.
affects: All
gotchaFor `mypy-boto3-lite` or standalone packages like this one, explicit type annotations are often necessary for `boto3.Session().client()` and `boto3.Session().resource()` calls to ensure full IDE auto-completion and type inference, even if `mypy` might sometimes infer them.
fix
Always explicitly annotate the client or resource variable with the imported stub type, e.g., `client: EventBridgeSchedulerClient = boto3.client("scheduler")`.
affects: All
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.
mypyoptionalA static type checker that utilizes these stubs for code analysis.
pyrightoptionalAnother static type checker that utilizes these stubs for code analysis, often integrated into IDEs.
Agent activity
25 hits · last 30 days
node
20
Amazon
1
OpenAI (training)
1
Resources
mypy-boto3-scheduler — pip install mypy-boto3-scheduler · libregistry