Skip to content

python utility to query a database and use the sendgrid API to deliver the results in a csv via email.

Notifications You must be signed in to change notification settings

learhy/send-report

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

send-report

A quick script to run an sql query, parse the results into a csv and ship the file via the sendgrid API.

usage

$ ./send-report.py
usage: send-report.py [-h] [--host HOST] [--user USER] [--dbpass DBPASS]
                      [--db DB] [--port PORT] [--sender SENDER]
                      [--recipient RECIPIENT] [--subject SUBJECT]
                      queryfile

About

python utility to query a database and use the sendgrid API to deliver the results in a csv via email.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages