This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

UNKNOWN

Project Description

What is it?

Donemail sends you an email when some process/command/function/code completes.

Install

pip install donemail

Usage

You need a SMTP server running on port 25.

In the command line:

# run command 'sleep 10' and send an email after it exits
donemail run bob@example.com sleep 10

or:

# send an email when process with pid 123 exits
donemail wait bob@example.com 123

As a decorator:

from donemail import donemail

# send an email after each long_running_function() call
@donemail('bob@example.com')
def long_running_function():
    sleep(10)

As a context manager:

from donemail import donemail

# send an email after sleep(10) completes
with donemail('bob@example.com'):
    sleep(10)
Release History

Release History

This version
History Node

0.1.3

History Node

0.1.2

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
donemail-0.1.3.tar.gz (4.1 kB) Copy SHA256 Checksum SHA256 Source May 4, 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