skillfed

publish-event-sns

Publish message into SNS Topic with attributes

publish-event-sns v0.0.3 1.2M downloads/30d#4,197 on PyPI0
Permissive license Abandoned released

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

uv

uv add publish-event-sns

poetry

poetry add publish-event-sns

Installing 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

License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3

Tags

sns message publisheraws sns dict to jsonpublish to sns topicsns attributes from dictaws event publishingsns json publisher
aws-snsabandoned

More Distributed Computing packages

grpcio

gRPC Python is an HTTP/2-based RPC framework…

permissive · top 100 on PyPI

execnet

execnet lets you spawn and communicate with…

permissive · top 1,000 on PyPI

cloudpickle

Cloudpickle extends Python's standard pickle…

permissive · top 1,000 on PyPI

smart-open

Provides a unified, open()-compatible Python…

permissive · top 1,000 on PyPI

portalocker

Portalocker provides cross-platform file…

permissive · top 1,000 on PyPI

ray

Ray is a distributed computing framework that…

permissive · top 1,000 on PyPI

amazon-sns-extended-client

Extends boto3's SNS client to publish messages…

permissive · top 15,000 on PyPI

aws-cdk.aws-sns

Provides AWS CDK constructs for defining Amazon…

permissive · top 15,000 on PyPI

aws-cdk.aws-sns-subscriptions

Provides AWS CDK constructs for subscribing SNS…

permissive · top 15,000 on PyPI

sns

SNS utils provides utilities related to AWS…

unclear · top 15,000 on PyPI

azure-eventgrid

Publishes and consumes events through Azure…

permissive · top 5,000 on PyPI

dynamodb-json

Converts Python objects to and from DynamoDB's…

unclear · top 5,000 on PyPI

aws-cdk.aws-codestarnotifications

Defines AWS CodeStarNotifications rules in…

permissive · top 15,000 on PyPI

aws-cdk.aws-events

Provides AWS CDK constructs for defining Amazon…

permissive · top 15,000 on PyPI

google-cloud-pubsub

Python client library for Google Cloud Pub/Sub,…

permissive · top 1,000 on PyPI

kafka-schema-registry

Integrates Kafka with Confluent Schema Registry…

permissive · top 15,000 on PyPI