A Jupyter magic for sending e-mail after cell completion
Project description
Email-Notify-Magic
Send an email after cell execution complete.
Obs: Currently only used with gmail.
Install
pip install email-notify-magic
Usage
- Load the magic extension:
%load_ext email_notify_magic
- Run the cell magic in jupyter notebook (see options bellow):
%%email email@gmail.com
-
Insert password in the prompt and done
-
Make sure your email account is enable for such usage (see link and less-secure-apps). It is recommend not to use personal accounts.
Option:
- Sender and receiver same email address if
--to
is not supplied.
%%email email@gmail.com
- Set receiver with
--to
[-t
]:
%%email email@gmail.com --to receiver@gmail.com
- Set e-mail subject
--subject
[-s
]:
%%email email@gmail.com --s 'My subject'
- Set e-mail body
--body
[-b
]:
%%email email@gmail.com --body 'From cell x'
Notice that the cell output is used if --body
is not provided.
- Save password in jupyter session for latter usage
--keep-password
[-k
]:
%%email email@gmail.com --body 'From cell x' -k
The next cell evoked with %%email
will not require the password.
Others
- Notification after cell execution inspired by jupyter-notify
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file email-notify-magic-0.0.2.tar.gz
.
File metadata
- Download URL: email-notify-magic-0.0.2.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
35304c748194bc9ea4125d04c00f208ea7cb6b77b9ec470044771d2b2662f859
|
|
MD5 |
0d52cfba01b96e36cc152bc1bc30eb63
|
|
BLAKE2b-256 |
e25df27a44f2d43638c459165e9b31d477dc72b3b4fdd619fc8e2e261093e561
|
File details
Details for the file email_notify_magic-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: email_notify_magic-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
b324aed2ef120b7f07f66d7ecfd2a43af3abffa154e4a38c580489c1351e97be
|
|
MD5 |
1cdc8a9269d8e5da9744a07d8d79a5ed
|
|
BLAKE2b-256 |
379bd75aaa5cfd038ffce203bcfedfb9ddfb9104678f89efd4cb019428ba3a64
|