Skip to main content

Python module for Microsoft Push Notification Service (MPNS) for Windows Phone.

It supports Toast, Tile and Raw notification formats (the latter one is not tested yet).

Usage

from mpns import MPNSTile, MPNSToast, MPNSRaw

uri = ‘http://db3.notify.live.net/throttledthirdparty/01.00/ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890’ toast = MPNSToast() tile = MPNSTile()

toast.send(uri, {‘text1’: ‘Hello’, ‘text2’: ‘Windows Phone’}) toast.send(uri, {‘text1’: ‘Tap this message’, ‘text2’: ‘To open application’})

tile.send(uri, {‘title’: ‘Tile title’}

TODO

  • Support Windows Phone 8 extended tile notifications

  • More testing

Metadata

Release files for python-mpns 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-mpns 0.1.6
File Size Uploaded
python-mpns-0.1.6.tar.gz 5.4 kB Details

Release files / python-mpns-0.1.6.tar.gz

Download URL python-mpns-0.1.6.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a2da44152a09e28893d00d3c902112b4836b472bd49a76050e51b7b3ea83528b
BLAKE2b-256 checksum
How to use checksums
7e310cc20afdf4a4baf24fc1b946b496a62d4784f9e8d8e97d3cdbaeb9b7791b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.6 This release

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page