Skip to main content

sendgrify

SendGrid for Humans.

Sendgrify is a Python package serving as a wrapper over the email delivery service SendGrid.

This is an attempt to simplify the use of sendgrid-python: the Official Twilio SendGrid Led, Community Driven Python API Library.

Sending emails, the easy way!

Installation

$ pip install sendgrify

Usage

  1. Grab your SendGrid API Key.
  2. Code!
>>> from sendgrid import SendGrid
>>> handler = SendGrid('YOUR_SENDGRID_API_KEY', 'from_addr@example.com', 'From Name')
>>> handler.send(to='hello@example.com', subject='Hi there', msg='This is just a test')

Advanced usage

Function send() also admits some more parameters:

  • cc: as a list of emails for carbon copy.
  • bcc: as a list of emails for blind carbon copy.
  • attachments: as a list of paths for file attachments.
  • as_markdown: as a boolean (if True msg will be rendered from Markdown).

Tests

$ pip install -r requirements-dev.txt
$ pytest

License

MIT

Metadata

Release files for sendgrify 2.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 sendgrify 2.0.3
File Size Uploaded Provenance
sendgrify-2.0.3.tar.gz 4.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for sendgrify 2.0.3
File Interpreter ABI Platform
sendgrify-2.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 7.6 kB

Release files / sendgrify-2.0.3.tar.gz

Download URL sendgrify-2.0.3.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
559931d50d9d65bdf4d3c5d4a15a67bfffa29dcdefab24cd9a78ee71e5b9a47b
BLAKE2b-256 checksum
How to use checksums
6cf8eddb1bbe97b38293a75a7bf40f5ec7c5d4b0f5533d7c7f195f289c36bd14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release files / sendgrify-2.0.3-py3-none-any.whl

Download URL sendgrify-2.0.3-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
12b9ae17080c5d91cf412429ff3e6d2c14342f64efb7db9d5558e01418f1a745
BLAKE2b-256 checksum
How to use checksums
201aa60b16b180b3e0de8e322ebc0ccc5216ce208d97398930a99bf9273dcd0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Security for sendgrify 2.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