Skip to main content

pattan-sendgrid

pattan-sendgrid is a Python package that wraps the sendgrid package with PaTTAN-specific configurations.

Quick start

  1. Installation (bash):
    pip install pattan-sendgrid
  2. Create an environment variable SENDGRID_API_KEY and set its value to your SendGrid API key:
    export SENDGRID_API_KEY={your SENDGRID_API_KEY}
  3. Generate the config the package uses by redirecting the output of the gc command to a file or copy/paste to a file. Keep this file out of version control as it will include your SendGrid API key (bash):
    pe gc >{your filename}
    If you are using Django, the project's .env is a good place for this value.
  4. Use the output from the command in step 3 to initialize the PattanEmail class (bash):
    from pattan_sendgrid import PattanEmail
     ...
    emailer = PattanEmail({command output from step 3})
    

Resources

  1. https://docs.djangoproject.com/en/5.0/intro/reusable-apps/
  2. https://pypi.org/project/sendgrid/

Metadata

Release files for pattan-sendgrid 3.0.1

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

Source distribution (sdist)

Source distribution for pattan-sendgrid 3.0.1
File Size Uploaded Provenance Actions
pattan_sendgrid-3.0.1.tar.gz 7.8 kB Without provenance Details for pattan_sendgrid-3.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pattan-sendgrid 3.0.1
File Interpreter ABI Platform Actions
pattan_sendgrid-3.0.1-py3-none-any.whl Python 3 none any Details for pattan_sendgrid-3.0.1-py3-none-any.whl

Total release size: 16.1 kB

Release files / pattan_sendgrid-3.0.1.tar.gz

Download URL pattan_sendgrid-3.0.1.tar.gz
Size 7.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ee7834943591b7c02f905c69a8c7d7fabc6d71aa98034df1a7fe100104d0870d
BLAKE2b-256 checksum
How to use checksums
d1bcfbd9d27703f083838ed8bbe161c43d1af0f3b54a650768631c3162f0635e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.7

Release files / pattan_sendgrid-3.0.1-py3-none-any.whl

Download URL pattan_sendgrid-3.0.1-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5eca96eb20d0d317d39e5c1894fffd242d4b0ae947e9236f0d6456b008dbf1bf
BLAKE2b-256 checksum
How to use checksums
dc47c7f70d50916351fb0f5ebe392b10604a4944e8e95b8352d24e4523de103e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.7

Security for pattan-sendgrid 3.0.1

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.

Release history Release notifications | RSS feed

This release

3.0.1 This release

2 release files No provenance

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