Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

Comprehensive bindings for the notification service

Project description

python-pushsafer aims at providing comprehensive Python bindings for the API of the Pushsafer Notification Service as documented here.

Forked from and original created by: [Thibauth](


You can install it directly from GitHub:

git clone
cd python-pushsafer
pip install .


After being imported, the module must be initialized by calling the init function with a valid private key. Thus, a typical use of the pushsafer module looks like this:

from pushsafer import init, Client

Client("").send_message("Message", "Hello", "323", "1", "4", "2", "", "Open Pushsafer", "0", "2", "60", "600", "1", "", "", "")

You can also pass the privatekey optional argument to Client to initialize the module at the same time:

from pushsafer import Client

client = Client("", privatekey="<privatekey>")
client.send_message("Message", "Hello", "323", "1", "4", "2", "", "Open Pushsafer", "0", "1", "120", "1200", "0", "", "", "")


client.send_message(“Message”, “Title”, “Device or Device Group ID”, “Icon”, “Sound”, “Vibration”, “URL”, “URL Title”, “Time2Live”, “Priority”, “Retry”, “Expire”, “Answer”, “Image 1”, “Image 2”, “Image 3”)


You can access the full API documentation here.



0.4 (2018-08-19)

add new pushsafer parameter priority, retry, expire, answer

0.3 (2017-11-28)

ignore verifying the SSL certficate (trust self signed certificates)

0.2 (2017-02-12)

Add new parameters (url, url title, time2live, image 1-3), minor bugfixes

0.1 (2016-09-13)

Initial Release

Project details

Download files

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

Files for python-pushsafer, version 0.4
Filename, size File type Python version Upload date Hashes
Filename, size python-pushsafer-0.4.tar.gz (15.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page