Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

aasaanjobs-notificationhub

Package Overview
Dependencies
Maintainers
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aasaanjobs-notificationhub

Python client for Aasaanjobs/Waahjobs Notification Hub

  • 1.4.0
  • PyPI
  • Socket score

Maintainers
5

Python Aasaanjobs/Waahjobs NotificationHub Client

Build Status codecov

Python SDK to communicate with Aasaanjobs/Waahjobs Notification Hub and send notifications to users.

Supported Notification Channels

  • Short Messaging Service (SMS)
  • Email
  • WhatsApp
  • Mobile Push (FCM)

Installation

pip install aasaanjobs-notificationhub

Usage

Each notification is referred to as Task in this library. A single Task can contain multiple channels, i.e., a single Task can contain both Email and WhatsApp notification data. This Task is then validated via Protocol Buffers and pushed to corresponding Notification Hub Amazon SQS queue.

For Transactional notifications NOTIFICATION_HUB_SQS_QUEUE_NAME environment variable should be configured.

For Marketing notifications NOTIFICATION_HUB_MARKETING_SQS_QUEUE_NAME environment variable should be configured.

For OTP notifications NOTIFICATION_HUB_OTP_SQS_QUEUE_NAME environment variable should be configured.

Configuration

Each application which uses this library must configure Amazon SQS configurations to successfully send notification task to Hub.

The following keys can be defined in the settings module if Django application or can be defined as environment variables

SettingDescription
NOTIFICATION_HUB_SQS_ACCESS_KEY_IDAccess Key of the IAM role which has access to the Hub SQS
NOTIFICATION_HUB_SQS_SECRET_ACCESS_KEYSecret Access Key of the IAM role which has access to the Hub SQS
NOTIFICATION_HUB_SQS_REGIONAWS Region where the Hub SQS resides
NOTIFICATION_HUB_SQS_QUEUE_NAMEName of the Hub SQS Queue
NOTIFICATION_HUB_MARKETING_SQS_QUEUE_NAMEName of the Hub Marketing SQS Queue
NOTIFICATION_HUB_OTP_SQS_QUEUE_NAMEName of the Hub OTP SQS Queue

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc