Skip to main content

A python package for an easy use of the service from

Project description

PushNotifier (V2) for Python

PyPI - Python Version PyPI version GitHub

Gitter Codacy grade GitHub repo size

A python module to easily use the service of PushNotifier in your python projects.

Special thanks go to @Logxn.


Easily send

  • messages ✉️
  • urls 🌎
  • images 🖼️

via python to all your devices. For more info visit


Note: you have to have requests installed (pip install requests)

  • Install PushNotifier via pip

    $ pip install pushnotifier
  • Install PushNotifier manually

    $ git clone
    $ cd /path/to/repository/
    $ python install


from pushnotifier import PushNotifier as pn

pn = pn.PushNotifier('username', 'password', 'package_name', 'api_key')

Sending messages

>>> pn.send_text('hello world', silent=False, devices=['abcd', 'efgh'])
>>> pn.send_url('', silent=False, devices=['abcd', 'efgh'])
>>> pn.send_notification('hello world', '', silent=False, devices=['abcd', 'efgh'])

>>> # Note on send_image: currently you can't send images to android/ios devices
>>> pn.send_image('path/to/image.png', silent=False, devices=['abcd', 'efgh'])

Get Basic information

>>> password = 'XXXXX'
>>> pn.login(password)
{'username': 'username', 'avatar': '', 'app_token': 'XXXXX', 'expires_at': XXXXX}

>>> pn.get_all_devices()
['abcd', 'efgh', 'ijkl']

Refresh app token

>>> pn.refresh_token()

More detailed help

>>> help(pn.some_method_you_need_help_on)

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 pushnotifier, version 1.2.2
Filename, size File type Python version Upload date Hashes
Filename, size pushnotifier-1.2.2-py3-none-any.whl (5.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pushnotifier-1.2.2.tar.gz (4.1 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