This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

authres - Authentication Results Header Module

Project Description
This module (authres) is designed to provide support for RFC 5451/7001,
originally http://tools.ietf.org/html/rfc5451 (and then
http://tools.ietf.org/html/rfc7001) and currently
http://tools.ietf.org/html/rfc7601, processing in Python.

It also supports Authentication Results extensions:

RFC 5617 DKIM/ADSP
RFC 6008 DKIM signature identification (header.b)
RFC 6212 Vouch By Reference (VBR)
RFC 6577 Sender Policy Framework (SPF)
draft-kucherawy-dmarc-base DMARC
RFC 7281 Authentication-Results Registration for S/MIME
RFC 7293, The Require-Recipient-Valid-Since Header Field
and SMTP Service Extension, header field types


RFC 7410, A Property Types Registry for the Authentication-Results Header
Field, added the possibility for new ptypes to be created, but so far none
have been registered.

import authres only provides the RFC 5451/7001/7601 types. Individual
additions can be imported by name, import authres.dkim_b, authres.dkim_adsp,
authres.vbr, authres.dmarc, and authres.smime. To use all the features, the
feature context authres.all_features() is provided.

Header folding and unfolding is the responsibility of the calling application.

Between docstrings and RFC 5451/7001/7601 the API should be reasonably clear,
but the docstrings are still a work in progress. Additional examples are
available in the file authres/tests.

SPF authentication results can relate to either the HELO identity or the Mail
From. When creating header fields with SPF results, only set the identity
used to evaluate the SPF result that's reported. You can use multiple objects
to report both in a single header field. See the example in the tests file.

This package requires python2.6 or later (including python3). It has been
tested with python2.6, python2.7, python3.2, python3.3, python3.4, and
python3.5.

To execute doctests, run the module as main: python -m authres

This is completely untested on Windows, but in theory should work.
Release History

Release History

This version
History Node

0.900

History Node

0.800

History Node

0.702

History Node

0.701

History Node

0.700

History Node

0.602

History Node

0.601

History Node

0.600

History Node

0.501

History Node

0.500

History Node

0.402

History Node

0.401

History Node

0.399

History Node

0.4

History Node

0.3

History Node

0.2

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
authres-0.900.tar.gz (20.2 kB) Copy SHA256 Checksum SHA256 Source Dec 11, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting