Skip to main content

Custom wrapper to aws services

Project description

To use (with caution), simply do:

set the following environment variables
    -   AWS_SECRET_ACCESS_KEY
    -   AWS_ACCESS_KEY_ID
    -   AWS_REGION
    -   AWS_STORAGE_BUCKET_NAME

To send an email using ses
>>> from messagerie import AWSEntity
>>> AWSEntity.send_raw_message('gaphylicious@gmail.com', subject='Test Email', body='This is news', recipients=['riri@fenty.com', 'queen@bey.tidal'])
>>> AWSEntity.send_formatted_message('gaphylicious@gmail.com', subject='Test Email', text_body='This is news', html_body='<html><body><div><h2>This is news!!!</h2></body></html>', to='riri@fenty.com')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Messagerie-0.2.2.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

Messagerie-0.2.2-py2-none-any.whl (4.7 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page