Skip to main content

A Python library for sending notifications using Azure Notification Hubs REST API.

Project description

Notification Hubs REST wrapper for Python

PyPI

This is an implementation of a REST wrapper for sending notifications with Notification Hubs using the REST APIs of Notification Hubs from a Python back-end. The useage of this code is officially recommended by Microsoft in the documentation.

Panevo Services Ltd. is maintaining this repo for the sole purpose of publishing this Notification Hubs REST wrapper to PyPI. In this regard, Panevo will only be pulling upstream changes from the original repo and not making any further changes to the codebase.

This repository is a fork of Microsoft's Azure Notification Hub Samples Repository.

How to use the code above

Install the package

pip install notificationhubs-rest-python

Detailed readme is available here - http://azure.microsoft.com/en-us/documentation/articles/notification-hubs-python-backend-how-to/

Requirements

This package requires Python 3.8+ and version 2.25.0+ of the requests package.

Registration management

For registration management you have to follow the content formats shown in the REST APIs of Notification Hubs, and probably do some xml parsing is case of GETs. Be warned that element order is important and things will not work if the element are out of order.

Notes

This code is provided as-is with no guarantees.

Contributors

Adrian Hall (Splunk)

Panevo Services Ltd.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

notificationhubs_rest_python-1.0.1.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file notificationhubs_rest_python-1.0.1.tar.gz.

File metadata

File hashes

Hashes for notificationhubs_rest_python-1.0.1.tar.gz
Algorithm Hash digest
SHA256 29fb563c5fca9d0378bca01acb8623a7323102b8579a524cebbd0dad5afd457e
MD5 53fc539c320ff842ebc1cab53b200048
BLAKE2b-256 752c17adf34df47f3ff822e1ea73fac68be69c641c3f2219642df5587a6fcb3f

See more details on using hashes here.

File details

Details for the file notificationhubs_rest_python-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for notificationhubs_rest_python-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 893d6ec16a971bd5ff304719822727eb9c88b82ecf842f4590ac6ea3b14adfea
MD5 d675bc24eef7b8a46bb57ef6605cf894
BLAKE2b-256 9bcc1afcc95b87f579d2b84ef65c61916863b3b8f948ed7ab954568deee7053c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page