Custom wrapper to aws services
Project description
To use (with caution), simply do:
To send an email using ses
>>> from messagerie import AWSEntity
>>> client = AWSEntity(access_key='access key', access_id='access id', region='nigeria', s3_base_url='https://s3-us-west-2.amazonaws.com', s3_bucket='bucket name')
>>> client.send_raw_message('gaphylicious@gmail.com', subject='Test Email', body='This is news', recipients=['riri@fenty.com', 'queen@bey.tidal'])
>>> client.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-1.0.1.tar.gz
(3.6 kB
view details)
File details
Details for the file Messagerie-1.0.1.tar.gz.
File metadata
- Download URL: Messagerie-1.0.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d5664045dccf6ab2d44628ff81e8f750ab483a21d05fcaedf31bacda5a9a110
|
|
| MD5 |
19de44cefbe296e9c904e7bcc4e3461b
|
|
| BLAKE2b-256 |
2ee7aff019817e84f3babbcc9e15df03a9fb97b255d5d2070784bc105cc7f5d6
|