Skip to main content

notify-push

https://img.shields.io/pypi/v/notify-push.svg https://img.shields.io/pypi/pyversions/notify-push.svg

notify-push is a CLI tool to push notifications straight to your phone.

The usual sysadmin method is to send alerts via email but there are tons of services out there with mobile apps that allow us to send push notifications, why not use those for faster and cleaners alerts?

Installation

Simply use pip to install it system-wide:

$ sudo pip install git+https://github.com/fopina/notify-push/

Or only for your user

$ pip install --user git+https://github.com/fopina/notify-push/

Usage

$ notify-push -h
usage: notify-push [OPTIONS] message...

Push notifications straight to your phone using multiple services

positional arguments:
  message               message

optional arguments:
  -s SERVICE, --service SERVICE
                        use only this service
  --list-services
  -c CONFIG, --config CONFIG
                        use this configuration file instead of ~/.notifypush
  --version             show program's version number and exit

Currently supported services are:

$ notify-push --list-services
notifcasterbot
pushitbot

An example of configuration file ~/.notifypush:

[pushitbot]
token = 355aac1b7f0efe055b3f2f663cae16dd

Pushing messages is now as simple as:

$ notify-push hello world
Pushed

Or using stdin (useful for shell piping):

$ notify-push
Press ctrl-D when done
hello world
Pushed
$ echo hello world | notify-push
Press ctrl-D when done
Pushed

You can also use it easily from other python scripts:

>>> import notifypush
>>> print notifypush.push('hello world')
True

Metadata

Release files for notify-push 0.0.3

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

Source distribution (sdist)

Source distribution for notify-push 0.0.3
File Size Uploaded Provenance Actions
notify-push-0.0.3.tar.gz 4.4 kB Without provenance Details for notify-push-0.0.3.tar.gz

Release files / notify-push-0.0.3.tar.gz

Download URL notify-push-0.0.3.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4408ecd4fdea0801c2acc1312bde959643b4907274e69455b66f9374621b6309
BLAKE2b-256 checksum
How to use checksums
359f98ae7231d4ce1fe63587c58403a203d725f4b2a0a840e2bb45f55a73f4c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for notify-push 0.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

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