Skip to main content

A Django reusable app providing the ability to send PGP/MIME signed multipart emails.

Project description

Created by Jan Dittberner

Introduction

django-gnupg-mails provides a class gnupg_mails.message.GnuPGMessage that extends Django’s django.core.mail.EmailMessage with the functionality to send PGP/MIME signed emails.

Dependencies

  • gnupg is required for signing the mails

Installation

The easiest way to install django-gnupg-mails is directly from PyPI using pip by running the command below:

$ pip install -U django-gnupg-mails

Otherwise you can download django-gnupg-mails and install it directly from source:

$ python setup.py install

Usage

Define settings.GNUPG_HOMEDIR to point to a GnuPG home directory containing a private key with signing capabilities.

Instead of using Django’s EmailMessage you can just use gnupg_mails.message.GnuPGMessage. The class is a drop-in replacement and can used in the same way as the original class as documented in The Django documentation.

Similar packages

You may want to have a look at django-email-extras by Stephen McDonald for other GnuPG related functionality. Stephen’s package allows sending PGP encrypted mail and provides a nice email test backend.

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

django-gnupg-mails-0.3.0.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

django_gnupg_mails-0.3.0-py2.py3-none-any.whl (6.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-gnupg-mails-0.3.0.tar.gz.

File metadata

  • Download URL: django-gnupg-mails-0.3.0.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.43.0 CPython/3.7.3

File hashes

Hashes for django-gnupg-mails-0.3.0.tar.gz
Algorithm Hash digest
SHA256 4e7f26c9ae3f64c52369870b9e494c06b63cae3f073c2306d3dc20ae0e1f901a
MD5 197ee9dd93b6173ed270ae3a0783d896
BLAKE2b-256 6eb61ecec1855d090314bcc3938085963a0e2f672e8cae65f59e21da2a07024e

See more details on using hashes here.

File details

Details for the file django_gnupg_mails-0.3.0-py2.py3-none-any.whl.

File metadata

  • Download URL: django_gnupg_mails-0.3.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.43.0 CPython/3.7.3

File hashes

Hashes for django_gnupg_mails-0.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8cb421582c1390eb2fc7742b3ee12345a759f8d1c37377d0d0020c39b351ebe8
MD5 f0ad8fc3c461e2a24f0811bdca07aa74
BLAKE2b-256 052abd948ad51322b5edcf89a7a09cffefb1299b05855cf6addca120a21123da

See more details on using hashes here.

Supported by

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