This module (authres) is designed to provide support for RFC 5451,
http://tools.ietf.org/html/rfc5451, processing in Python.
Currently it only supports header creation. If proper (RFC compliant input
is provided, it should provide an RFC compliant header. Some input validation
is implemented, but it is by no means complete. API for the class is
described in the docstrings. Between that and the RFC it should be reasonably
clear.
Header folding (and thus doctests) does not currently work with python3.
This is completely untested on Windows, but in theory should work.