--- id: mypy-boto3-pi version: "1.43.14" license: MIT license_treatment: permissive maintenance: active --- # mypy-boto3-pi — Type annotations for boto3 PI 1.43.14 service generated with mypy-boto3-builder 8.12.0 License: permissive · Maintenance: active · Downloads: 288.9K/mo ## 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 above — 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 pip install mypy-boto3-pi uv add mypy-boto3-pi poetry add mypy-boto3-pi ## Installing 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_current - Install friction: low - Maintenance: active - Downloads: 288.9K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags boto3 type stubs, aws pi type annotations, boto3 performance insights typing, mypy boto3 stubs, boto3 ide autocompletion, python aws sdk type hints, boto3 static type checking, type-stubs, boto3, aws [View on SkillFed](https://skillfed.io/packages/mypy-boto3-pi) · [View on PyPI](https://pypi.org/project/mypy-boto3-pi/)