Skip to content

A Python module to send out email (also with attachment) and push notifications (using pushbullet or pushover) from your applications

License

Notifications You must be signed in to change notification settings

ltpitt/python-simple-notifications

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CI GitHub Issues Total Commits GitHub commit activity License Contributions welcome

Simple Notifications

Simple Notifications is a cross-platform command line tool that allows to easily send out Email (also with attachment) and push notifications (using Pushover or Pushbullet)

Pre-requisites

How to install

Once Python and Python Pip are installed:

$ git clone https://github.com/ltpitt/python-simple-notifications.git
$ cd python-simple-notifications
$ pip install .

Then customize simple_notifications_config.py with the required Email / Pushbullet / Pushover configuration data. It is easy to understand how if you read the comments in simple_notifications_config.py.

Example simple_notification_config.py path for a Windows 10 installation using Python 2.7:
C:\Python27\Lib\site-packages\simple_notifications\simple_notifications_config.py

Example simple_notification_config.py path for a Windows 10 installation using Python 3.9:
C:\Users\YOUR_USER\AppData\Local\Programs\Python\Python39\Lib\site-packages\simple_notifications

Example simple_notification_config.py path for a Linux installation using Python 2.7:
/usr/local/lib/python2.7/dist-packages/simple_notifications/simple_notifications_config.py

Example simple_notification_config.py path for a Linux installation using Python 3.9:
/usr/local/lib/python3.9/dist-packages/simple_notifications/simple_notifications_config.py

As last step remember to make the simple_notification_config.py file readable only by the user that will run the script.

On Windows right click on the file, properties and then customize the permissions tab using this explanation:

https://msdn.microsoft.com/en-us/library/bb727008.aspx

On Linux:

$ chmod 400 /usr/local/lib/python2.7/dist-packages/simple_notifications/simple_notifications_config.py  

Usage

Here's how to display help:

$ simple-notifications --help

Output:

Usage: simple-notifications [OPTIONS] COMMAND [ARGS]...

  Simple Notifications sends out email and push notifications from your
  applications (using Pushbullet or Pushover)

Options:
  --help  Show this message and exit.

Commands:
  email       Send a notification using Email
  pushbullet  Send a notification using Pushbullet
  pushover    Send a notification using Pushover

Contribution guidelines

  • If you have any idea or suggestion contact directly the Repo Owner

Who do I talk to?

  • ltpitt: Repo Owner

About

A Python module to send out email (also with attachment) and push notifications (using pushbullet or pushover) from your applications

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages