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.
Metadata
Release files for notificationhubs-rest-python 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| notificationhubs_rest_python-1.0.3.tar.gz | 11.8 kB | With provenance | Details for notificationhubs_rest_python-1.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| notificationhubs_rest_python-1.0.3-py3-none-any.whl | Python 3 | none | any | Details for notificationhubs_rest_python-1.0.3-py3-none-any.whl |
Total release size: 21.0 kB
Release files / notificationhubs_rest_python-1.0.3.tar.gz
| Download URL | notificationhubs_rest_python-1.0.3.tar.gz |
|---|---|
| Size | 11.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1022989626773bc270b8230e3705af94c98f46ef22408f74ee5fe8f77e54ae8f
|
|
BLAKE2b-256 checksum How to use checksums |
8e7f7782207dd79e3df4ed09e0610e5d24cb6345a6b9ca9205816ed9d84f713d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 14, 2026.
Transparency logRelease files / notificationhubs_rest_python-1.0.3-py3-none-any.whl
| Download URL | notificationhubs_rest_python-1.0.3-py3-none-any.whl |
|---|---|
| Size | 9.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
be16db9d2399fccea0f2868438344d624a112a397283f6a2446aa7a9e75de6de
|
|
BLAKE2b-256 checksum How to use checksums |
8c7b26ff80cf8929aa2dfe0585137f90e0484ed01ec14865384b25d26596275b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 14, 2026.
Transparency logSecurity for notificationhubs-rest-python 1.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for notificationhubs_rest_python-1.0.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 14, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.