publish-event-sns
Publish message into SNS Topic with attributes
What it is and what it does
publish-event-sns wraps AWS SNS publishing to simplify sending dict objects as JSON messages with automatic attribute extraction. You pass a dictionary and topic name; the package converts the dict to JSON, extracts primitive fields as SNS message attributes, and publishes via boto3. The package is a thin convenience layer that handles filtering non-primitive values from attributes and accepting optional boto3 session or region parameters.
However, it has not been maintained since 2020-07-09, so it may not work reliably with recent boto3 or Python versions without local patches. For new projects, using boto3 directly is often simpler than adopting an unmaintained wrapper.
Use it for:
- Publish application events to SNS from Python services with dict payloads and searchable attributes.
- Integrate SNS publishing into Lambda functions or microservices that generate structured event data.
- Send monitoring or audit events to SNS topics with automatic attribute extraction from event dicts.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Publishes Python dictionaries as JSON messages to AWS SNS topics, automatically converting dict fields into SNS message attributes.
No—while the package itself is simple and permissively licensed, it is abandoned with no updates since 2020-07-09. For new projects, use boto3 directly or a maintained SNS wrapper. Only consider this if you have legacy code already depending on it and cannot refactor.
Install
publish-event-sns on PyPI
pip
pip install publish-event-snsuv
uv add publish-event-snspoetry
poetry add publish-event-snsInstalling publish-event-sns
Before you install
Installation is frictionless with no runtime dependencies, but the package is abandoned—last release was 2020-05-22 and last commit 2020-07-09. No maintenance activity means security patches and compatibility updates are unlikely.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions, making it safe from a licensing perspective for most projects.
Quickstart
pip install publish-event-sns
from publish_event_sns import publish
my_dict = {"foo": "bar"}
response = publish("topic_name", my_dict)
AWS credentials must be configured in your environment; boto3 is required but not listed as a declared dependency.
Verify before relying
- Whether the package works with current boto3 versions and modern Python releases without updates.
- Whether SNS attribute handling for non-primitive types matches current AWS SNS behavior.
- Whether the region_name and session parameters work as documented with current AWS SDK.
- Whether boto3 is an undeclared runtime dependency or must be installed separately.
Package facts
| License | not declared (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | abandoned — 2,275 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,223,188/month — #4,197 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: publish_event_sns-0.0.3-py3-none-any.whl
Tags
More Distributed Computing packages
gRPC Python is an HTTP/2-based RPC framework…
permissive · top 100 on PyPI
execnetexecnet lets you spawn and communicate with…
permissive · top 1,000 on PyPI
cloudpickleCloudpickle extends Python's standard pickle…
permissive · top 1,000 on PyPI
smart-openProvides a unified, open()-compatible Python…
permissive · top 1,000 on PyPI
portalockerPortalocker provides cross-platform file…
permissive · top 1,000 on PyPI
rayRay is a distributed computing framework that…
permissive · top 1,000 on PyPI
amazon-sns-extended-clientExtends boto3's SNS client to publish messages…
permissive · top 15,000 on PyPI
aws-cdk.aws-snsProvides AWS CDK constructs for defining Amazon…
permissive · top 15,000 on PyPI
aws-cdk.aws-sns-subscriptionsProvides AWS CDK constructs for subscribing SNS…
permissive · top 15,000 on PyPI
snsSNS utils provides utilities related to AWS…
unclear · top 15,000 on PyPI
azure-eventgridPublishes and consumes events through Azure…
permissive · top 5,000 on PyPI
dynamodb-jsonConverts Python objects to and from DynamoDB's…
unclear · top 5,000 on PyPI
aws-cdk.aws-codestarnotificationsDefines AWS CodeStarNotifications rules in…
permissive · top 15,000 on PyPI
aws-cdk.aws-eventsProvides AWS CDK constructs for defining Amazon…
permissive · top 15,000 on PyPI
google-cloud-pubsubPython client library for Google Cloud Pub/Sub,…
permissive · top 1,000 on PyPI
kafka-schema-registryIntegrates Kafka with Confluent Schema Registry…
permissive · top 15,000 on PyPI