notify-me
This program can run another program and notify you by SMTP email, Android push notification through pushNotification and/or internal notification server.
The internal notification server can be checked on Ubuntu/gnome, KDE or Mac OS X to get a notification, just choose the appropiate client from client folder.
iOS, Browsers and many other application are supported over pushOver. PushOver is a cheap service where the user buys a one-time (round $5) license for each platform.
The configuration parameters can be centeralized or customized per user.
Installation of notification checker
Mac OS X
sudo gem install terminal-notifier
Ubuntu/gnome
sudo pip install gi
Options
notify-me OPTIONS Command
Options
--notify-to=mail1,mail2 send an email when done to the following mails
--notify-push send a push notification
--notify-OK= send this message after success
--notify-ERR= send this message after failure
--notify-topic= the topic to send on if different than default queue
--notify-name= name of the job, to put it subject or push notifications
--no-notify-send-out don't send the stderr and stdout in the email.
Example
notify-me --notify-to=someone@example.com,someone2@example.com --notify-push --notify-OK="System Updated" --notify-ERR="System Update Failed" --notify-name="System Update" --notify-topic="Admin" sudo apt-get upgrade
Requirements
This is based on pushNotification library, available on pip
Installation
pip install pushNotification notify-me
Configuration
You can configure the SMTP and push notification through /etc/notiy-me.cfg or ~/.notify-me.cfg
Internal Notification Server Installation
Currently the server supports MySQL database as the back-end db. the server needs mod_python to work.
- Install Packages
$ sudo apt-get install libapache2-mod-python python-simplejson python-mysqldb
- Copy server code
$ sudo cp SRC/server /var/www/notify
- Configure Apache in 000-default
<Directory /var/www/notify/py>
SetHandler mod_python
PythonHandler mod_python.publisher
</Directory>
-
Reload Apache
</code></pre> </li> </ul> <p>$ sudo service apache2 reload</p> <pre><code> * Configure Server, Edit the configuration in /var/www/notify/config.cfg
Metadata
Release files for notify-me 2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| notify_me-2.0.tar.gz | 5.7 kB | Without provenance | Details for notify_me-2.0.tar.gz |
Release files / notify_me-2.0.tar.gz
| Download URL | notify_me-2.0.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aba8358e5762cd6175be3c180b51c99b2a52d725c32c17a8c9ed8bd1828d46ac
|
|
BLAKE2b-256 checksum How to use checksums |
1cf934b6486a0f8031840d5a1b7278905e97c961f9b94551933177a7f34dc0fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Security for notify-me 2.0
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.