Skip to main content

ses-send

Simple wrapper to send emails via AWS SES

Description

ses-send is a wrapper for the boto3 SES client. It allows the user to describe the email in a yaml configuration file instead of having to map it manually.

Requirements

Module requirements are boto3 and yaml. You must also have an SES identity already configured.

Installation

pip install ses-send

Configuration example

email:
  destination_address: youremail@gmail.com
  source_address: automation@yourdomain.com
  subject: Automation notification 
  message: This is a notification
aws:
  region: us-east-1

Usage

from ses_send import SESSend

# You can omit the config_file keyword if you have config.yaml in the current path
x = SESSend(config_file="/path/to/config")
x.send_email()

Will return True if the send was successful.

Metadata

Release files for ses-send 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ses-send 1.0.3
File Size Uploaded Provenance
ses-send-1.0.3.tar.gz 14.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ses-send 1.0.3
File Interpreter ABI Platform
ses_send-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 29.9 kB

Release files / ses-send-1.0.3.tar.gz

Download URL ses-send-1.0.3.tar.gz
Size 14.9 kB
Tags Source
SHA-256 checksum
How to use checksums
783863b2adf1cb6e7d7ea710026045947f6be1e2d7c1194eec57c938dc59ed1b
BLAKE2b-256 checksum
How to use checksums
f168cabb3e441c954c6acb03422468db22c411fad176154596a5f530509e2573
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Release files / ses_send-1.0.3-py3-none-any.whl

Download URL ses_send-1.0.3-py3-none-any.whl
Size 14.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
14e59ee5abc033753d900f041a22370a77bca7209b45e8c7e9ed3ccae4bea430
BLAKE2b-256 checksum
How to use checksums
f12fff6edf2c47c41cf2de05db578a479cfdc1b2ad7076e5445b222e23300348
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Security for ses-send 1.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page