A Python library for sending notifications using Azure Notification Hubs REST API.
Project description
Notification Hubs REST wrapper for Python
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file notificationhubs_rest_python-1.0.2.tar.gz
.
File metadata
- Download URL: notificationhubs_rest_python-1.0.2.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0eef3d4b00054c6c84d9155b2b25aa4047dd049a6e79928c73457d84c764a608 |
|
MD5 | 3dc3a58e94a93420868175a1c76ffda0 |
|
BLAKE2b-256 | 245748696efd55f5ca770ec600db446f27844e180a0154a09c13f1282397fcd9 |
File details
Details for the file notificationhubs_rest_python-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: notificationhubs_rest_python-1.0.2-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2b14b9780fac301097ad4d1524fcf218cfe8816e06ee0dcf5a87d3b71720a88 |
|
MD5 | c2b06e8dab599312b9188c509f7d6381 |
|
BLAKE2b-256 | ca8135c17bad3ee000d44a1cc89bd0a2c487eb70129d882983481cafec90e2f8 |