--- id: publish-event-sns version: "0.0.3" license: unclear license_treatment: permissive maintenance: abandoned --- # publish-event-sns — Publish message into SNS Topic with attributes License: permissive · Maintenance: abandoned · Downloads: 1.2M/mo ## 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 above — 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 pip install publish-event-sns uv add publish-event-sns 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: unspecified - Install friction: low - Maintenance: abandoned - Downloads: 1.2M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags sns message publisher, aws sns dict to json, publish to sns topic, sns attributes from dict, aws event publishing, sns json publisher, aws-sns, abandoned [View on SkillFed](https://skillfed.io/packages/publish-event-sns) · [View on PyPI](https://pypi.org/project/publish-event-sns/)