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.3.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Messagerie-0.2.3-py2-none-any.whl (5.1 kB view details)

Uploaded Python 2

File details

Details for the file Messagerie-0.2.3.tar.gz.

File metadata

  • Download URL: Messagerie-0.2.3.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Messagerie-0.2.3.tar.gz
Algorithm Hash digest
SHA256 2cdd2041dc5cd9ae0cd80fa974ee4f94d142db290937fa20fb76a612651c873e
MD5 b6d38b27b9a3babc96387e88a2a2c98e
BLAKE2b-256 59d6c31ec2dc06b7ccd0a83ff0ec9c2aa9974bbd4bec8f3cc444a970c2b13e8c

See more details on using hashes here.

File details

Details for the file Messagerie-0.2.3-py2-none-any.whl.

File metadata

File hashes

Hashes for Messagerie-0.2.3-py2-none-any.whl
Algorithm Hash digest
SHA256 042ace052da80eeda74f43a1a7f3bd5b676f71427031bc3199ae891414a95ade
MD5 ef8e3ba1d42c7f1e4c601f9a2e11ae64
BLAKE2b-256 d28398ab5a9f1757192363acca574ce5ca9c4f9f49511ff3e76cb604995eac0b

See more details on using hashes here.

Supported by

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