Notification Triggers for Python

Overview

Notipyer

Notification triggers for Python

Send async email notifications via Python. Get updates/crashlogs from your scripts with ease.

Installation

python -m venv env
source env/bin/activate
pip install notipyer

Email Notifications

Notipyer currently supports Gmail accounts as senders. To allow the library to use your gmail account, make the following changes:

  1. Turn off 2-Step authentication. Ref
  2. Turn on "Less Secure App Access" here

Configuration

from notipyer.email_notify import set_email_config

SENDER_EMAIL = '[email protected]'
SENDER_PASS = 'password'
set_email_config(SENDER_EMAIL, SENDER_PASS)

Sending Email

from notipyer.email_notify import send_email

subject = 'My Email Subject'
body = 'My Email Body'
to_recipients = ['[email protected]', '[email protected]'] # Can be None
cc_recipients = ['[email protected]', '[email protected]'] # Can be None
bcc_recipients = ['[email protected]', '[email protected]'] # Can be None

send_email(subject, body, to_recipients, cc_recipients, bcc_recipients)

Contact

Chirag Jain

You might also like...
Automatic self-diagnosis program (python required)Automatic self-diagnosis program (python required)

auto-self-checker 자동으로 자가진단 해주는 프로그램(python 필요) 중요 이 프로그램이 실행될때에는 절대로 마우스포인터를 움직이거나 키보드를 건드리면 안된다(화면인식, 마우스포인터로 직접 클릭) 사용법 프로그램을 구동할 폴더 내의 cmd창에서 pip

POPPY (Physical Optics Propagation in Python) is a Python package that simulates physical optical propagation including diffraction
POPPY (Physical Optics Propagation in Python) is a Python package that simulates physical optical propagation including diffraction

POPPY: Physical Optics Propagation in Python POPPY (Physical Optics Propagation in Python) is a Python package that simulates physical optical propaga

Space-invaders - Simple Game created using Python & PyGame, as my Beginner Python Project
Space-invaders - Simple Game created using Python & PyGame, as my Beginner Python Project

Space Invaders This is a simple SPACE INVADER game create using PYGAME whihc hav

Snapchat-filters-app-opencv-python - Here we used opencv and other inbuilt python modules to create filter application like snapchat Yolov5-opencv-cpp-python - Example of using ultralytics YOLO V5 with OpenCV 4.5.4, C++ and Python
Yolov5-opencv-cpp-python - Example of using ultralytics YOLO V5 with OpenCV 4.5.4, C++ and Python

yolov5-opencv-cpp-python Example of performing inference with ultralytics YOLO V

Python-kafka-reset-consumergroup-offset-example - Python Kafka reset consumergroup offset example

Python Kafka reset consumergroup offset example This is a simple example of how

Experimental Python implementation of OpenVINO Inference Engine (very slow, limited functionality). All codes are written in Python. Easy to read and modify.
Experimental Python implementation of OpenVINO Inference Engine (very slow, limited functionality). All codes are written in Python. Easy to read and modify.

PyOpenVINO - An Experimental Python Implementation of OpenVINO Inference Engine (minimum-set) Description The PyOpenVINO is a spin-off product from my

A python-image-classification web application project, written in Python and served through the Flask Microframework
A python-image-classification web application project, written in Python and served through the Flask Microframework

A python-image-classification web application project, written in Python and served through the Flask Microframework. This Project implements the VGG16 covolutional neural network, through Keras and Tensorflow wrappers, to make predictions on uploaded images.

A python-image-classification web application project, written in Python and served through the Flask Microframework. This Project implements the VGG16 covolutional neural network, through Keras and Tensorflow wrappers, to make predictions on uploaded images.
Comments
  • Bump certifi from 2020.12.5 to 2022.12.7

    Bump certifi from 2020.12.5 to 2022.12.7

    Bumps certifi from 2020.12.5 to 2022.12.7.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
Releases(v0.3.3)
  • v0.3.3(Mar 28, 2022)

    Notipyer

    Notification Triggers for Python

    Send async email and slack notifications via Python. Get updates/crashlogs from your scripts with ease.

    Installation

    python -m venv env
    source env/bin/activate
    pip install notipyer
    

    Email Notifications

    Notipyer currently supports Gmail accounts as senders. To allow the library to use your Gmail account, make the following changes:

    1. Turn on 2-Step authentication. Ref
    2. Create an app password. Ref
    3. While creating an app password, select app as "Other (Custom name)" and enter a name of your choice.
    4. Use the password obtained from app password for the configuration step below.
    5. More information can be obtained on the wiki page here

    Configuration

    from notipyer.email_notify import set_email_config
    
    SENDER_EMAIL = '[email protected]'
    SENDER_PASS = 'my_app_password'
    SENDER_NAME = 'my name'
    set_email_config(SENDER_EMAIL, SENDER_PASS, SENDER_NAME)
    

    Sending Email

    from notipyer.email_notify import send_email
    
    subject = 'My Email Subject'
    body = 'My Email Body'
    to_recipients = ['[email protected]', '[email protected]'] # Can be None
    cc_recipients = ['[email protected]', '[email protected]'] # Can be None
    bcc_recipients = ['[email protected]', '[email protected]'] # Can be None
    attachment_path = 'path_to_my_file' # Can be None
    html = """\
    <html>
      <head></head>
      <body>
        <p>Hi!<br>
           How are you?<br>
        </p>
      </body>
    </html>
    """ # Can be None
    is_async = True # Sent as an async email only if this parameter is True
    
    send_email(subject, body, to_recipients, cc_recipients, bcc_recipients, attachment_path, html_text, is_async)
    

    Slack Notifications

    Notipyer currently supports running a single workplace install only.

    For setting up token keys for using slack notifications, follow the wiki page here

    Configuration

    from notipyer.slack_notify import set_slack_token_config
    
    # Follow the wiki for getting the bot token
    BOT_TOKEN = 'xoxb-12345678990123-1234567890123-abcdefghijklmnopqrstuvwx' 
    set_slack_token_config(BOT_TOKEN)
    

    Sending Message

    from notipyer.slack_notify import send_message
    
    # the bot should be added to the channel
    channel = 'my-channel-name'
    message = 'my-message'
    
    set_slack_token_config(SLACK_TOKEN)
    send_message(channel, message)
    

    Contact

    Chirag Jain

    Source code(tar.gz)
    Source code(zip)
  • v0.3.2(Feb 9, 2022)

    Notipyer

    Notification Triggers for Python

    Send async email and slack notifications via Python. Get updates/crashlogs from your scripts with ease.

    Installation

    python -m venv env
    source env/bin/activate
    pip install notipyer
    

    Email Notifications

    Notipyer currently supports Gmail accounts as senders. To allow the library to use your Gmail account, make the following changes:

    1. Turn on 2-Step authentication. Ref
    2. Create an app password. Ref
    3. While creating an app password, select app as "Other (Custom name)" and enter a name of your choice.
    4. Use the password obtained from app password for the configuration step below.
    5. More information can be obtained on the wiki page here

    Configuration

    from notipyer.email_notify import set_email_config
    
    SENDER_EMAIL = '[email protected]'
    SENDER_PASS = 'my_app_password'
    SENDER_NAME = 'my name'
    set_email_config(SENDER_EMAIL, SENDER_PASS, SENDER_NAME)
    

    Sending Email

    from notipyer.email_notify import send_email
    
    subject = 'My Email Subject'
    body = 'My Email Body'
    to_recipients = ['[email protected]', '[email protected]'] # Can be None
    cc_recipients = ['[email protected]', '[email protected]'] # Can be None
    bcc_recipients = ['[email protected]', '[email protected]'] # Can be None
    attachment_path = 'path_to_my_file' # Can be None
    is_async = True # Sent as an async email only if this parameter is True
    
    send_email(subject, body, to_recipients, cc_recipients, bcc_recipients, attachment_path, is_async)
    

    Slack Notifications

    Notipyer currently supports running a single workplace install only.

    For setting up token keys for using slack notifications, follow the wiki page here

    Configuration

    from notipyer.slack_notify import set_slack_token_config
    
    # Follow the wiki for getting the bot token
    BOT_TOKEN = 'xoxb-12345678990123-1234567890123-abcdefghijklmnopqrstuvwx' 
    set_slack_token_config(BOT_TOKEN)
    

    Sending Message

    from notipyer.slack_notify import send_message
    
    # the bot should be added to the channel
    channel = 'my-channel-name'
    message = 'my-message'
    
    set_slack_token_config(SLACK_TOKEN)
    send_message(channel, message)
    

    Contact

    Chirag Jain

    Source code(tar.gz)
    Source code(zip)
  • v0.3.1(Feb 9, 2022)

    Notipyer

    Notification Triggers for Python

    Send async email and slack notifications via Python. Get updates/crashlogs from your scripts with ease.

    Installation

    python -m venv env
    source env/bin/activate
    pip install notipyer
    

    Email Notifications

    Notipyer currently supports Gmail accounts as senders. To allow the library to use your Gmail account, make the following changes:

    1. Turn on 2-Step authentication. Ref
    2. Create an app password. Ref
    3. While creating an app password, select app as "Other (Custom name)" and enter a name of your choice.
    4. Use the password obtained from app password for the configuration step below.
    5. More information can be obtained on the wiki page here

    Configuration

    from notipyer.email_notify import set_email_config
    
    SENDER_EMAIL = '[email protected]'
    SENDER_PASS = 'my_app_password'
    SENDER_NAME = 'my name'
    set_email_config(SENDER_EMAIL, SENDER_PASS, SENDER_NAME)
    

    Sending Email

    from notipyer.email_notify import send_email
    
    subject = 'My Email Subject'
    body = 'My Email Body'
    to_recipients = ['[email protected]', '[email protected]'] # Can be None
    cc_recipients = ['[email protected]', '[email protected]'] # Can be None
    bcc_recipients = ['[email protected]', '[email protected]'] # Can be None
    attachment_path = 'path_to_my_file' # Can be None
    
    send_email(subject, body, to_recipients, cc_recipients, bcc_recipients, attachment_path)
    

    Slack Notifications

    Notipyer currently supports running a single workplace install only.

    For setting up token keys for using slack notifications, follow the wiki page here

    Configuration

    from notipyer.slack_notify import set_slack_token_config
    
    # Follow the wiki for getting the bot token
    BOT_TOKEN = 'xoxb-12345678990123-1234567890123-abcdefghijklmnopqrstuvwx' 
    set_slack_token_config(BOT_TOKEN)
    

    Sending Message

    from notipyer.slack_notify import send_message
    
    # the bot should be added to the channel
    channel = 'my-channel-name'
    message = 'my-message'
    
    set_slack_token_config(SLACK_TOKEN)
    send_message(channel, message)
    

    Contact

    Chirag Jain

    Source code(tar.gz)
    Source code(zip)
  • v0.2.3(Dec 25, 2021)

    Notipyer

    Notification Triggers for Python

    Send async email and slack notifications via Python. Get updates/crashlogs from your scripts with ease.

    Installation

    python -m venv env
    source env/bin/activate
    pip install notipyer
    

    Email Notifications

    Notipyer currently supports Gmail accounts as senders. To allow the library to use your Gmail account, make the following changes:

    1. Turn on 2-Step authentication. Ref
    2. Create an app password. Ref
    3. While creating an app password, select app as "Other (Custom name)" and enter a name of your choice.
    4. Use the password obtained from app password for the configuration step below.
    5. More information can be obtained on the wiki page here

    Configuration

    from notipyer.email_notify import set_email_config
    
    SENDER_EMAIL = '[email protected]'
    SENDER_PASS = 'my_app_password'
    SENDER_NAME = 'my name'
    set_email_config(SENDER_EMAIL, SENDER_PASS, SENDER_NAME)
    

    Sending Email

    from notipyer.email_notify import send_email
    
    subject = 'My Email Subject'
    body = 'My Email Body'
    to_recipients = ['[email protected]', '[email protected]'] # Can be None
    cc_recipients = ['[email protected]', '[email protected]'] # Can be None
    bcc_recipients = ['[email protected]', '[email protected]'] # Can be None
    
    send_email(subject, body, to_recipients, cc_recipients, bcc_recipients)
    

    Slack Notifications

    Notipyer currently supports running a single workplace install only.

    For setting up token keys for using slack notifications, follow the wiki page here

    Configuration

    from notipyer.slack_notify import set_slack_token_config
    
    # Follow the wiki for getting the bot token
    BOT_TOKEN = 'xoxb-12345678990123-1234567890123-abcdefghijklmnopqrstuvwx' 
    set_slack_token_config(BOT_TOKEN)
    

    Sending Message

    from notipyer.slack_notify import send_message
    
    # the bot should be added to the channel
    channel = 'my-channel-name'
    message = 'my-message'
    
    set_slack_token_config(SLACK_TOKEN)
    send_message(channel, message)
    

    Contact

    Chirag Jain

    Source code(tar.gz)
    Source code(zip)
  • v0.2.1(Sep 5, 2021)

    Notipyer

    Notification Triggers for Python

    Send async email and slack notifications via Python. Get updates/crashlogs from your scripts with ease.

    Installation

    python -m venv env
    source env/bin/activate
    pip install notipyer
    

    Email Notifications

    Notipyer currently supports Gmail accounts as senders. To allow the library to use your Gmail account, make the following changes:

    1. Turn on 2-Step authentication. Ref
    2. Create an app password. Ref
    3. While creating an app password, select app as "Other (Custom name)" and enter a name of your choice.
    4. Use the password obtained from app password for the configuration step below.
    5. More information can be obtained on the wiki page here

    Configuration

    from notipyer.email_notify import set_email_config
    
    SENDER_EMAIL = '[email protected]'
    SENDER_PASS = 'my_app_password'
    SENDER_NAME = 'my name'
    set_email_config(SENDER_EMAIL, SENDER_PASS, SENDER_NAME)
    

    Sending Email

    from notipyer.email_notify import send_email
    
    subject = 'My Email Subject'
    body = 'My Email Body'
    to_recipients = ['[email protected]', '[email protected]'] # Can be None
    cc_recipients = ['[email protected]', '[email protected]'] # Can be None
    bcc_recipients = ['[email protected]', '[email protected]'] # Can be None
    
    send_email(subject, body, to_recipients, cc_recipients, bcc_recipients)
    

    Slack Notifications

    Notipyer currently supports running a single workplace install only.

    For setting up token keys for using slack notifications, follow the wiki page here

    Configuration

    from notipyer.slack_notify import set_slack_token_config
    
    # Follow the wiki for getting the bot token
    BOT_TOKEN = 'xoxb-12345678990123-1234567890123-abcdefghijklmnopqrstuvwx' 
    set_slack_token_config(BOT_TOKEN)
    

    Sending Message

    from notipyer.slack_notify import send_message
    
    # the bot should be added to the channel
    channel = 'my-channel-name'
    message = 'my-message'
    
    set_slack_token_config(SLACK_TOKEN)
    send_message(channel, message)
    

    Contact

    Chirag Jain

    Source code(tar.gz)
    Source code(zip)
    Notipyer-0.2.1.tar.gz(3.49 KB)
    Notipyer-0.2.1.win-amd64.zip(12.94 KB)
  • v0.2.0(Aug 27, 2021)

    Notipyer

    Notification Triggers for Python

    Send async email and slack notifications via Python. Get updates/crashlogs from your scripts with ease.

    Installation

    python -m venv env
    source env/bin/activate
    pip install notipyer
    

    Email Notifications

    Notipyer currently supports Gmail accounts as senders. To allow the library to use your Gmail account, make the following changes:

    1. Turn on 2-Step authentication. Ref
    2. Create an app password. Ref
    3. While creating an app password, select app as "Other (Custom name)" and enter a name of your choice.
    4. Use the password obtained from app password for the configuration step below.
    5. More information can be obtained on the wiki page here

    Configuration

    from notipyer.email_notify import set_email_config
    
    SENDER_EMAIL = '[email protected]'
    SENDER_PASS = 'my_app_password'
    set_email_config(SENDER_EMAIL, SENDER_PASS)
    

    Sending Email

    from notipyer.email_notify import send_email
    
    subject = 'My Email Subject'
    body = 'My Email Body'
    to_recipients = ['[email protected]', '[email protected]'] # Can be None
    cc_recipients = ['[email protected]', '[email protected]'] # Can be None
    bcc_recipients = ['[email protected]', '[email protected]'] # Can be None
    
    send_email(subject, body, to_recipients, cc_recipients, bcc_recipients)
    

    Slack Notifications

    Notipyer currently supports running a single workplace install only.

    For setting up token keys for using slack notifications, follow the wiki page here

    Configuration

    from notipyer.slack_notify import set_slack_token_config
    
    # Follow the wiki for getting the bot token
    BOT_TOKEN = 'xoxb-12345678990123-1234567890123-abcdefghijklmnopqrstuvwx' 
    set_slack_token_config(BOT_TOKEN)
    

    Sending Message

    from notipyer.slack_notify import send_message
    
    # the bot should be added to the channel
    channel = 'my-channel-name'
    message = 'my-message'
    
    set_slack_token_config(SLACK_TOKEN)
    send_message(channel, message)
    

    Contact

    Chirag Jain

    Source code(tar.gz)
    Source code(zip)
  • v0.1.2(May 29, 2021)

    Notipyer

    Notification triggers for Python

    Send async email notifications via Python. Get updates/crashlogs from your scripts with ease.

    Installation

    python -m venv env
    source env/bin/activate
    pip install notipyer
    

    Email Notifications

    Notipyer currently supports Gmail accounts as senders. To allow the library to use your gmail account, make the following changes:

    1. Turn off 2-Step authentication. Ref
    2. Turn on "Less Secure App Access" here

    Configuration

    from notipyer.email_notify import set_email_config
    
    SENDER_EMAIL = '[email protected]'
    SENDER_PASS = 'password'
    set_email_config(SENDER_EMAIL, SENDER_PASS)
    

    Sending Email

    from notipyer.email_notify import send_email
    
    subject = 'My Email Subject'
    body = 'My Email Body'
    to_recipients = ['[email protected]', '[email protected]'] # Can be None
    cc_recipients = ['[email protected]', '[email protected]'] # Can be None
    bcc_recipients = ['[email protected]', '[email protected]'] # Can be None
    
    send_email(subject, body, to_recipients, cc_recipients, bcc_recipients)
    

    Contact

    Chirag Jain

    Source code(tar.gz)
    Source code(zip)
    notipyer-0.1.2.tar.gz(3.20 KB)
  • v0.1.1(May 29, 2021)

    Notipyer

    Notification triggers for Python

    Installation

    python -m venv env
    source env/bin/activate
    pip install notipyer
    

    Email Notifications

    Notipyer currently supports Gmail accounts as senders. To allow the library to use your gmail account, make the following changes:

    1. Turn off 2-Step authentication. Ref
    2. Turn on "Less Secure App Access" here

    Configuration

    from notipyer.email_notify import set_email_config
    
    SENDER_EMAIL = '[email protected]'
    SENDER_PASS = 'password'
    set_email_config(SENDER_EMAIL, SENDER_PASS)
    

    Sending Email

    from notipyer.email_notify import send_email
    
    subject = 'My Email Subject'
    body = 'My Email Body'
    to_recipients = ['[email protected]', '[email protected]'] # Can be None
    cc_recipients = ['[email protected]', '[email protected]'] # Can be None
    bcc_recipients = ['[email protected]', '[email protected]'] # Can be None
    
    send_email(subject, body, to_recipients, cc_recipients, bcc_recipients)
    

    Contact

    Chirag Jain

    Source code(tar.gz)
    Source code(zip)
    notipyer-0.1.1.tar.gz(3.14 KB)
  • v.0.1.3(May 29, 2021)

    Notipyer

    Notification triggers for Python

    Send async email notifications via Python. Get updates/crashlogs from your scripts with ease.

    Installation

    python -m venv env
    source env/bin/activate
    pip install notipyer
    

    Email Notifications

    Notipyer currently supports Gmail accounts as senders. To allow the library to use your gmail account, make the following changes:

    1. Turn off 2-Step authentication. Ref
    2. Turn on "Less Secure App Access" here

    Configuration

    from notipyer.email_notify import set_email_config
    
    SENDER_EMAIL = '[email protected]'
    SENDER_PASS = 'password'
    set_email_config(SENDER_EMAIL, SENDER_PASS)
    

    Sending Email

    from notipyer.email_notify import send_email
    
    subject = 'My Email Subject'
    body = 'My Email Body'
    to_recipients = ['[email protected]', '[email protected]'] # Can be None
    cc_recipients = ['[email protected]', '[email protected]'] # Can be None
    bcc_recipients = ['[email protected]', '[email protected]'] # Can be None
    
    send_email(subject, body, to_recipients, cc_recipients, bcc_recipients)
    

    Contact

    Chirag Jain

    Source code(tar.gz)
    Source code(zip)
    notipyer-0.1.3.tar.gz(3.12 KB)
Owner
Chirag Jain
CSE Undergrad at IIIT Delhi
Chirag Jain
Universal Adversarial Triggers for Attacking and Analyzing NLP (EMNLP 2019)

Universal Adversarial Triggers for Attacking and Analyzing NLP This is the official code for the EMNLP 2019 paper, Universal Adversarial Triggers for

Eric Wallace 248 Dec 17, 2022
tinykernel - A minimal Python kernel so you can run Python in your Python

tinykernel - A minimal Python kernel so you can run Python in your Python

fast.ai 37 Dec 2, 2022
Python-experiments - A Repository which contains python scripts to automate things and make your life easier with python

Python Experiments A Repository which contains python scripts to automate things

Vivek Kumar Singh 11 Sep 25, 2022
Crab is a flexible, fast recommender engine for Python that integrates classic information filtering recommendation algorithms in the world of scientific Python packages (numpy, scipy, matplotlib).

Crab - A Recommendation Engine library for Python Crab is a flexible, fast recommender engine for Python that integrates classic information filtering r

python-recsys 1.2k Dec 21, 2022
Python scripts to detect faces in Python with the BlazeFace Tensorflow Lite models

Python scripts to detect faces using Python with the BlazeFace Tensorflow Lite models. Tested on Windows 10, Tensorflow 2.4.0 (Python 3.8).

Ibai Gorordo 46 Nov 17, 2022
A fast python implementation of Ray Tracing in One Weekend using python and Taichi

ray-tracing-one-weekend-taichi A fast python implementation of Ray Tracing in One Weekend using python and Taichi. Taichi is a simple "Domain specific

null 157 Dec 26, 2022
Technical Indicators implemented in Python only using Numpy-Pandas as Magic - Very Very Fast! Very tiny! Stock Market Financial Technical Analysis Python library . Quant Trading automation or cryptocoin exchange

MyTT Technical Indicators implemented in Python only using Numpy-Pandas as Magic - Very Very Fast! to Stock Market Financial Technical Analysis Python

dev 34 Dec 27, 2022
This is an open source python repository for various python tests

Welcome to Py-tests This is an open source python repository for various python tests. This is in response to the hacktoberfest2021 challenge. It is a

Yada Martins Tisan 3 Oct 31, 2021
Composable transformations of Python+NumPy programsComposable transformations of Python+NumPy programs

Chex Chex is a library of utilities for helping to write reliable JAX code. This includes utils to help: Instrument your code (e.g. assertions) Debug

DeepMind 506 Jan 8, 2023