Skip to content

This repo discuss about how you can setup a mail system in python to check postgres number of rows

Notifications You must be signed in to change notification settings

derekleegh/python_mail

Repository files navigation

Python Mail Setup

TLDR; This is a projet to setup mail system to deliver to recipients when the row counts on a table in postgres is below threshold

Getting started

This project is based on Python3.6 and is built in a virtualenv

Software Requirements

All required libraries is available in the requirements.txt

USAGE

  • Download the whole project
  • Navigate to /bin
  • Type source activate
  • This will bring you into a virtualenv
  • Navigate to src/ The source code is inside here.
  • Change the variables to suit your requirements

Execute

To execute, just type python /src/row_count_status_mail.py

About

This repo discuss about how you can setup a mail system in python to check postgres number of rows

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages