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.
Documentation: http://django-gnupg-mails.readthedocs.org/
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.
Metadata
Release files for django-gnupg-mails 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-gnupg-mails-0.4.0.tar.gz | 10.2 kB | Without provenance | Details for django-gnupg-mails-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_gnupg_mails-0.4.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for django_gnupg_mails-0.4.0-py2.py3-none-any.whl |
Total release size: 22.5 kB
Release files / django-gnupg-mails-0.4.0.tar.gz
| Download URL | django-gnupg-mails-0.4.0.tar.gz |
|---|---|
| Size | 10.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e8ce537d47f34a7f4ce371bd4db64e9e425bec88f5731d2683048a79099b201b
|
|
BLAKE2b-256 checksum How to use checksums |
ae444178951941b4b781b9cc86888dde2b5e3348eeb8021056f61a16989575d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.6
|
Release files / django_gnupg_mails-0.4.0-py2.py3-none-any.whl
| Download URL | django_gnupg_mails-0.4.0-py2.py3-none-any.whl |
|---|---|
| Size | 12.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
44cf2da13440f8fa4ef742da91ad8f2cb0f237bbcf602af3c4f17a1689f2cd52
|
|
BLAKE2b-256 checksum How to use checksums |
51e05d39d53c3c3881dfd70945b7ad3e9d039c4bf9414a791bd6e76a0c6fdf97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.6
|
Security for django-gnupg-mails 0.4.0
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.