skillfed

mypy-boto3-pi

Type annotations for boto3 PI 1.43.14 service generated with mypy-boto3-builder 8.12.0

mypy-boto3-pi v1.43.14 288.9K downloads/30d#8,010 on PyPI670
Permissive license MIT Active released

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-pi

uv

uv add mypy-boto3-pi

poetry

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 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

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 stubsaws pi type annotationsboto3 performance insights typingmypy boto3 stubsboto3 ide autocompletionpython aws sdk type hintsboto3 static type checking
type-stubsboto3aws

More Software Development packages

typing-extensions

Provides backported and experimental type hints…

permissive · top 100 on PyPI

numpy

NumPy provides an N-dimensional array object…

permissive · top 100 on PyPI

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

annotated-doc

Provides a way to document function parameters,…

permissive · top 100 on PyPI

typer

Typer builds command-line applications from…

permissive · top 1,000 on PyPI

distlib

Distlib provides low-level packaging utilities…

permissive · top 1,000 on PyPI

mypy-boto3-ec2

Provides type annotations and IDE autocomplete…

permissive · top 5,000 on PyPI

mypy-boto3-detective

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI

mypy-boto3-iot

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI

mypy-boto3-pinpoint

Provides type annotations and IDE…

permissive · top 15,000 on PyPI

mypy-boto3-qconnect

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI

mypy-boto3-panorama

Provides type annotations and IDE…

permissive · top 15,000 on PyPI

mypy-boto3-sagemaker

Provides type annotations and IDE…

permissive · top 5,000 on PyPI

mypy-boto3-neptunedata

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI

mypy-boto3-cloudsearch

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI

mypy-boto3-inspector-scan

Provides type annotations and IDE…

permissive · top 15,000 on PyPI