A stream implementation for Python that provides transparent base64
...:class:`base64io.Base64IO` provides an io streaming interface with context manager support that transparently Base64-encodes data read from it. You can use it to transform largefiles without caching the entire context in memory or to transform an existing stream.