Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

Email notifications on task completion

Project Description

This module is just a neat little context manager that can notify you via email to your email account when its body is completed. Example usage:

from notifyme import notify

with notify('Long, laborious task'):
    # Perform long, laborious task

Once the long, laborious task is done, you will receive an email saying “Long, laborious task completed.”.

It also comes with a CLI. You simply run notifyme [command ...] to run the command and get an email on completion.

Installation, Configuration, and Use

To install, simply use the command pip install notifyme. To configure this module with your email server settings, create a file in your home directory called .notifyme with contents like the following:

[default]
email = <your-email-here>
host = <smtp-hostname-here>
port = <smtp-port-here>
username = <only-if-different-from-email>
password = <password-here>
security = <SSL or TLS or NONE>

You’ll have to look up your configuration details from your email provider. After you fill this out and save it, you’ll also want to protect it from access by other users, which you can do with the following command:

chmod 600 ~/.notifyme

And you’re done! You can now use the module within Python code as a context manager, or on the command line for any program you’d like.

License

This project is released under the Revised BSD license. See LICENSE.txt for details.

Release History

Release History

This version
History Node

0.1.1

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
notifyme-0.1.1.linux-x86_64.tar.gz (5.0 kB) Copy SHA256 Checksum SHA256 any Dumb Binary May 28, 2015
notifyme-0.1.1.tar.gz (3.6 kB) Copy SHA256 Checksum SHA256 Source May 28, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS 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