This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
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("Hello!", title="Hello", icon="1", sound="4", vibration="2", device="323")

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("Hello!", title="Hello", icon="1", sound="4", vibration="2", device="323")

Command line

python-pushsafer also comes with a command line utility pushsafer that you can use as follows:

pushsafer --privatekey <privatekey> "Hello!"

Use pushsafer --help to see the list of available options.


Both the pushsafer module and the pushsafer command line utility support reading arguments from a configuration file.

The most basic configuration file looks like this:


You can have additional sections and specify a device as well:


python-pushsafer will attempt to read the configuration from ~/.pushsaferrc by default. The section to read can be specified by using the profile argument. With the configuration file above, you can send a message by simply doing:

from pushsafer import Client

Client().send_message("Hello!", title="Hello", icon="1", sound="4", vibration="2", device="323")

or pushsafer --title "Hello" "Hello!" from the command line.


You can access the full API documentation here.



0.1 (2016-09-13)

Initial Release

Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting