skillfed

mypy-boto3-polly

Type annotations for boto3 Polly 1.43.0 service generated with mypy-boto3-builder 8.12.0

mypy-boto3-polly v1.43.0 260.0K downloads/30d#8,401 on PyPI670
Permissive license MIT Active released

What it is and what it does

mypy-boto3-polly is a stub package that adds complete type annotations for AWS Polly operations when using boto3. It enables IDEs like VSCode, PyCharm, Emacs, and Sublime Text to provide accurate code completion and type checking, and works with static type checkers including mypy and pyright. The package is generated from boto3 1.43.0 and requires only typing-extensions as a runtime dependency.

The stubs allow developers to write boto3 code with full type safety without explicit type annotations. It supports Polly clients, paginators, and type definitions, and can be installed standalone or as part of boto3-stubs with the [polly] extra. The package is actively maintained, supports Python 3.9 through 3.14, and carries no known vulnerabilities.

Use it for:

  • Enable IDE autocomplete and type hints when calling Polly APIs in a boto3 application.
  • Catch type errors in Polly service calls during development with mypy or pyright before runtime.
  • Provide accurate type information for Polly paginators and client methods in a team codebase.
  • Reduce debugging time by catching incorrect Polly parameter types or missing required fields at type-check time.
  • Use in a VSCode or PyCharm project to get real-time type checking feedback while writing Polly integration code.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides type annotations and IDE autocomplete support for the AWS Polly service via boto3, enabling static type checking with mypy, pyright, and other tools.

Yes. This is a low-friction, actively maintained type stub with no security issues, permissive MIT licensing, and a single lightweight dependency. Install it if you use boto3 with Polly and want IDE autocomplete and static type checking; it adds no runtime overhead and is safe to use in production environments.

Install

mypy-boto3-polly on PyPI

pip

pip install mypy-boto3-polly

uv

uv add mypy-boto3-polly

poetry

poetry add mypy-boto3-polly

Installing mypy-boto3-polly

Before you install

Low friction install with a single lightweight runtime dependency (typing-extensions). Actively maintained with recent releases and a stable repository.

License in practice

MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects.

Quickstart

pip install mypy-boto3-polly

from boto3.session import Session
from mypy_boto3_polly import PollyClient

client: PollyClient = Session().client("polly")
# Type checking and IDE autocomplete now available

Requires Python 3.9 or later; boto3 must be installed separately in your environment.

Verify before relying

  • Performance impact on PyCharm when using full boto3-stubs (documentation mentions potential slowness on Literal overloads).
  • Whether the lite variant (boto3-stubs-lite) is recommended for production environments to reduce memory footprint.

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.9)
Install friction low — pure-Python wheel
Runtime dependencies 1 — typing-extensions
Maintenance actively maintained — 107 days since the last release
Last repo commit
First released
Downloads 259,988/month — #8,401 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: mypy_boto3_polly-1.43.0-py3-none-any.whl

Keywords: boto3, polly, boto3-stubs, type-annotations, mypy, typeshed, autocomplete

Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonTyping :: Stubs Only

Tags

boto3 type stubs pollyaws polly type annotationsmypy boto3 pollyboto3 polly autocompletetype hints aws pollypolly type checkingboto3 polly mypy support
type-stubsaws-boto3type-checking

More Software Development packages