amazon-sns-extended-client
Python version of AWS SNS extended client to publish large payload message
Decision gist · record as of 2026-08-14
Yes, if you need to publish messages larger than SNS's direct limit and have S3 available. The library is stable (production classifier, latest release 2025-02-18), has low install friction (one dependency), and carries no known vulnerabilities. Maintenance is dormant but the codebase is small and the underlying AWS APIs are stable. Verify that your subscriber infrastructure can handle S3 reference resolution before deploying.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- S3 bucket must exist and be accessible with your AWS credentials before use; SNS topic must also exist.
- Low friction: pure Python wheel with only boto3 as a runtime dependency.
- Latest release on 2025-02-18 with production/stable classifier, though maintenance is dormant—no active development but no red flags.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most production environments.
last release 2025-02-18 (542 days) · last repo commit 2025-02-18 · 20 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 158,539 downloads/mo, #10,718 on PyPI
Alternatives
Verify before relying
pip install amazon-sns-extended-client
import boto3
from amazon_sns_extended_client import SNSExtendedClientSession
sns = boto3.client('sns')
sns.large_payload_support = 'my-bucket-name'
sns.publish(Message='large message content', TopicArn='arn:aws:sns:...')- Whether message retrieval on the subscriber side (SQS, Lambda, etc.) requires additional client-side logic or if SNS/SQS handles S3 reference resolution automatically.
- Performance overhead and latency impact of S3 round-trip for messages near or above the threshold.
- Compatibility with SNS message filtering and other advanced SNS features when payloads are stored in S3.
What it is and what it does
Amazon SNS Extended Client is a Python wrapper around boto3's SNS client that automatically handles messages too large for SNS's direct publish limit by storing them in S3 and sending only a reference through SNS. It mirrors the behavior of the Java library amazon-sns-java-extended-client-lib, allowing you to set a bucket name and optional size threshold on SNS client, Topic, or PlatformEndpoint objects, then publish normally—the library intercepts and routes large payloads to S3 transparently.
The package supports configurable thresholds (default 262144 bytes, minimum 0, maximum 262144), legacy message attributes for backward compatibility with older Java client versions, custom S3 clients with specialized configurations, and custom S3 keys via message attributes. It works with boto3's low-level SNS client, Topic resources, and PlatformEndpoint resources, and requires only that the target S3 bucket already exists and is accessible.
Use it for
- Publishing messages larger than SNS's direct size limit (e.g., large JSON payloads, serialized objects) to SNS topics without manual chunking.
- Integrating SNS workflows with S3-backed storage when message size is unpredictable or occasionally exceeds SNS limits.
- Migrating from the Java SNS extended client library to Python while maintaining the same publish-and-reference pattern.
- Bridging legacy systems using the SQSLargePayloadSize attribute with newer systems using ExtendedPayloadSize.
- Controlling S3 upload behavior (region, signature version, accelerated endpoints) via custom boto3 S3 client configuration.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to publish messages larger than SNS's direct limit and have S3 available.
The library is stable (production classifier, latest release 2025-02-18), has low install friction (one dependency), and carries no known vulnerabilities. Maintenance is dormant but the codebase is small and the underlying AWS APIs are stable. Verify that your subscriber infrastructure can handle S3 reference resolution before deploying.
Install
amazon-sns-extended-client on PyPI
Before you install
Low friction: pure Python wheel with only boto3 as a runtime dependency. Latest release on 2025-02-18 with production/stable classifier, though maintenance is dormant—no active development but no red flags.
S3 bucket must exist and be accessible with your AWS credentials before use; SNS topic must also exist.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most production environments.
Quickstart
pip install amazon-sns-extended-client
import boto3
from amazon_sns_extended_client import SNSExtendedClientSession
sns = boto3.client('sns')
sns.large_payload_support = 'my-bucket-name'
sns.publish(Message='large message content', TopicArn='arn:aws:sns:...')
Verify before relying
- Whether message retrieval on the subscriber side (SQS, Lambda, etc.) requires additional client-side logic or if SNS/SQS handles S3 reference resolution automatically.
- Performance overhead and latency impact of S3 round-trip for messages near or above the threshold.
- Compatibility with SNS message filtering and other advanced SNS features when payloads are stored in S3.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release <4.0,>=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packageboto3 |
| Maintenance | Dormant 542 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 158,539 / month, #10,718 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: amazon_sns_extended_client-1.0.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “SNS large message publishing”
- amazon-sns-extended-clientExtends boto3's SNS client to publish messages larger than SNS's…
- publish-event-snsPublishes Python dictionaries as JSON messages to AWS SNS topics,…
- aws-sns-message-validatorValidates AWS SNS HTTP endpoint messages by verifying their…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also amazon-sqs-extended-client · publish-event-sns · aws-cdk.aws-sns-subscriptions · aws-cdk.aws-sns · boto3 · aws-sns-message-validator · s3transfer · aws-s3-access-grants-boto3-plugin · boto · aioaws