skillfed

mypy-boto3-sns

Type annotations for boto3 SNS 1.43.23 service generated with mypy-boto3-builder 8.12.0

mypy-boto3-sns v1.43.23 2.7M downloads/30d#2,960 on PyPI670
Permissive license MIT Active released

What it is and what it does

mypy-boto3-sns is a type-stub package that adds complete type annotations to boto3's SNS service client. It is generated from boto3 1.43.23 using mypy-boto3-builder 8.12.0 and works with static type checkers (mypy, pyright) and IDE language servers (Pylance, PyCharm, Emacs LSP, Sublime LSP) to provide inline code completion and catch type errors before runtime.

The package is designed to be installed alongside boto3 in your development environment. It provides explicit type hints for SNS clients, paginators, service resources, and type definitions, allowing you to write boto3 code with full IDE support and type safety. Installation is straightforward via pip, and the package carries no production dependency—you can use TYPE_CHECKING guards to exclude it from runtime if needed.

Use it for:

  • Enable IDE autocomplete and type checking for SNS operations in VSCode with Pylance or PyCharm.
  • Run mypy or pyright type checking on boto3 SNS code in CI/CD pipelines to catch type errors early.
  • Use explicit type annotations for SNSClient, paginators, and service resources in large AWS projects.
  • Develop AWS Lambda functions with SNS integration while maintaining type safety in your editor.
  • Migrate legacy boto3 code to typed Python by gradually adding SNSClient type hints.

Worth the install?

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

Provides type annotations and IDE autocompletion for boto3 SNS 1.43.23, enabling static type checking with mypy, pyright, and other tools across VSCode, PyCharm, Emacs, and Sublime Text.

Yes. This is a low-friction, actively maintained type-stub package with no security vulnerabilities and permissive licensing. Install it in development environments to gain IDE autocompletion and static type checking for boto3 SNS without runtime overhead. Exclude it from production via TYPE_CHECKING if needed.

Install

mypy-boto3-sns on PyPI

pip

pip install mypy-boto3-sns

uv

uv add mypy-boto3-sns

poetry

poetry add mypy-boto3-sns

Installing mypy-boto3-sns

Before you install

Low friction: single runtime dependency (typing-extensions) and a pure-Python wheel. Active maintenance with recent releases; last commit 2026-06-22.

License in practice

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

Quickstart

pip install mypy-boto3-sns

from boto3.session import Session
from mypy_boto3_sns import SNSClient

client: SNSClient = Session().client("sns")

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

Verify before relying

  • Whether PyCharm performance issues with Literal overloads (PY-40997) remain unresolved in current versions.
  • Whether the boto3-stubs-lite alternative is recommended as a default for PyCharm users.
  • Actual type coverage completeness for all SNS operations and edge cases.

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 — 71 days since the last release
Last repo commit
First released
Downloads 2,650,208/month — #2,960 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: mypy_boto3_sns-1.43.23-py3-none-any.whl

Keywords: boto3, sns, 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 annotationssns type stubsmypy boto3boto3 ide autocompleteaws sns typingpyright boto3 snsboto3 type hints
type-stubsaws-sdkide-support

More Software Development packages