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.2.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for notificationhubs_rest_python-1.0.2.tar.gz
Algorithm Hash digest
SHA256 0eef3d4b00054c6c84d9155b2b25aa4047dd049a6e79928c73457d84c764a608
MD5 3dc3a58e94a93420868175a1c76ffda0
BLAKE2b-256 245748696efd55f5ca770ec600db446f27844e180a0154a09c13f1282397fcd9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for notificationhubs_rest_python-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a2b14b9780fac301097ad4d1524fcf218cfe8816e06ee0dcf5a87d3b71720a88
MD5 c2b06e8dab599312b9188c509f7d6381
BLAKE2b-256 ca8135c17bad3ee000d44a1cc89bd0a2c487eb70129d882983481cafec90e2f8

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