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.1.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for Messagerie-0.2.1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92dcfa814ecffcdb13ac7d5ff6ae38ee7e365e7d23ffca329965cd1ce8921111 |
|
MD5 | 1604436798e9fcca48a25a761a9ecdf7 |
|
BLAKE2b-256 | 62a01cb23fff12dc3c5cac7793a70b7ef98f2e497edcf2c6b6bfed56576b161c |