base64io
A stream implementation for Python that provides transparent base64
...This project is designed to develop a class, :class:`base64io.Base64IO`, that implements a streaming interface for Base64 encoding. Python has supported native Base64 encoding since version 2.4. However, there is no streaming interface for Base64 encoding, and none is available from the community. The legacy base64.encode and base64.decode interface lets you shuffle data between two streams, but it assumes that you have two complete streams. We wanted a standard stream that applies Base64 encoding and decoding. :class:`base64io.Base64IO` provides an io streaming interface with context manager support that transparently Base64-encodes data read from it. ...