mypy-boto3-pi
Type annotations for boto3 PI 1.43.14 service generated with mypy-boto3-builder 8.12.0
What it is and what it does
This package is a type stub library that adds static type information to boto3's PI (Performance Insights) service. It was generated by mypy-boto3-builder 8.12.0 and is compatible with boto3 1.43.14. The stubs enable IDEs and type checkers to understand the structure and types of boto3 PI client methods, paginators, and data structures, providing code completion and catching type errors before runtime.
You install it alongside boto3 to get IDE autocompletion and static type checking without modifying your actual boto3 code. It works with mypy, pyright, VSCode with Pylance, PyCharm, Emacs, Sublime Text, and other tools that support Python type hints. The package is a stub-only library—it contains no runtime logic, only type definitions—so it has minimal overhead and can safely be used in production environments or conditionally imported under TYPE_CHECKING guards.
Use it for:
- Enable IDE autocompletion and inline documentation for boto3 PI client calls in VSCode or PyCharm.
- Run mypy or pyright on a codebase using boto3 PI to catch type mismatches before deployment.
- Provide explicit type annotations for PIClient, paginators, and response objects in a type-strict project.
- Use boto3 PI with full type safety in a Pylance-enabled VSCode environment without manual type hints.
- Integrate boto3 PI type checking into a CI/CD pipeline using mypy or pyright as a linting step.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides type annotations and IDE autocompletion support for boto3's PI (Performance Insights) service, enabling static type checking with mypy, pyright, and other tools.
Yes. Install this if you use boto3's PI service and want static type checking and IDE autocompletion. It has low install friction, no security vulnerabilities, an MIT license with no restrictions, and active maintenance. The only caveat is PyCharm users may experience performance issues with Literal overloads—the documentation recommends boto3-stubs-lite as an alternative in that case.
Install
mypy-boto3-pi on PyPI
pip
pip install mypy-boto3-piuv
uv add mypy-boto3-pipoetry
poetry add mypy-boto3-piInstalling mypy-boto3-pi
Before you install
Low friction installation as a pure wheel with a single runtime dependency. Actively maintained with recent releases and ongoing repository support.
License in practice
MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects with minimal obligations.
Quickstart
pip install mypy-boto3-pi
from boto3.session import Session
from mypy_boto3_pi import PIClient
client: PIClient = Session().client("pi")
# Type checking and IDE autocompletion now available
Requires Python 3.9 or later; boto3 must be installed separately in your environment.
Verify before relying
- Whether the package works correctly with all listed IDE integrations (VSCode, PyCharm, Emacs, Sublime Text) in practice.
- Performance impact when used with PyCharm, given the documentation's warning about potential slowness with Literal overloads.
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 — 84 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 288,905/month — #8,010 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: mypy_boto3_pi-1.43.14-py3-none-any.whl
Keywords: boto3, pi, boto3-stubs, type-annotations, mypy, typeshed, autocomplete
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
mypy-boto3-ec2Provides type annotations and IDE autocomplete…
permissive · top 5,000 on PyPI
mypy-boto3-detectiveProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-iotProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-pinpointProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-qconnectProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-panoramaProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-sagemakerProvides type annotations and IDE…
permissive · top 5,000 on PyPI
mypy-boto3-neptunedataProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-cloudsearchProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-inspector-scanProvides type annotations and IDE…
permissive · top 15,000 on PyPI